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

Re: st: prediction


From   [email protected]
To   [email protected]
Subject   Re: st: prediction
Date   Fri, 5 Aug 2005 17:28:11 +0100

My first impression of this is that it doesn't make sense. But then I 
thought perhaps there are times when you want to do this. Say if your 
sample consists of 70% men and 30% female, and you know that y differ 
between male and female. But you want to give an 'average' estimate of y 
ignoring sex. 

If that is what you want, then perhaps (I haven't tried this) you can 
change your dummy to 0.5 for everyone, and then do predict. 

Tell me if I'm wrong. 

Tim




Raymond <[email protected]> 
Sent by: [email protected]
05/08/2005 16:56
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: st: prediction






if I run a regression without the dummies, then the coefficients of
the rest variables will be different.
What I need to do is using the coefficient of the independent
variables calculated while gender is included to estimated the
dependent variable while gender is exluded from the prediction
equation.
I'm not sure whether I have made myself clear

On 8/5/05, Richard Williams <[email protected]> wrote:
> At 11:47 AM 8/5/2005 -0400, Raymond wrote:
> >Hi, All,
> >I need to do prediction of the dependent variable while assuming the
> >effects of dummies from a categorical independent variable is zero.
> >Does anyone know how to do it in Stata?
> >Thanks much!
> 
> Well, couldn't you just run a regression where the dummies are excluded
> from the model?  Perhaps I misunderstand your problem, and if so maybe 
you
> can clarify.
> 
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> FAX:    (574)288-4373
> HOME:   (574)289-5227
> EMAIL:  [email protected]
> WWW (personal):    http://www.nd.edu/~rwilliam
> WWW (department):    http://www.nd.edu/~soc
> 
> *
> *   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/
>

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


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index