View source: R/calc_exp_l2var.R
calc_exp_l2var | R Documentation |
calc_exp_l2var
calc_exp_l2var( .pct_mobile = 0, .clust_cov = c(0.8, 1), .wt_vec = c(0.5, 0.5), .u_resid_var = 0.2, .gamma_z = 1 )
.clust_cov |
Numeric vector. The first element of the vector gives the
variance of all schools' predictors, z. If present, the second element gives
the covariance of z between schools k and k + 1. The values given in
|
.wt_vec |
A numeric vector with length equal to the maximum number
of schools attended by students in the data (in this simulation, the
maximum number is 2). The values in |
.u_resid_var |
Numeric scalar. Gives the residual variance of u0j (i.e., the variance unexplained after controlling for the school-level predictor, z). |
.gamma_z |
Numeric scalar. The school-level effect of the
|
A numeric scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.