開始使用免費開始

建立四因子模型

WAIS-III 智力量表提出了四因子模型結構:語文理解、工作記憶、知覺統整,以及處理速度。你應該分析這個結構,以判定模型是否適配資料,且模型沒有問題。在這個練習中,你應該找出一個 Heywood 情況,這表示模型可能存在問題。

資料已為你載入為 IQdata。你可以用 head(IQdata) 檢視資料。

本練習屬於課程

在 R 中使用 lavaan 的結構方程模型

檢視課程

練習說明

  • 知覺統整應包含 piccompblockmatrixreason
  • 處理速度應包含 digsymsymbolsearch
  • 使用 cfa() 函式分析模型。
  • 使用 summary() 函式彙總模型。

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# 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(___)
編輯並執行程式碼