asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Separate decimal points for p-values and OR [95% CI] in reg1 template of asdocx

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Hans Oh
    Participant
    Post count: 1

    Dear Dr. Shah,

    I’ve been enjoying asdocx, it has been working smoothly. One issue that has come up in using the template(reg1) is that when the p-values were extended to three decimal places, the OR [95%CI] appear to also have gone to three decimal places. Is there a way we can change the OR [95%CI] back to two decimal places?

    Best,

    Hans

    Dr. Attaullah Shah
    Keymaster
    Post count: 106

    Thanks for your feedback. In the reg1 template, the decimal points of the p-values can be controlled with the dect() option. For the rest of the table, you can use dec() option. See the following example

    sysuse auto, clear
    asdocx logit foreign price mpg trunk weight, template(reg1) replace dect(3) dec(2)
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.