I have a problem in pubIishing the estimation tables using esttab as I am unable to store the statistics of the cgmreg.
When I attempt to store the estimates results using estso, it works but it only stores the coefficients but not the number of observation which results in publishing tables that have empty observations.
I highly appreciate your help.
My code is as follows:
xi: cgmreg neonatal commonlaw rural poor birthinterval i.v106 bord age_mother un_population_density_2015 mother_works malaria_prevalence_2015 land_surface_temperature_2015 aridity_2015 rainfall_2015 dhsyear distkm_sq if distkm<=200, cluster (cohort ethnicity)
eststo neo1
esttab neo1 neo2 neo3 using Neonatal.tex,label nonumbers ///
longtable nogaps p staraux starlevels( * 0.10 ** 0.05 *** 0.01) mtitles( "less than 200 Km" "less than 150 km" "less than 100 Km") compress title(\label{Table 3}Dependent Variable: Neonatal Mortality)
stats(N,fmt(%9.0fc)) addnotes("Standard errors are clustered at the ethnic and country level using the approach of Cameron, Gelbach, and Miller (2011)) replace // ///
Related Posts with cgmreg - storing the number of observations
Linearity assumption in LogisticHi statalist. I wonder during logistic regression, do I have to check linearity assumption between c…
Creating a variable: TRUE or FALSE based on date within two other dates for each participant of of which there are multiple ID valuesHello, my apologies for not using dataex. I am using healthcare data so I have created an example be…
Looping and importing excel sheetsHi all, I am importing 12 files from excel. These worksheets have common name starting from II1 to …
net install lpdensity, error r(677)Hi, I use rddensity in Stata and already have rddensity installed on my computer but then a error r…
Stacked/Bar Graphs for Multiple Categorical VariablesHello, I am examining socio-demographic differences in attitudes towards FGC practice. Here is an e…
Subscribe to:
Post Comments (Atom)
0 Response to cgmreg - storing the number of observations
Post a Comment