I'm having trouble making this information into SAS code but have no clue how to start? And was seeing if there is any possible way to get the mean and standard deviation for it as well? Would I have to enter the data individually in order to get each cell?
Table 1: Baseline characteristics of study of participants and the total usage of aspirin.
Use of Aspirin | ||
Characteristics | Number Participants | % total use of aspirin (% CI) |
Age Group |
|
|
18 – 64 | 6,181 | 65.9 |
65 | 11,803 | 75.0 |
Gender |
|
|
Male | 8518 | 76.2 |
Female | 9466 | 64.4 |
Race/Ethnicity |
|
|
White | 14,595 | 73 |
Black | 1,889 | 63 |
Hispanic | 398 | 55.6 |
Other | 1,102 | 64.7 |
Note: Chi-square tests will be used for categorical variables (indicated with a % in the table).
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.