1) Why are the results from -xtreg- and -margins- so different?
2) is there a way to combine the results from -margins- to create a table using -esttab- or some other command?
The following code only creates a table from estimates obtained from -xtreg-:
Code:
xtreg c.finr i.at3##i.vtype margins i.faith2##i.at3 estimates store s1 xtreg c.nonfinr i.at3##i.vtype margins i.faith2##i.at3 estimates store s2 xtreg c.assetr i.at3##i.vtype margins i.faith2##i.at3 estimates store s3 xtreg c.debt i.at3##i.vtype margins i.faith2##i.at3 estimates store s4 xtreg c.wealth2r i.at3##i.vtype margins i.faith2##i.at3 estimates store s5 esttab s1 s2 s3 s4 s5 using interactions.rtf, b(%10.0fc) star(* 0.10 ** 0.05 *** 0.01) varwidth(35) not nogaps label stats(N r2) /// compress replace nonumbers title("Interaction effects" ) mtitle("""")
Stata v.15.1. Using panel data.
0 Response to Obtain very different results using -xtreg- and -margins- / can I store the results from -margins- in a table
Post a Comment