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.
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.