Closed mattansb closed 5 years ago
Yes, summary()
and parameterEstimates()
return SEs and tests for unstandardized coefficients. The class?lavaan
and ?parameterEstimates
help pages never claim that standardized=TRUE
returns anything except standardized coefficients. Only the ?standardizedSolution
says it returns SEs for standardized coefficients. Typically, the standardized solution is used for effect sizes, not NHST, since the model does not estimate standardized parameters (it is just a post-hoc transformation).
Good point - thanks!
If possible, I think it would be helpful to explicitly add this in the class?lavaan
help that
"If
standardized=TRUE
, the standardized solution is also printed (SEs and tests are based on the unstandardized solution).
Some people (myself included) might find this helpful with the interpretation of the results (if for instance they are using lavaan
to conduct a dominance analysis).
Thanks again!
Merged in lavaan 0.6-3.1313
It seems that
summary(fit)
significance test are based on the un-standardized data, even whenstandardized = T
. Perhaps this should be mentioned explicitly? Or give the option to have them be based on the standardized data?Simulate data
We (w/ @almogsi) simulated a tri-variate data set, with two uncorrelated variables that are correlated to a third variable. To start, all variables will be centered at 0 (
mu
) and scaled to 1 (diagonal ofSigma
):Then re scaled
V2
to increase it's slope when predictingV1
:Just to make sure, looked that the correlation matrix (should be the same as
Sigma
):and the covariance matrix (should only be different in the scale of
V2
):Fit
lavaan
modelIf
diff
is computed on the standardized coefficients, we expect it to be 0.If
diff
is computed on the unstandardized coefficients, we expect it to not 0.We can see that the
Estimate
ofdiff
is non-zero, implying that it was computed on the non-standardized coefficients. BUT we also see that theStd.all
ofdiff
is 0, implying that it was computed on the standardized coefficients.What about the significance test?
We can see that we get two different z-tests, depending on the type of estimates we get. It seems that the test results returned from
summary()
are based on theparameterEstimates()
function, and thus based on the unstandardized results.