You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
614 B
Plaintext

local path_data = "/home/corentin/Documents/These/Recherche/Simulations/Data/NoDIF/N100"
import delim "`path_data'/scenario_4A_100.csv", encoding(ISO-8859-2) case(preserve) clear
keep if replication==1
rename TT tt
gsem (1.item1 <- THETA@1)(2.item1 <- THETA@2)(3.item1 <- THETA@3)///
(1.item2 <- THETA@1)(2.item2 <- THETA@2)(3.item2 <- THETA@3)///
(1.item3 <- THETA@1)(2.item3 <- THETA@2)(3.item3 <- THETA@3)///
(1.item4 <- THETA@1)(2.item4 <- THETA@2)(3.item4 <- THETA@3)///
(THETA <- tt), mlogit tol(0.01) iterate(500) latent(THETA) nocapslatent
pcm item1 item2 item3 item4 item5 item6 item7, categorical(tt)