Question: How do I approach writing a SAS code with this problem? Did I approach writing the SAS code correctly? Use the dataset sodt.sas7bdat
How do I approach writing a SAS code with this problem? Did I approach writing the SAS code correctly?
- Use the dataset "sodt.sas7bdat" and answer the following questions:
- Build a multivariable logistic regression model for mortality using FirstContact, as the main predictor and ModeTransport, OnoffHours, CHF, PastMI, PastPCI, age, Gender, and SODTmin as the covariate. Comments on the result of the mortality model using a 5% significance level.
proc logistic descending data = bios5200.sodt;
Model FirstContact = ModeTransport OnOffhrs CHF pastMI pastPCI age gender SODTmin/lackfit;
run;
- The National Heart Attack Alert Program advocates a goal of 1 hour from STEMI symptom onset to reperfusion. Use the recommended cutoff to dichotomize SODTmin and refit the model in Q5 for mortality with the dichotomized SODTmin variable. Comment on the result of the mortality model using a 5% significance level.
data bios5200.sodt;
set bios5200.sodt;
if SODTmin <= 60 then SODTmin_dich = 1;
else SODTmin_dich = 0;
run;
proc logistic data = bios5200.sodt;
model FirstContact = ModeTransport OnOffhrs CHF pastMI pastPCI age gender SODTmin SODTmin_dich/lackfit;
run;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
