standardized_estimates.modsem_da: Get standardized estimates with Monte Carlo bootstrapped...

View source: R/generics_modsem_da.R

standardized_estimates.modsem_daR Documentation

Get standardized estimates with Monte Carlo bootstrapped standard errors

Description

Get standardized estimates with Monte Carlo bootstrapped standard errors

Usage

## S3 method for class 'modsem_da'
standardized_estimates(
  object,
  monte.carlo = FALSE,
  mc.reps = 10000,
  tolerance.zero = 1e-10,
  ...
)

Arguments

object

An object of class modsem_da

monte.carlo

Should standard errors be calculated using Monte Carlo simulation. if FALSE the delta method is used instead. Default is FALSE.

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

Details

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.


modsem documentation built on June 13, 2025, 9:08 a.m.