I have this
mcfa<-
"impulsivity=~imp1r+imp2+imp3+imp4
physical=~phys1+phys2+phys3+phys4
risky=~risk1+risk2+risk3+risk4
selfish=~self1+self2+self3+self4
simple=~simp1+simp2+simp3+simp4r
temper=~temp1+temp2+temp3+temp4
control=~impulsivity+physical+risky+selfish+simple+temper"
where: the model is a second order CFA
the variables are dichotomic (0-1)
i'm using lavaan
and I would like to use polychoric
when I have the same items but polytomous i use
fitcfa <- cfa(mcfa, data = data_analisis)
summary(fitcfa, standardized = TRUE, fit.measure=TRUE)
standardizedSolution(fitcfa, type = "std.all")
anyone know what y should do to apply polychoric?
[[alternative HTML version deleted]]