J. Doe
J. Doe

Reputation: 1740

lavaan - fixing standardized parameter values

In lavaan if we would want to test if a certain parameter is greater than 0.6 we would use:

fit.model.free <- '
F1 =~ V1 + V2 +V3
F1 ~~ F1
' %>% cfa(data)

fit.model.fix <- '
F1 =~ 0.6*V1 + V2 +V3
F1 ~~ F1
' %>% cfa(data)

anova(fit.model.free, fit.model.fix)

But what if I'm actually interested to see if the standardized parameter is greater than 0.6? What code should I use to specify such a model?

Upvotes: 0

Views: 340

Answers (1)

Ed Rigdon
Ed Rigdon

Reputation: 136

To standardize the loading, you need both the observed variable and the common factor to be standardized. You can do this with options on the cfa() call:

std.ov=T # standardizes observed variables std.lv=T # standardizes the common factors

Then the .60 in your second model will be a standardized loading.

Upvotes: 2

Related Questions