Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Is there a way to center factor variables


From   Sami Alameen <samialameen@gmail.com>
To   statalist@hsphsun2.harvard.edu
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index