Hello everyone. I try to follow the official example in estimating higher-order confirmatory factor analysis models.
I would like to predict the factor scores of Nonacad and use the following codes:
but it gives the error message
How should I get the factor scores?
Thanks,
Maggie
Code:
use http://www.stata-press.com/data/r13/sem_hcfa1, clear sem (Phys -> phyab1 phyab2 phyab3 phyab4) /// (Appear -> appear1 appear2 appear3 appear4) /// (Peer -> peerrel1 peerrel2 peerrel3 peerrel4) /// (Par -> parrel1 parrel2 parrel3 parrel4) /// (Nonacad -> Phys Appear Peer Par)
Code:
predict double fa_Nonacad, latent(Nonacad)
predict not possible with summary statistics data
r(198);
r(198);
Thanks,
Maggie
Comment