Description Usage Arguments Value
It acts on the primitives of the estimation problem and returns the Data
1 | generateData2(id, times, n, X, Z, betas, b, Q)
|
id |
individual number |
times |
one-dimensional array of time points |
n |
number of individuals |
X |
fixed effects design matrix. Usually includes an intercept and time. |
Z |
random effects design matrix. Usually includes an intercept and time |
betas |
the fixed effects parameters for the intercept and the slope. |
b |
the random effects taken from a multivariate normal with mean 0 and variance matrix D |
Q |
the number of items. Set this to four. |
Returns the generated Data as data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.