Using two different datasets, I cannot get stata to give me comparable efa/sem results when using summary statistics vs. raw data. I am not sure what I am missing...
The raw data is from:
use http://www.stata-press.com/data/r15/sem_1fmm
The summary data and basic efa syntax are as follows:
clear
ssd init x1 x2 x3 x4
ssd set obs 500
ssd set correlations 1.0 \ .4537 1.0 \ .4491 .5091 1.0 \ .6525 .6801 .6975 1.0
ssd set means 99.518 99.954 99.052 94.474
ssd set sd 14.35402 14.1939 14.26395 70.11603
[OR]
clear
ssd init x1 x2 x3 x4
ssd set obs 500
ssd set means 99.518 99.954 99.052 94.474
ssd set sd 14.35402 14.1939 14.26395 70.11603
#delimit;
ssd set correlations
1.0 \
.4537 1.0 \
.4491 .5091 1.0 \
.6525 .6801 .6975 1.0 ;
#delimit cr
ssd status
ssd list
save "C:\Users\...\Desktop\_EFA.dta"
cd "C:\Users\...\Desktop"
use _EFA
factor x1-x4, ml factors(1)
*Question: what about using ssd or my code leads stata (v. 15.1) to produce not even remotely close results?
Related Posts with ssd sem results differ from raw data sem results stata
Estimate 2SLS with multi-level fixed-effects using ivregress vs reghdfe vs ivreghdfeHello Stata experts, at the moment I'm working on a project that requires the use of 2SLS method wi…
Marginsplot: Changing markers by categorical value along x-axisI am summarizing percentage estimates across cities graphically, using margins and marginsplot. Howe…
behavior of saved outputDear lister I am using Stata17 I want to save the output from 2 table commands in 2 matrixes. Afte…
Do Not Rank If ConditionHello, In the sample attached I have ranked var: tfr_lr in var: rank_tfr_lr I would like var: tfr_l…
dyndoc and css formatingHi all. I run the -dyndoc- command in stata15. I include in my code header and css codes. When I s…
Subscribe to:
Post Comments (Atom)
0 Response to ssd sem results differ from raw data sem results stata
Post a Comment