b_samp | R Documentation |
Sample subject specific random effects
b_samp(Omega, beta, R, theta, X, q, Z, ZtZ, N)
Omega |
current covariance matrix |
beta |
current fixed effect coefficients vector |
R |
component of current outcome vector (Y.I=cos(theta)*R, Y.II=sin(theta)*R) |
X |
design matrix model parameters (differs per person) |
q |
dimension Z(number of random effects) |
Z |
design matrix for random effects (differs per person) |
ZtZ |
transpose(Z)*Z |
N |
sample size at second level |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.