Hi,
I have a syntaxfile in SPSS that I would like to replicate in Stata in order to be able to do some imputation. I think the syntax looks fairly simple, but I´m still not able to get the same results in Stata.
The problem is I get different N in SPSS and in Stata when I do the analyses.
The whole syntax in SPSS looks like this:
DATASET ACTIVATE DataSet3.
WEIGHT BY weight.
REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA CHANGE
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT Direct_Violence
/METHOD=ENTER gender threat political edu1 edu2 edu3 inc1 inc2 year03 year04 rel1 rel2 rel3 age.
I´m suspecting its either the missing listwise or the pin pout that gives me different results. Does anyone know what these commands are in stata?
Thankful for all the help I can get.
-Sophie
I have a syntaxfile in SPSS that I would like to replicate in Stata in order to be able to do some imputation. I think the syntax looks fairly simple, but I´m still not able to get the same results in Stata.
The problem is I get different N in SPSS and in Stata when I do the analyses.
The whole syntax in SPSS looks like this:
DATASET ACTIVATE DataSet3.
WEIGHT BY weight.
REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA CHANGE
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT Direct_Violence
/METHOD=ENTER gender threat political edu1 edu2 edu3 inc1 inc2 year03 year04 rel1 rel2 rel3 age.
I´m suspecting its either the missing listwise or the pin pout that gives me different results. Does anyone know what these commands are in stata?
Thankful for all the help I can get.
-Sophie
Comment