Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Is there a way to center factor variables
From
Sami Alameen <[email protected]>
To
[email protected]
Subject
st: Is there a way to center factor variables
Date
Sat, 19 Nov 2011 18:57:29 +0200
If using the grunfeld standard data in Stata and running:
use grunfeld
reg invest kstock mvalue i.company i.time
is there a way to make Stata use all members in company and constrain
there coefficient to sum up to ZERO, and so the constant becomes the
grand mean and not the base category. Things even look harder with
time effect as well.
Sami
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/