I am replicating a lifetime risk analysis that the CDC put out a few years ago regarding HIV infection among race and risk category. Currently the process uses a program called DEVCAN which was built for calculating lifetime cancer mortality. PROC LIFETEST is the only SAS procedure that is close to what I need.
Its looks as though PROC LIFETEST, for survival analysis starts with a cohort and follows that group over time. Well, I am conducting this for an entire state's population and don't have each citizen as an observation. Is there a way to calculate with LIFETEST using this data format:
AGE POPULATION RACE SEX RISK HIV_POS
1 8,000 White F None 5
2 9,000 White F None 0
3 10,000 White F None 0
.
.
85+ 13,000 White F None 7
1 8,000 Black M None 8
...Instead of having each line be an observation like i have seen in each paper and example so far?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.