Answered step by step
Verified Expert Solution
Link Copied!

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?

  1. Use the dataset "sodt.sas7bdat" and answer the following questions:
    1. 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;

  1. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probability With Applications and R

Authors: Robert P. Dobrow

1st edition

1118241257, 1118241258, 978-1118241257

More Books

Students also viewed these Mathematics questions

Question

24. Prove the equivalence of Equations (5.11) and (5.12).

Answered: 1 week ago