Announcement

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

  • Custom CI with Estout

    I am using the wonderful estout/esttab to produce LaTeX regression tables. My estimation procedure produces custom confidence intervals which are stored in e(CIL) and e(CIL). I can include these in my regression table with commands of the form
    Code:
    esttab, cell(b se "CIL CIU")
    However, I am unable to work out how to make them appear in a single cell like produced for normal confidence intervals (i.e. if i were to specify esttab, cell(ci)) and how to surround them with brackets and specify the number of digits, etc.

    I have struggled with this for longer than I care to think about by now, and I would be very grateful for any suggestions. (Or concrete information that this isn't possible)

  • #2
    Try
    Code:
    esttab, cell(b se CIL(par) & CIU(par)) incelldelimiter(", ")

    Comment


    • #3
      Many thanks. This is very helpful indeed and got me most of the way. In the end I used

      Code:
      "CIL(fmt(a2) par(zz )) & CIU(fmt(a2) par(nnnn yy))"
      and used the substitute command to replace zz nnnn and yy with brackets and parentheses as appropriate. Thanks again.

      Comment

      Working...
      X