Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: [Why does Stata drop an additional category?]


From   Richard Williams <Richard.A.Williams.5@nd.edu>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: [Why does Stata drop an additional category?]
Date   Tue, 17 Feb 2004 09:48:48 -0500

At 08:26 AM 2/17/2004 -0500, Marcello Pagano wrote:
I am posting this for Yaojun. I have left off the SPSS output which is a Word file. Anyone want it, please contact Yajun (y.li.3@bham.ac.uk) or me, directly.

m.p.

Dear all,

I would like to ask you for advice. I am doing a logit on unemployment
and my independent variables are:

religion 1=Protestant; 2=Catholic; 3=None
cath 1=Catholic; 0=Other
educ5 1=Degree; 2=Prof below degree; 3=A Levels; 4=O Levels;
5=None
e5c -2=None; -1=O Level; 0=A Levels; 1=Prof below degree;
2=Degree

gen cath=religion==2 if religion<=3
char religion[omit] 1 /* Protestants =base*/
char educ5[omit] 5 /* None/Prim =base*/
Looking at your message again, I think I misdiagnosed the problem, as you are already using the char command (although for religion, SPSS's default would be to use "None" as the reference, and for Cath the default reference would be Catholic). So now I am wondering about this e5c variable; is it basically just a recoded educ5, e.g. ec5 = 3 - educ5? If so, that might account for the seeming problem.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index