Hi,
I created a table using:
asdoc xtreg lnGDPper high_frac_dem low_frac_dem lag1_lnGDPper lag2_lnGDPper lag3_lnGDPper lag4_lnGDPper i.year, fe vce(cluster country), replace label nest tzok
But I want to suppress the output of the year fixed effects on my table. Also, I want to add [local TwowayFixedEffects "Yes"] and the p-value of:
ttest low_frac_dem == high_frac_dem
as a separate row in my table. In addition, as part of the following command,
asdoc ivreghdfe lnGDPper lag1_lnGDPper lag2_lnGDPper lag3_lnGDPper lag4_lnGDPper lnGDP_trans (high_frac_dem low_frac_dem = frac_iv3 frac_iv4), robust cluster (country) first, label nest tzok
I want to include the following as separate rows:
qui matrix A=e(first)
scalar R2first = A[3,1]
scalar Ffirst = A[4,1]
scalar R2first2 = A[3,2]
scalar Ffirst2 = A[4,2]
How do I do all the above efficiently using the asdoc command? I'm quite specific about asdoc as it neatly produces journal publications-compatible tables. Can someone please help?
Thank you for your time!
I created a table using:
asdoc xtreg lnGDPper high_frac_dem low_frac_dem lag1_lnGDPper lag2_lnGDPper lag3_lnGDPper lag4_lnGDPper i.year, fe vce(cluster country), replace label nest tzok
But I want to suppress the output of the year fixed effects on my table. Also, I want to add [local TwowayFixedEffects "Yes"] and the p-value of:
ttest low_frac_dem == high_frac_dem
as a separate row in my table. In addition, as part of the following command,
asdoc ivreghdfe lnGDPper lag1_lnGDPper lag2_lnGDPper lag3_lnGDPper lag4_lnGDPper lnGDP_trans (high_frac_dem low_frac_dem = frac_iv3 frac_iv4), robust cluster (country) first, label nest tzok
I want to include the following as separate rows:
qui matrix A=e(first)
scalar R2first = A[3,1]
scalar Ffirst = A[4,1]
scalar R2first2 = A[3,2]
scalar Ffirst2 = A[4,2]
How do I do all the above efficiently using the asdoc command? I'm quite specific about asdoc as it neatly produces journal publications-compatible tables. Can someone please help?
Thank you for your time!
Comment