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

Re: st: Predicted value and dummy explantory variables


From   "Clive Nicholas" <Clive.Nicholas@newcastle.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Predicted value and dummy explantory variables
Date   Tue, 15 Mar 2005 03:30:55 -0000 (GMT)

Dawat Lidia wrote:

> I am estimating OLS regression model. From this I was trying to estimate
> the
> predicted value holding regressors at their mean value. But I am not clear
> if I can also hold dummy regressors at their means value. Is it
> justifiable
> to put dummy explantory variables at their mean value and obtain the
> predicted value ?

No, it isn't: how can it be? If your dummy variable is gender, how can it
possibly make sense to estimate the effect of being 0.47 of a male on
whatever the response of interest is?

A quick solution to your problem is to pop along to -whelp adjust-. There
you'll find that you can hold your continuous predictor and covariate
variables at their means (if you desire), whilst setting your dummies at 0
or 1 (or both, if you choose to -adjust- twice).

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: clive.nicholas@ncl.ac.uk
Newcastle University  |http://www.ncl.ac.uk/geps

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