scavar | R Documentation |
Function scales variances of each item in model. To get scaled variances for latent variables, run the original model again, but fix each item with the scaled variance provided by this function.
scavar(LambdaMatrix, col)
LambdaMatrix |
get LambdaMatrix directly from your lavaan object (fit_model <- sem(model, ...)). LambdaMatrix <- lavInspect(fit_model, what = "std.all") |
col |
select column for which latent variable the variances should be scaled. scavar(LambdaMatrix$lambda, 2) |
Scaling variances makes values comparable.
List of the scaled varaince for each item is returned.
Helene M. von Gugelberg
Schweizer, K., & Troche, S. (2019). The EV scaling method for variances of latent variables. Methodology.
function (LambdaMatrix, col)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.