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

st: RE: RE: reg with xi and if exp


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: reg with xi and if exp
Date   Thu, 29 Aug 2002 20:14:59 +0100

Plattner, Dankwart
>
> Dear Nick, dear Håkon,
> thank you very much for your helpful replies.
> The method Håkon suggested works, and it might also work to
> define instead
> another category of the variable as omitted.
> However, Nick, when I have another base category then
> r2==15 the problem
> with the dropped variables disappears: they are not any
> more dropped and
> have good explanatory power, as expected. Though I see your
> point I feel
> that the division of labour, as you call it so nicely,
> between xi and the
> reg command is not really helpful. At least it caused some
> headaches to me.

Normally it should not matter to a user how a command is
implemented. However, it seems that to understand
what you got, which was your question, it is
necessary to know that -xi- is a wrapper program
which does some preliminary processing of your
command before passing over to another command, in
your case -regress-.

I can't diagnose precisely why you got different results
in different circumstances.

Nick
n.j.cox@durham.ac.uk

*
*   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