Learn R Programming

OpenMx (version 2.21.13)

imxPPML.Test.Battery: imxPPML.Test.Battery

Description

PPML can be applied to a number of special cases. This function will test the given model for all of these special cases.

Usage

imxPPML.Test.Battery(
  model,
  verbose = FALSE,
  testMissingness = TRUE,
  testPermutations = TRUE,
  testEstimates = TRUE,
  testFakeLatents = TRUE,
  tolerances = c(0.001, 0.001, 0.001)
)

Arguments

model

the model to test

verbose

whether to print diagnostics

testMissingness

try with missingness

testPermutations

try with permutations

testEstimates

examine estimates

testFakeLatents

try with fake latents

tolerances

a vector of tolerances

Details

Requirements for model passed to this function: - Path-specified - Means vector must be present - Covariance data (with data means vector) - (Recommended) All error variances should be specified on the diagonal of the S matrix, and not as a latent with a loading only on to that manifest

Function will test across all permutations of: - Covariance vs Raw data - Means vector present vs Means vector absent - Path versus Matrix specification - All orders of permutations of latents with manifests