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

Re: st: prediction


From   Raymond <statasas@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: prediction
Date   Fri, 5 Aug 2005 12:36:47 -0400

I think we are talking about different things.
whant I want to do is predict the dependent values just using part of
the effects from
left hand side of the equation while not changing the values of the
effects estimated
from the "whole" model.


On 8/5/05, Timothy.Mak@iop.kcl.ac.uk <Timothy.Mak@iop.kcl.ac.uk> wrote:
> 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 <statasas@gmail.com>
> Sent by: owner-statalist@hsphsun2.harvard.edu
> 05/08/2005 16:56
> Please respond to
> statalist@hsphsun2.harvard.edu
> 
> 
> To
> statalist@hsphsun2.harvard.edu
> 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 <Richard.A.Williams.5@nd.edu> 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:  Richard.A.Williams.5@ND.Edu
> > 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/
>

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