Description Usage Arguments Value
returns choice_prob (probability choosing lottery) or choice (binary) from the simulated three-agent rho-sigma agent
1 2 3 4 5 6 7 8 | rho_sigma_agent(
prob = FALSE,
params,
sb_mag,
lottery_mag,
lottery_prob,
total_rew_multi
)
|
prob: |
Boolean, if true returns choice_prob |
params: |
a list as in list('rho' = 1, 'sigma' = 0.4, 'omega' = c(0.8, 0.1, 0.1)) |
sb_mag: |
a vector of n_trials with surebet magnitude |
lottery_mag: |
a vector of n_trials with lottery magnitude |
lottery_prob: |
a vector of n_trials with lottery probability |
total_rew_multi: |
a vector of n_trials with total reward multiplier |
a vector of n_trials with choice_prob or choice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.