Hi,
Say you have an incidence rate in PYs.
Suppose the variable is called MENNO = number of cases of meningitis
And you have another variable called PYTOTAL = total person years of study
1. How do you program, in SAS, the incidence rate in person-years? (IR in PYs)
2. How do you program a 95% CI of the IR in PYs?
3. How do you program the IR in PYs after confounding, say for age, sex, race?
I don't have any data yet. But I NEED to know the programming steps for these 3 questions and can't find them on the internet.
I suck at macros at this point, too.
Please help!
Kate
It's hard to give code without being able to reference an actual data set.
But, for example, take this part of your question
1. How do you program, in SAS, the incidence rate in person-years? (IR in PYs)
If you had to do this without a computer, in other words, do it in your head, or pencil and paper, what are the calculations?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.