CommencerCommencer gratuitement

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).

Cet exercice fait partie du cours

Structural Equation Modeling with lavaan in R

Afficher le cours

Instructions

  • 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.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# 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(___)
Modifier et exécuter le code