Description Usage Arguments Value Author(s)
generates data from a random intercept linear mixed models with only intercepts: y_{rij} = β_r + b_{ri} + ε_{rij}
1 2 | gen.multi.lin.mixed(sigma2, D, mu, num.clust, clust.size, num.var,
seed = 123)
|
sigma2 |
error variance |
D |
random intercepts covariance matrix |
mu |
fixed effects values, the same length as num.var |
num.clust |
sample size |
clust.size |
cluster size |
num.var |
number of response variables |
seed |
a seed |
prepared dataset
Vahid Nassiri
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.