Hello everyone, I seem to be having some trouble with esttab. Any idea why my statistic is loading in blank into the table? As you can see, Stata sees the e(r2_a) ... but it's not loading the value into the table cell. Can someone tell me what I'm doing wrong?
Stata Command Window:
But then I get the follow table in test.txt...
Code:
di e(r2_a)
esttab tfk_total_pctd_Trips_pp ///
using "$DIR_RESULTS\test", replace nogaps /// .csv
mtitles("% Trips/Pers.") ///
varwidth(20) modelwidth(40) ///
starlevels(* .05 ** .01 *** 0.001) ///
stats(N N_clust r2_a) //
Code:
. di e(r2_a)
.24608608
.
. esttab tfk_total_pctd_Trips_pp ///
> using "$DIR_RESULTS\test", replace nogaps /// .csv
> mtitles("% Trips/Pers.") ///
> varwidth(20) modelwidth(40) ///
> starlevels(* .05 ** .01 *** 0.001) ///
> stats(N N_clust r2_a) //
(output written to C:\_GitHub-Repos\VC2-Stata\1-Rev\Results\test.txt)
Code:
----------------------------------------------------------------
(1)
% Trips/Pers.
----------------------------------------------------------------
pctd_Trips_pp_hat 1.013***
(0.00392)
Shutdown 0.126*
(0.0604)
Testing_Cap -0.00144
(0.000912)
Pct_hospUtil -5.352***
(1.171)
Unemp_Claims_p1k -0.0000136
(0.000562)
SearchTrend_Covid 0.000528
(0.00109)
----------------------------------------------------------------
N 2805
N_clust 145
r2_a
----------------------------------------------------------------
Standard errors in parentheses
* p<.05, ** p<.01, *** p<0.001

Comment