Learn R Programming

wsMed (version 1.0.2)

ThetaHatWrapper: Compute Updated Parameter Estimates for SEM Models

Description

A wrapper for the internal .ThetaHat() function from the semmcci package. This function computes updated parameter estimates for structural equation models (SEM) using pooled estimates from multiple imputations or Monte Carlo simulations.

Usage

ThetaHatWrapper(object, est = NULL)

Value

A numeric vector of updated parameter estimates.

Arguments

object

A fitted lavaan SEM model object.

est

A numeric vector of pooled parameter estimates, typically obtained from multiple imputations or Monte Carlo simulations.

Details

The function takes a fitted SEM model object and pooled parameter estimates to calculate the updated parameter values. It is particularly useful for combining results from multiple imputations or Monte Carlo samples to refine parameter estimates.

See Also

MCMI2(), RunMCMIAnalysis()

Examples

Run this code
NULL

Run the code above in your browser using DataLab