Description Usage Arguments Value
Produce a Gibbs sample of environment process and state process of a subject
1 | sample_et_st(rt, wb_shape, wb_scale, p, q, e_stat, s_stat, ntrial, nstate, nenv)
|
rt |
a vector of response time sequence of a subject |
wb_shape |
current update of Weibull shape parameter |
wb_scale |
a vector of current update of Weibull scale parameters in all states |
p |
an array of current update of transition matrices of state process |
q |
a matrix of current update of transition matrix of environment process |
e_stat |
a vector of current update of stationary distribution of environment process |
s_stat |
a vector of current update of stationary distribution of state process |
ntrial |
total number of trials |
nstate |
total number of states |
nenv |
total number of environments |
A list with the following components:
et |
a vector of Gibbs sample of environment process |
st |
a vector of Gibbs sample of state process |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.