Simulate SPLT data

simulate_splt_data(splt_structure, mu_xi, mu_b, mu_eps, mu_rho)

Arguments

splt_structure

a list, as returned from make_task_structure_from_data

mu_xi

a vector of length splt_structure$K of population means for \(\xi\)

mu_b

a vector of length splt_structure$K of population means for \(b\)

mu_eps

a vector of length splt_structure$K of population means for \(\epsilon\)

mu_rho

a vector of length splt_structure$K of population means for \(\rho\)

Value

a list with simulated behavior where element press_right is 0 if the simulation chose 'left' and 1 if it chose 'right'; and where element outcome_realized contains the value for each trial that resulted from the choice.