Please can you provide base information. Such as if 1 year increase then risk increse XX amount
Please can you provide base information. Such as if 1 year increase then risk increse XX amount
Please follow the instructions for posting questions. Supply example data in a usable form (see my footnotes), the expected result, and the code you already tried.
I see that you have been advised about posting meaningful questions TWICE in your previous posts. Are you allergic to learning?
What you probably need is the average risk per age:
proc sql;
create table avg_risk as
select age, avg(risk)
from risks
group by age;
quit;
Now it is easy to compare relative risks by age.
Thanks, @Kurt_Bremser.
I think this credit goes to you, as @urap considered as accepted solution. @urap , is it possible for you to take that off, please?
To answer this question, you need a statistically sufficient sample for ages 57 and 67.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.