Hello everyone,
I would like to change the label for the number of observations when using esttab. For example, instead of showing simply "N" or "Observations", I would like it to show "Obs.". I have tried both of the following options, which is what seems logical from the help file and some forum posts I've found, but it does not work. It keeps giving me default "N".
Does anybody have an idea of how to approach this?
Thanks a lot!
I would like to change the label for the number of observations when using esttab. For example, instead of showing simply "N" or "Observations", I would like it to show "Obs.". I have tried both of the following options, which is what seems logical from the help file and some forum posts I've found, but it does not work. It keeps giving me default "N".
Does anybody have an idea of how to approach this?
Code:
quietly regress price mpg weight est store est1 //Approach a) esttab est1, /// cell( b(fmt(3)) /// se(par star) /// r_se(par([ ]) star pvalue(r_p)) /// ) /// star(* 0.10 ** 0.05 *** 0.01) /// keep(mpg) coeflabel(mpg "mileage" N "Obs.") //Approach b) esttab est1, /// cell( b(fmt(3)) /// se(par star) /// r_se(par([ ]) star pvalue(r_p)) /// N(label("Obs.")) /// ) /// star(* 0.10 ** 0.05 *** 0.01) /// keep(mpg) coeflabel(mpg "mileage")
Comment