Question: Analyze the Framingham Heart Study dataset called WORK.HEARTDATASET that was created in SAS Studio for Worksheet #2. Students will perform original analyses of two preapproved
Analyze the Framingham Heart Study dataset called WORK.HEARTDATASET that was created in SAS Studio for Worksheet #2. Students will perform original analyses of two preapproved variables*. Analyses include summary statistics, distribution, one sample t-test and a logistic regression.
* Instructor Approval of Variables is Required to Ensure Students Have Unique Analyses.
Step 1- Produce Summary Statistics for Two Preapproved Variables* in the WORK.HEARTDATASET
Step 2 - Produce a Distribution Analysis for Two Preapproved Variables*
Step 3 - Produce a One Sample t-Test Analysis for One Preapproved Variable*
Step 4 - Produce a Logistic Regression Analysis, ANOVA or Chi-Square analysis for Two Preapproved Variables*
Below are the pre-approved variables:
DATA smokers ; SET sashelp.heart ; IF smoking_status = "Non-smoker" THEN cursmoke = "NO " ; ELSE if smoking_status ne "" THEN cursmoke = "YES" ;
PROC FREQ DATA = smokers ; TABLES cursmoke ; proc logistic data=smokers (where=(sex = 'Male')); CLASS cursmoke ; model status (event='Dead')= weight cursmoke ageatstart;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
