update_pk: update_pk

Description Usage Arguments Value Author(s) References

Description

Updates k-ToM's estimated probability of the opponent having each possible sophistication level.

Usage

1
update_pk(prev_hidden_states, choices, p_op_1_k_approx)

Arguments

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

Value

The updated level probabilities

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.