We didn't get to go over this very in depth in class so I'm a little confused as to how to go about this question. I'm assuming proc glm for the first question? I attached some descriptive statistics I performed on the data set.
1. PROC GLM
2. PROC CORR
Although I think setting a correlation of 0.9 is a poor cutoff to determine if there is no collinearity problem.
proc glm data=mergec;
class diabetes cholesterol;
model cholesterol=diabetes;
run;
This is what I performed but I'm not sure I got the class and model components correct
Cholesterol is not a CLASS variable.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.