Skip to contents

Compare (non-nested) models estimated on the same data using model-simulated data.

Usage

pmc_srmr(x, ..., reps = 20, ci = 0.95)

pmc(x, ..., reps = 20, ci = 0.95, FUN = NULL)

Arguments

x

An object for which a method exists.

...

Additional arguments.

reps

Number of data sets to simulate, Default: 100.

ci

Confidence interval coverage, Default: 0.95.

FUN

Function used to compare the real data (referred to as x) to the model-implied data (referred to as y). Defaults to NULL, which uses chi_sq() for models with all ordinal variables, and srmr() otherwise, treating all variables as continuous.

Value

A data.frame.