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]

Re: st: Factor variables


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Factor variables
Date   Sun, 17 Feb 2013 16:47:13 -0500

I do not find this entirely clear; however, if you look at the help file
(-h fvvarlist-), under the "base levels" section, you will see that
"ibn." means "no base level" and this might be what you want

do realize, however, that you are changing the null hypotheses for your
tests

Rich

On 2/17/13 4:39 PM, M.H.Hussein wrote:
> 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