Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Esttab - unstack

    Dear all,

    I am using the user-written command esttab in Stata 14-MP to output results from a generalized negative binomial regression (gnbreg). Then, I am using the option "unstack" to get a table with two columns for each model : Column 1) regression estimate and Column 2) dispersion parameter. Is it possible to change the titles of these two columns? By default, the first column is entitled as the dependent variable, and the second one is entitled as "lnalpha". Here is my code for the esttab.

    Code:
    esttab e* using "${tables}section10\10_nb_c_`n'y.tex", ///
        mtitles("Full sample" "Domain 1" "Domain 2" "Domain 3") ///
        star(* 0.05 ** 0.01 *** 0.001) ///    
        cells(b(star fmt(3)label(Coef)) se(par fmt(2))) ///    
        scalars ("N Observations" "ll Log Likeli.") ///
        replace eform nonumbers ///
        drop(0.novkk_disc_dom_top10 0.comkkt2_b_dum) ///
        order (1.novkk_disc_dom_top10 1.comkkt2_b_dum nbkw) ///
        style(tex) collabels(none) booktabs unstack ///
        indicate ("Year dummies(10)= *year*" "Subdomain dummies(10)=d*") ///
        width(1\hsize)        ///
    Thanks in advance for the help.

  • #2
    Dear all,

    Any suggestions on this? Thanks.

    Comment

    Working...
    X