seco_fit-deprecated: model fit for the second-order factor model,

seco_fit-deprecatedR Documentation

model fit for the second-order factor model,

Description

Fit indices and posterior predictive check for the higher-factor model: comparison between posterior sample of model implied covariance matrices and sample covariance matrix. Gray bars should enclose the black dots for good fit. Also prints fit indices, LR (likelihood-ratio), RMSEA, SRMR. The RMSEA is from Garnier-Villareal & Jorgensen (2020)

Usage

seco_fit(x, data, ppc = TRUE, cutoff = .08, ci = .90)

Arguments

x

A bomegas output object (list)

data

A matrix or data.frame containing the data set that produced x

ppc

A logical indicating if the PPC should be printed or not, the default is TRUE

cutoff

A value to compare the posterior sample of RMSEAs against. The result will contain the probability that the RMSEA is smaller than the cutoff value

ci

A value between 0 and 1 indicating the credible interval for the RMSEA

References

\insertRef

Garnier-Villarreal2020AdaptingFitIndicesBayesrel

See Also

Bayesrel-deprecated


Bayesrel documentation built on Aug. 9, 2023, 5:09 p.m.