I am conducting research to examine how the tone of a post on a social network site (e.g., how funny it is) and the social characteristics of the poster and a commenter predict the tone of a comment responding to the original post. I am using esttab to create a combined table to compare several regression tables. The esttab command correctly displays the t-test and stars for the regression with inteactions, but leaves the interaction coefficients blank.
Here are the origina regression commands and the esttab comment
The output of the regression that included post X gender interaction show coefficients for all the interactions.
However the output of esttab, which includes the regression with interaction, doesn't show the coefficients for the interactions. Coefficients for main effects and t-tests for the interactions do show.
Here are the origina regression commands and the esttab comment
Code:
eststo test_betareg_nc: reg hcomment_funny c.post_dv eststo test_betareg: reg hcomment_funny c.post_dv c.post_dv#(i.poster_gender i.commenter_gender i.poster_gender#commenter_gender) esttab test_betareg_nc test_betareg using human_nonsupport.html, wide star noomitted nobase label beta(%4.2f) staraux r2(%4.2f) pr2(%4.2f) ar2(%4.2f) bic(3) replace
Code:
. eststo test_betareg: reg hcomment_funny c.post_dv c.post_dv#(i.poster_gender i.commenter_gender i.poster_gender#commenter_gender)
Source SS df MS Number of obs = 10,000
F(4, 9995) = 613.66
Model 68.518336 4 17.129584 Prob > F = 0.0000
Residual 278.998173 9,995 .027913774 R-squared = 0.1972
Adj R-squared = 0.1968
Total 347.516509 9,999 .034755126 Root MSE = .16707
hcomment_funny Coefficient Std. err. t P>t [95% conf. interval]
post_dv .4915041 .0121793 40.36 0.000 .4676303 .5153779
poster_gender#c.post_dv
p_male -.0256989 .0221146 -1.16 0.245 -.069048 .0176501
commenter_gender#c.post_dv
c_male -.1113106 .0257975 -4.31 0.000 -.161879 -.0607423
poster_gender#commenter_gender#c.post_dv
p_male#c_male .1093427 .0365009 3.00 0.003 .0377936 .1808917
_cons .0658398 .0020153 32.67 0.000 .0618893 .0697902
Code:
. esttab test_betareg_nc test_betareg , wide star noomitted nobase label beta(%4.2f) staraux r2(%4.2f) pr2(%4.2f) ar2(%4.2f) bic(3) replace
------------------------------------------------------------------------------
(1) (2)
c_funny c_funny
------------------------------------------------------------------------------
post_dv 0.44 (49.32)*** 0.46 (40.36)***
p_male # post_dv (-1.16)
c_male # post_dv (-4.31)***
p_male # c_male # ~v (3.00)**
------------------------------------------------------------------------------
Observations 10000 10000
R-squared 0.20 0.20
Adjusted R-squared 0.20 0.20
Pseudo R-squared
BIC -7375.387 -7366.529
------------------------------------------------------------------------------
Standardized beta coefficients; t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001
Comment