Question: Create a SAS dataset reading the following variables from tomhs.txt: ptid, clinic, age, sex, race, cholbl, chol12, glucosbl, glucos12 Compute two new variables: choldif=cholbl-chol12 and
- Create a SAS dataset reading the following variables from tomhs.txt:
ptid, clinic, age, sex, race, cholbl, chol12, glucosbl, glucos12
- Compute two new variables: choldif=cholbl-chol12 and glucosdif=glucosbl-glucos12
- Write a SAS program to compute MEAN, STANDARD DEVIATION, MEDIAN, FIRST QUARTILE AND THIRD QUARTILE for glucosdif.
- Construct a high resolution histogram for glucosdif.
- Construct a high resolution horizontal bar graph for the variable race.
- Display a cross-tabulation of patients by race and sex.
- Construct a high resolution vertical bar chart for the variable race separated by sex.
- Construct a scatter plot of glucosdif versus choldif.
- Construct a scatter plot of glucosdif versus choldif grouped by sex.
- Fit a regression model that allows us to model how glucosdif depends on a
choldif.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
