I do not think I am coding for the right proc; I am trying to find the correlation of females who smoke and have moderate to high cholesterol. I can not figure out how to Isolate the females from the males? proc glm data=sashelp.heart; class cholesterol; model smoking = cholesterol; run; proc univariate data=sashelp.heart plots; class chol_status; var smoking ; run; proc univariate data=sashelp.heart plots; class smoking_status; var cholesterol ; run; proc reg data=sashelp.heart plots(maxpoints=10000); model cholesterol = smoking; run;quit;
... View more