MulaiMulai sekarang secara gratis

Creating CFA syntax from EFA results

The psych package provides the wrapper function structure.sem() to help you easily turn your EFA results into syntax that can be used to conduct a CFA using the sem() function in the sem package. This convenience function can save you a lot of time in writing that syntax, so feel free to use it if you agree with the results of your EFA.

Latihan ini adalah bagian dari kursus

Factor Analysis in R

Lihat Kursus

Petunjuk latihan

  • First, conduct a five-factor EFA on the EFA half of the bfi dataset.
  • Then, use the resulting model object as an argument to the structure.sem() function to set up the syntax.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Conduct a five-factor EFA on the EFA half of the dataset
EFA_model <- ___(bfi_EFA, nfactors = ___)

# Use the wrapper function to create syntax for use with the sem() function
EFA_syn <- ___(___)
Edit dan Jalankan Kode