Learn R Programming

simsem (version 0.2-8)

SimModelMIOut-class: Class "SimModelMIOut"

Description

This class will save the analysis results from a single analysis using multiple imputation.

Arguments

Objects from the Class

Objects can be created by run on the SimModel using multiple imputation. It can also be called from the form new("SimModelMIOut", ...).

Methods

  • summaryTo summarize the object
  • summaryParamTo summarize only parameter estimates, standard errors, and significance
  • anovafind the averages of model fit statistics and indices for nested models, as well as the differences of model fit indices among models. This function requires at least twoSimModelMIOutobjects. Seeanovafor further details.

See Also

  • SimModelfor analysis model
  • SimModelOutfor the original output model

Examples

Run this code
showClass("SimModelMIOut")
loading <- matrix(0, 6, 1)
loading[1:6, 1] <- NA
LX <- simMatrix(loading, 0.7)
RPH <- symMatrix(diag(1))
RTD <- symMatrix(diag(6))
CFA.Model <- simSetCFA(LY = LX, RPS = RPH, RTE = RTD)
SimData <- simData(CFA.Model, 500)
SimModel <- simModel(CFA.Model)
SimMissing <- simMissing(pmMCAR=0.05, numImps=5)
Data <- run(SimData)
Data <- run(SimMissing, Data)
Result <- run(SimModel, Data, SimMissing)
summary(Result)

Run the code above in your browser using DataLab