A Gibbs sampler for a projected normal mixed-effects model
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
theta_cos |
A List with the cosine of the circular dependent variable. |
theta_sin |
A List with the sine of the circular dependent variable. |
X1 |
A list of fixed effect model matrices for component I. |
X2 |
A list of fixed effect model matrices for component II. |
Z1 |
A list of random effect model matrices for component I. |
Z2 |
A list of random effect model matrices for component II. |
ZtZ1 |
A list of transformed random effect model matrices for component I. |
ZtZ2 |
A list of transformed random effect model matrices for component II. |
R |
A list of starting values for R. |
pred |
An empty list for likelihood computation. |
its |
An integer specifying the number of iterations |
lag |
An integer specifying the amount of lag. |
burn |
An integer specifying the number of burn-in iterations. |
N |
An integer specifying the number of burn-in iterations. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.