Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73188

Exporting reg tables with interaction term

$
0
0
Hello,

I hope someone can assist me with an issue. I'm using World Values Survey data to explore the correlation between religious affiliation and economic attitudes, I am using interaction terms to examine how the effect differs across various religions.

I've used the eststo and esttab commands to create tables for my main results. However, when I attempt to apply the same approach to interaction terms, I am struggling to figure out how to correctly use the keep() and drop() options with these variables in "eststo."
I've attached an example of the table I'm trying to recreate and my regression code. I would really appreciate any guidance on how to handle this and create a similar table with interaction terms.

Thanks in advance for your help!

reg trust_people health male age education social_class income atheist roman_catholic##(c.religiosity_index actively_religious currently_religious) protestant##(c.religiosity_index actively_religious currently_religious) jew##(c.religiosity_index actively_religious currently_religious) muslim##(c.religiosity_index actively_religious currently_religious) hindu##(c.religiosity_index actively_religious currently_religious) buddhist##(c.religiosity_index actively_religious currently_religious) orthodox##(c.religiosity_index actively_religious currently_religious) i.S003(country) i.S020(year)

Regards,
Ibrahim


Viewing all articles
Browse latest Browse all 73188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>