Exercise 4: Measurement — reliability, PCA, EFA, and CFA
Use data/employee_survey.csv.
- Reverse-code
leadership_4_reverseandengagement_4_reverse. - Estimate Cronbach’s alpha for the four leadership items.
- In one sentence, explain what alpha can and cannot establish.
- Select the 12 leadership, engagement, and role-clarity items and remove rows with missing item responses for this exercise.
- Split the complete cases into an exploratory half and a confirmatory half using
set.seed(2026). - Run PCA on the exploratory half and inspect the first three components.
- Run parallel analysis and a three-factor oblimin EFA.
- Identify the strongest item loading for each factor.
- Specify a three-factor CFA model in
lavaan. - Fit it in the confirmatory half using ordered indicators and WLSMV.
- Report CFI, TLI, RMSEA, and SRMR.
- Explain the difference among PCA, EFA, and CFA in three concise sentences.