Description Usage Arguments Value
compute_random_var computes the variance of the random effects see from raudenbush and bryk (2002) Hierarchial linear models, 2nd edition, EQUATION 14.10.
1 | compute_random_var(t2, units)
|
t2 |
A matrix with Complete Data Sufficient Statisticsof the random effects. |
units |
The total number of units (scalar). |
A matrix with variance of the random effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.