Announcement

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

  • disable automatic table numbering for esttab

    Hi,

    I am using esttab to generate latex tables.

    Basically, I run the following command

    Code:
    eststo: estpost summarize atq, detail
    esttab using "sumstat_firm.tex", replace lines cells("count(fmt(0)) mean(fmt(2)) sd(fmt(2)) p1(fmt(2)) p5(fmt(2)) p25(fmt(2)) p50(fmt(2)) p75(fmt(2)) p95(fmt(2)) p99(fmt(2))") nomtitle title("Firm Statistics 1988-2010") nonumber collabels("Nobs" "Mean" "SD" "1\%" "5\%" "25\%" "Median" "75\%" "95\%" "99\%") noobs label
    I obtain a latex table like this


    Code:
    \begin{table}[htbp]\centering
    
    \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
    
    \caption{Firm Statistics 1988-2010}
    
    \begin{tabular}{l*{1}{cccccccccc}}
    
    \hline\hline
    
    & Nobs& Mean& SD& 1\%& 5\%& 25\%& Median& 75\%& 95\%& 99\%\\
    
    \hline
    
    Assets (M \$) & 341341& 1609.43& 5024.70& 4.46& 11.62& 51.42& 176.20& 752.60& 7648.10& 36465.00\\
    \hline\hline
    
    \end{tabular}
    
    \end{table}
    I want to change \caption{Firm Statistics 1988-2010} to \caption*{Firm Statistics 1988-2010} using a esttab setting. I have not found anything on the esttab documentation that allows for this. Is there any way I disable the automatic caption numbering?






  • #2
    See the -substitute()- option. Note that estout is from SSC, as you are asked to explain in FAQ Advice #12.

    Comment

    Working...
    X