Hostname: page-component-76d6cb85b7-xh428 Total loading time: 0 Render date: 2026-07-13T17:21:26.300Z Has data issue: false hasContentIssue false

stratEst: a software package for strategy frequency estimation

Published online by Cambridge University Press:  17 January 2025

Fabian Dvorak*
Affiliation:
Centre for the Advanced Study of Collective Behaviour, University of Konstanz, Box 146, 78457 Konstanz, Germany
Rights & Permissions [Opens in a new window]

Abstract

stratEst is a software package for strategy frequency estimation in the freely available statistical computing environment R (R Development Core Team in R Foundation for Statistical Computing, Vienna, 2022). The package aims at minimizing the start-up costs of running the modern strategy frequency estimation techniques used in experimental economics. Strategy frequency estimation (Stahl and Wilson in J Econ Behav Organ 25: 309–327, 1994; Stahl and Wilson in Games Econ Behav, 10: 218–254, 1995) models the choices of participants in an economic experiment as a finite-mixture of individual decision strategies. The parameters of the model describe the associated behavior of each strategy and its frequency in the data. stratEst provides a convenient and flexible framework for strategy frequency estimation, allowing the user to customize, store and reuse sets of candidate strategies. The package includes useful functions for data processing and simulation, strategy programming, model estimation, parameter testing, model checking, and model selection.

Information

Type
Experimental Tools
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution (CC-BY) license (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
Copyright © The Author(s) 2023
Figure 0

Fig. 1 Stage game of Dal Bó and Fréchette (2011). The stage game features two choices, cooperation (c) and defection (d). R varies across experimental treatments and is either 32, 40, or 48

Figure 1

Fig. 2 The strategy Tit-For-Tat. Left part shows the strategy TFT printed to the R console. Rows represent the two states of the automaton. Columns show the defection, cooperation and tremble probabilities in each state, as well as the deterministic state transitions between states. Right part shows the graphical representation of TFT. States are depicted as nodes, deterministic state transitions as arrows between nodes. Colors indicate the predicted action in each state

Figure 2

Fig. 3 The strategy Semi-Grim. Left part shows the strategy SGRIM printed to the R console. Rows represent the three states of the automaton. Columns show the defection, cooperation and tremble probabilities in each state, as well as the deterministic state transitions between states. Right part shows the graphic representation of SGRIM. States are depicted as nodes, deterministic state transitions as arrows between nodes. Colors indicate the predicted action in each state

Figure 3

Fig. 4 stratEst workflow

Supplementary material: File

Dvorak supplementary material

Dvorak supplementary material
Download Dvorak supplementary material(File)
File 100 KB