calc_var_within {lsasim} | R Documentation |
Calculate variance within classes
Description
Calculate variance within classes
Usage
calc_var_within(n_j, s2_j, M, N)
Arguments
n_j |
number of elements in class j |
s2_j |
variance of all elements in class j |
M |
total sample size |
N |
number of classes j |
References
Snijders, T. A. B., & Bosker, R. J. (1999). Multilevel Analysis. Sage Publications.
See Also
anova.lsasimcluster
[Package lsasim version 2.1.5 Index]