I have a retrospective cohort study and I need to calculate incidence of disease within the population. I have time of first case and then also number of outcomes. Is there any easy way to calculate incidence with this information?
Look at PROC STDRATE.
I'm not sure that's the correct procedure as I'm not trying to standardize the rate between two populations. Is there another similar procedure?
I believe proc std rate will also give you the crude rate, which is essentially the incidence rate.
You don't need a proc for this, its a simple data step, but you do have to have your data in an appropriate format. So, if you need help with the data step, you should post a sample of what your data looks like and the output you need.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.