View source: R/generics_modsem_da.R
standardized_estimates.modsem_da | R Documentation |
Get standardized estimates with Monte Carlo bootstrapped standard errors
## S3 method for class 'modsem_da'
standardized_estimates(
object,
monte.carlo = FALSE,
mc.reps = 10000,
tolerance.zero = 1e-10,
...
)
object |
An object of class |
monte.carlo |
Should standard errors be calculated using Monte Carlo simulation.
if |
mc.reps |
Number of Monte Carlo repetitions |
tolerance.zero |
Tolerance for zero values. Standard errors smaller than this value will be set to NA. |
... |
Additional arguments passed to other functions |
The interaction term is not standardized such that var(xz) = 1
.
The interaction term is not an actual variable in the model, meaning that it does not
have a variance. It must therefore be calculated from the other parameters in the model.
Assuming normality and zero-means, the variance is calculated as
var(xz) = var(x) * var(z) + cov(x, z)^2
. Thus setting the variance of the interaction
term to 1 would only be 'correct' if the correlation between x
and z
is zero.
This means that the standardized estimates for the interaction term will
be different from those using lavaan
, since there the interaction term is an
actual latent variable in the model, with a standardized variance of 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.