MulaiMulai sekarang secara gratis

Create a Four-Factor Model

The WAIS-III IQ scale has a proposed four-factor model structure with verbal comprehension, working memory, perceptual organization, and processing speed. You should analyze this structure to determine if the model fits the data and that there are no problems with the model. In this exercise, you should find a Heywood case that indicates potential problems with the model.

The data has been loaded for you and is called IQdata. You can view the data using head(IQdata).

Latihan ini adalah bagian dari kursus

Structural Equation Modeling with lavaan in R

Lihat Kursus

Petunjuk latihan

  • Perceptual organization should include piccomp, block, and matrixreason.
  • Processing speed should include digsym and symbolsearch.
  • Analyze the model with the cfa() function.
  • Summarize the model with the summary() function.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Build a four-factor model
wais.model <- 'verbalcomp =~ vocab + simil + inform + compreh 
workingmemory =~ arith + digspan + lnseq
perceptorg =~ ___
processing =~ ___'

# Analyze the model and include the data argument
wais.fit <- cfa(___)

# Summarize the model with fit.measures and standardized loadings
summary(___)
Edit dan Jalankan Kode