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: RE: From: ma9545@bdvb.de


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: From: ma9545@bdvb.de
Date   Sat, 18 Aug 2012 22:47:15 -0700

Dear Mr. Anonymous (I assume that's what the MA stands for)
there's been quite a flap about anonymous posting.  Please repost with your real name.

________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu]
Sent: Saturday, August 18, 2012 11:13 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: From: ma9545@bdvb.de

Hi Statalist,

I want to generate a new variable containing the value of the
beta-coefficient for each country, each year. The dataset includes 81
countries for the period 2001-2007.

My regression looks like:
"reg performance firmvariables i.countryID i.year";

The problem I have is:
I have country-dummies and year dummies (using factor variable operator
i.). I want the beta-coefficient to be
calculated for each year AND each country. Based on the beta-coefficients
i will generate a new independant variable (country-year) for another
model. The new variable
should only have one value for each country and year. e.g.: a
betacoefficient value based on my regression model for Germany 2001,
Germany 2002, Germany 2003...USA 2001, USA 2002, USA 2003...

Thanks for any suggestion in advance,
MA

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