Skip to contents

Fit the Simple Mediation Model using Normal Theory Maximum Likelihood (Indirect Effect)

Usage

FitModelIndirect(data_complete, consistent = TRUE)

Arguments

data_complete

Numeric matrix. Output of the GenData function or a three-column data set with complete data.

consistent

Logical. If consistent = TRUE, use the consistent estimate of the covariance matrix (maximum likelihood estimator). If consistent = FALSE, use the unbiased estimate of the covariance matrix.

Value

Returns the indirect effect.

See also

Other Model Fitting Functions: FitModelMI(), FitModelML()

Author

Ivan Jacob Agaloos Pesigan