Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started