[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: dummy independent variables: deviations from overall mean
Try either -desmat- or -xi3-, both will let you use the deviation
--- Christer.Thrane@hil.no wrote:
> Consider the usual OLS regression in which two dummies reperesnent
> three-category categorical independent variable:
> lny = a + b1x1 + b2x2 + b3x3 + e
> lny = log of dep var
> x1 = dummy 1
> x2 = dummy 2
> x3 = continious control variable
> In the ususal framework, the coefficients b1 and b2 are the
> differene in
> percentages (roughly) between the categories in the regression and
> omitted category (i.e. the constant).
> Instead, following Kennedy (1986), I want to get how all three
> deviate from the overall mean of lny. That is, this procedure
> allows for
> the estimation of all three dummies, and not just two.
> Has anyone written a semi-canned procedure for this in Stata?
> Thanks in advance.
> Christer Thrane, dr.polit.
> Associate Professor, Sociology
> Department of Social Science
> Lillehammer University College
> 2626 Lillehammer, Norway
> + 47 61 28 81 70 (fax)
> + 47 61 28 82 47 (phone, work)
> + 47 61 25 68 44 (phone, home)
> + 47 92 29 54 39 (mobile)
> E-mail, work: email@example.com
> E-mail, home: firstname.lastname@example.org
> Kennedy, P. (1986): Interpreting Dummy Variables. The Review of
> and Statistics. 68, 174-175.
> * 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/
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
* For searches and help try: