Hi there,
I ran xtreg and tried to save the results from a post estimation bootest command to a latex table via estout but cannot get it to work. The entry for the confidence intervals is empty (i have tried many variants of the code below):
How can I generate a table where the main body includes such extra results (in addition to the betas etc)?
I ran xtreg and tried to save the results from a post estimation bootest command to a latex table via estout but cannot get it to work. The entry for the confidence intervals is empty (i have tried many variants of the code below):
Code:
quietly eststo: xtreg y x1 x2, fe estadd scalar R = 100*(e(r2)) estadd scalar Nobs = e(N) boottest {x1} {x2}, boottype(wild) weight (rademacher) seed(1) cluster(countryId) level(95) nograph matrix ci_temp = r(CI_2) scalar boot_ci_lb_temp = ci_temp[1,1] scalar boot_ci_ub_temp = ci_temp[1,2] estadd scalar boot_ci_lb = boot_ci_lb_temp estadd scalar boot_ci_ub = boot_ci_ub_temp esttab using "Panel_Regression.tex", replace /// cells(b /// boot_ci_lb(fmt(a3) par(`"["' `","')) /// & boot_ci_ub(fmt(a3) par(`""' `"]"')))
Comment