Question: The data for this problem are in the file icu.csv and can be found in the Data folder on our Canvas site. A study was
The data for this problem are in the file icu.csv and can be found in the Data folder on our Canvas site. A study was conducted on 200 patients who were admitted to an adult intensive care unit (ICU). Definitions of six variables are provided below: sta vital status (1=died, 0=lived) age age in years can cancer part of present problem (1=yes, 0=no) cpr CPR prior to ICU admission (1=yes, 0=no) inf infection probable at ICU admission (1=yes, 0=no) race 1=white, 2=black, 3=other Fit the model yi| pi Bernoulli(pi) yi indep log pi 1 pi = x i i = 1, . . . ,N with sta as the binary response and all other variables as predictors. The predictor race is categorical with three levels
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
