Question: Using SASHELP.HEART and the cholesterol variable, create a new variable called chol_cat that classifies subjects in the dataset based on the NCEP/ATP III cholesterol guidelines.

Using SASHELP.HEART and the cholesterol variable, create a new variable called chol_cat that classifies subjects in the dataset based on the NCEP/ATP III cholesterol guidelines. The guideline is as follows: Total cholesterol less than 200= Desirable Total cholesterol between 200-239=Borderline Total cholesterol 240 and higher=High Complete this question using IF/THEN/ELSE statements. Paste your code below. Note: Take note of the boundaries. To be awarded full points your code must run without errors

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!