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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Factor variables


From   "M.H.Hussein" <mhh5@kentforlife.net>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Factor variables
Date   Sun, 17 Feb 2013 21:39:57 +0000

Hello Statalisters,

I am running the regression command line below which contains factor variables with interactions. The command line returns coefficients for all variables in the model when the indicator gt287=0 and interaction terms.

 xtreg  TCOST  i.gt287##c.P_O i.gt287##c.Y_TCOST10 i.gt287##c.enforcement10, fe


I would to obtain the estimates for coefficients when gt287=1 alongside above estimates, so that I can get standard errors and t statistics for all coefficients.

Could you tell me if this possible and if so how I can write the command to get all estimates in a single command line?

Thanks,
Mohamud
-- Kentforlife.net - the email service for alumni of the University of Kent


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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