beta distribution worker class (handled as environment shared by epsilon and rho)
1 2 3 | betaFastSlow(w = NULL, alpha_slow = 1.01, beta_slow = 1.01,
alpha_fast = 1.01, beta_fast = 1.01, decay = 1, lastUpdateTrial = 1L,
local_RT_learning_rate = 0.1)
|
alpha_slow |
alpha shape parameter for slow (above average) RTs |
beta_slow |
beta shape parameter for slow RTs |
alpha_fast |
alpha parameter for fast RTs |
beta_fast |
beta parameter for fast RTs |
decay |
decay parameter (knowledge of fast and slow reward dists decays with time) |
lastUpdateTrial |
what is the latest trial number for which beta updates were computed (necessary because betas are shared by rho and epsilon – avoid double update) |
local_RT_learning_rate |
learning rate modulating running calculation of recent mean RT. |
w=NULL |
Shared workspace environment |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.