Thank you, Tom, for your explanation!
I have a large data set with a mix of continuous and categorical variables. For the first round of conversation among our team, I am preparing summary tables for our continuous and categorical variables. I copied the example tables below for the age of the participants as AGE_IN_YEARS and the age category of parents as AGE_GROUPS_PARENTS. Among the options you mentioned, I am using proc print. Basically, I save the output results in the output datasets:
ods output Summary=Output; for the continuous variables
ods output OneWay=Output; for the categorical variables
Then, use PROC PRINT to print the Output dataset in a Word file.
I am working to make a MACRO to avoid repetition. I would love to know if there is an easier way to do this.
Age [AGE_IN_YEARS] How old are you today? (years) Mean 12.25 Standard Deviation 1.17 95% CI 13.61%, 14.18% N 2500 Age category of parents [AGE_GROUPS_PARENTS] Age in categories. (years)
Frequency Percent 95% CI
16-25 years 515 20.8% 18.2%, 23.4% 26-35 years 526 21.3% 19.1%, 23.4% 36-45 years 453 18.3% 16.5%, 20.1% 46-55 years 491 19.8% 18.0%, 21.7% 56-65 years 490 19.8% 18.1%, 21.5%
... View more