Hello,
I would like to format my graph output from the "papertab" extension to include two decimal places for all variables and standard deviations.
Currently, it only carries categorical variables two decimal places.
My problem is that I cannot convert the continuous variable means and standard deviations to two decimal places.
Current code that will not create two decimal places:
papertab $dollars c.continuous $covariates i.categorical i.post, ///
treatvar(var) outtable(C:\Table1_1.txt, ///
replace) pctfmt(%-9.2fc) star ///
title(Table 1#1)
Failed attempts:
I tried many different versions of the "pctfmt" based on the Stata guidebook and other online resources.
I also tried formatting all individual variables with "pctfmt".
It may be a limitation of the user-written "papertab" file but hope someone can solve this problem.
Many thanks in advance.
Ralph
I would like to format my graph output from the "papertab" extension to include two decimal places for all variables and standard deviations.
Currently, it only carries categorical variables two decimal places.
My problem is that I cannot convert the continuous variable means and standard deviations to two decimal places.
Current code that will not create two decimal places:
papertab $dollars c.continuous $covariates i.categorical i.post, ///
treatvar(var) outtable(C:\Table1_1.txt, ///
replace) pctfmt(%-9.2fc) star ///
title(Table 1#1)
Failed attempts:
I tried many different versions of the "pctfmt" based on the Stata guidebook and other online resources.
I also tried formatting all individual variables with "pctfmt".
It may be a limitation of the user-written "papertab" file but hope someone can solve this problem.
Many thanks in advance.
Ralph