I'm trying to get an esttab table that looks like table 1 attached. specifically, i want the stars placed after the standard errors which are also placed after the coefficients, all in one horizontal line. However, whenever i run the code and specify wide format, it breaks the lines into two. each. as seen in table 2.
Here's my code, ran on state 16:
logit Approval_of_Protest GPDpc_PPP_log i.Religiousity_2
est store ModelA
xtmelogit Approval_of_Protest GPDpc_PPP_log i.Religiousity_2 || country:, cov(unstr)
est store ModelB
esttab ModelA ModelB using results.rtf, wide cells(b(fmt(3)) se(par fmt(2)star)) replace
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte Approval_of_Protest float GPDpc_PPP_log byte Religiousity_2 str48 country 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 0 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" .b 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 1 "Algeria" 1 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 0 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 0 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" .b 32.622215 1 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 .a "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" .b 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 2 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 0 "Algeria" 1 32.622215 1 "Algeria" .b 32.622215 .b "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 1 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" .b 32.622215 .b "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 1 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 0 "Algeria" 0 32.622215 1 "Algeria" .b 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" 0 32.622215 1 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 0 32.622215 2 "Algeria" 1 32.622215 2 "Algeria" end label values Approval_of_Protest Approval_of_Protest label def Approval_of_Protest 0 "No", modify label def Approval_of_Protest 1 "Yes", modify label values Religiousity_2 Religiousity_2 label def Religiousity_2 0 "Not Religious", modify label def Religiousity_2 1 "Somewhat Religious", modify label def Religiousity_2 2 "Highly Religious", modify
0 Response to How to place significant stars infront of standard errors but still maintain the wide format
Post a Comment