I have the following questions regarding template(reg1):
When I output it to Excel using the following code, I do not get a comma (,) or hyphen (-) between the confidence intervals. Is there a way to add those to the outputs?
Is there a way to change the decimal places for different columns. Usually, the ORs and CIs are reported to two decimal places and the P-value to 3 decimal places. I get around this by creating two files, one with dec(2) and one with dec(3) and combining them, so it isn’t an issue like 1) is but thought I would bring it to your attention.
Thank you again for your help and excellent program. I will be certain to cite it in upcoming work.
Dear Dr Adam Hill. Please update asdocx with asdocx_update
I have fixed the two mentioned issues. For reporting desired decimal places with the column of p-values, you can use the option dect(). The option dec() can be used to control decimal places in other parts of the table.