Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Interpretation of factor variables


From   "Yu Chen, PhD" <[email protected]>
To   [email protected]
Subject   st: Interpretation of factor variables
Date   Thu, 11 Jul 2013 19:00:22 +0800

Dear Statalist,
I have a dummy variable that takes values of one or zero, and a
continuous variable. I ran the following regression.
Dependent Variable (DV) = Dummy + Dummy*Continuous + other control
variables. I used factor variables (i.e., i.Dummy +
i.Dummy#c.Continuous )
I got results as below. My question is how should I interpret the two
lines below Dummy#c.Continuous? The first line shows a 0. I interpret
it as Dummy takes 0 for this line. However, if Dummy takes 0, the
whole term should be zero and should be eliminated from the results.
But Stata still gave me a Coef. What is going on?
Thank you in advance for your help.


------------------------------------------------------------------------------
        DV |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
Dummy#c.Continuous |
          0  |   31.54672   9.438251     3.34   0.001     13.04526    50.04818
          1  |   37.70141   7.609734     4.95   0.000     22.78433     52.6185
             |
Dummy |   .1026062   .1648457     0.62   0.534    -.2205349    .4257472


Yu Chen
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index