decision_function: decision_function

Description Usage Arguments Value Author(s) References

Description

k-ToM's decision function, where it calculates its own choice probability based on the updated estimates

Usage

1
decision_function(hidden_states, params, player, level, p_matrix)

Arguments

hidden_states

k-ToM's updated estimates

params

a list structure containing k-ToM's volatility and behavioural temperature parameters

player

k-ToM's player role, i.e. which side of the payoff matrix is used

level

k-ToM's sophistication level k

p_matrix

a given 2-by-2 payoff matrix

Value

k-ToM's own choice probability

Author(s)

K. Enevoldsen & P. Waade

References

Devaine et al. (2014a, 2014b, 2017)


KennethEnevoldsen/SiRToM documentation built on May 28, 2019, 9:32 a.m.