Announcement

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

  • Adding percentage symbol (%) into esttab table of descriptive statistics

    Hi all,

    I am using esttab to generate a table of descriptive statistics in latex format in Stata 16:

    code:
    Code:
    estpost tab recipient_grant D_batx
    eststo Table15
    
    esttab Table15 using "$results/tables/descriptives/grant_recipient.tex", replace ///
      cells("b(fmt(%13.0f)) pct(fmt(%13.2f))") nonumber ///
    nomtitle noobs label ///
    collab("Freq." "Percent")
    I would like to add the percentage symbol (%) in the pct descriptive statistic.

    I have tried the following, but it does not work:

    Code:
    Code:
    fmt(%9.2f\%%)
    What is the correct way of doing it?

    Thank you all in advance!

  • #2
    estout is from SSC (FAQ Advice #12). Does not sound like a good idea as the column labels would be redundant. I don't like duplicating information - and you could argue on the dismerits of having many percentage signs hanging around in the document. Anyway, provide a reproducible example (see the referenced FAQ Advice for details on how to do that).

    Comment

    Working...
    X