Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/