Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Question on -Areg- command


From   lena Lindahl <[email protected]>
To   [email protected]
Subject   st: Question on -Areg- command
Date   Thu, 02 Feb 2006 13:13:26 +0100

Hi!
I have a question on the -Areg- command.
In the STATA manual it is used in the following example:

areg mpg gratio, absorb(rep78).

I would like to run a regression with a very large amount of dummy variables.
Using the example, I would like to run the regression without the right hand side variable, gratio, and so only estimate the effect of the absorbed dummy variables represented by rep78. (I am only interested in the adj R2 value.) But it is not possible to leave out variable gratio, the error message states "varlist required".

Anyone who has an idea?

All the best/
Lena

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