| cfa_evar_near_zero {semlbci} | R Documentation |
Dataset (CFA, Two Factors, One Standardized Error Variance Close to Zero)
Description
Generated from a two-factor model, with one standardized error variance close to zero.
Usage
cfa_evar_near_zero
Format
A data frame with 120 rows and six variables, x1 to x6
Details
This model is used for examples like this one:
# If fitted by the following model, the standardized
# error variance of `x3` is close to zero.
# Consequently, the R-square of `x3` is close to one:
library(lavaan)
mod <- "f1 =~ x1 + x2 + x3
f2 =~ x4 + x5 + x6"
fit <- cfa(mod, cfa_evar_near_zero)
summary(fit, standardized = TRUE, rsquare = TRUE)
Examples
print(head(cfa_evar_near_zero), digits = 3)
nrow(cfa_evar_near_zero)
[Package semlbci version 0.11.2 Index]