Description Usage Arguments Value Author(s) References
Updates k-ToM's estimated probability of the opponent having each possible sophistication level.
1 | update_pk(prev_hidden_states, choices, p_op_1_k_approx)
|
prev_hidden_states |
A list structure containing the states of last trial |
choices |
a vector of 1 own choice and 2 opponent's choice from last round |
p_op_1_k_approx |
an approximated opponent choice probability form last round |
The updated level probabilities
K. Enevoldsen & P. Waade
Devaine et al. (2014a, 2014b, 2017)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.