Hi,

I want to compare how does use of drug "A" differs across age categories.

Total drug A users were 5100. The below table shows the number and percentage of users for each age category. I want to compare whether there is any difference in the use of drug A with regards to age? Do people younger than 49 years old have a significant drug use than people 65 years or older?
<49 1794/5100
(35.2%)
50-64 1102/5100
(21.6%)
≥65 1242/5100
(24.4%)
Missing 30/5100
(0.1%)











I'm not sure about the stata command to compare more than two categories. I would highly appreciate your thoughts!

Thank you in advance!

Thushani