Hello!
I am adding several scalars to my regression table and want different numbers of decimals for different scalars. Is there a way to do so?
Right now I am using "sfmt(%9.0fc)" which gives 0 decimals for all my added scalars.
Thanks a lot for helping!
Best,
Louise
My current code:
* Regression
eststo: rdrobust `var' sdate, c(0)
estadd scalar SE = e(se_tau_cl), replace
estadd scalar Obs = e(N_h_r) + e(N_h_l), replace
estadd scalar Bandwidth = e(h_r), replace
* Table
esttab using "$tables/reg_table_`var'.tex", ///
label nomtitles nonumbers width(\textwidth) nonote noobs nolines nogaps ///
fragment b(2) ci(3) star(* 0.10 ** 0.05 *** 0.01) ///
scalars(SE Obs Bandwidth) sfmt(%9.0fc) coeflabels(RD_Estimate "RD Estimate") replace
Related Posts with Different number of decimals for different scalars in esttab
When to use Tobit regression?Hallo, I have been recommended to use a Tobit regression because my independent variable is very ri…
How do I detect if I have problem with my degree of freedom due to too many categorical variables in my regression model?I am aware that having too many categorical variables in the regression model might affect degree of…
How to add title to xlineCan you help me how I can specify the vertical line while I am using "twoway connected" command to s…
Markov switching for panel dataI want to estimate a Markov switching model for an unsustainable fiscal regime and a sustainable fis…
Calculate the age when the grant was received from the current age and the year when the grant was receivedDear All, Can you help me with the following. I have collected the age (d4) for all the respondent…
Subscribe to:
Post Comments (Atom)
0 Response to Different number of decimals for different scalars in esttab
Post a Comment