Announcement

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

  • Put parentheses around all statistics in a column using frmttable

    Dear all,
    I am using the user-written command frmttable, written by John Luke Gallup. The command allows you to put parentheses/brackets around a "substatistic", i.e. a statistic that is placed below a main statistic (like a standard error below a coefficient). I'm trying to create a table that places confidence intervals in a column alongside a coefficient, and I'd like to put the confidence intervals in parentheses. My code is as follows:
    Code:
    mat dcols = (0,0,0,1,0,1,0)
    
    frmttable using "$dir1/stata files/article stata work/tables/itthh_main.tex", ///
    statmat(results) sdec(3,3,3,3,0) doubles(dcols) dbldiv(", ")  rt(`vars') ///
    ctitle("","","","","False coverage rate-",""\"","Control","Intent-to-treat","95\% confidence","adjusted 95\% confidence", "Observations"\"","group mean", "effect","interval","interval","") ///
    tex fragment replace
    Columns 4 and 5 hold double statistics that I'd like to place in parentheses. I've played around with the "brackets"option to no avail. I've also tried building up the table column by column, also to no avail. Any help would be appreciated.
Working...
X