Consider a dataset consisting of 610 males involved in a study of coronary heart disease.  The outcome variable is CHD status (1 = case, 0 = non case), the exposure variable of interest is CAT which is a dichotomous variable that indicates high (coded 1) or normal (coded 0) catecholamine level. The only other variables recorded in the data set are AGE (1 = age > 55, 0 = age ≤ 55) and ECG (1 = abnormal, 0 = normal). The dataset involving the above variables is given as follows: data data1; input cases total CAT AGE ECG; cards; 17 275 0 0 0 15 121 0 1 0 7 59 0 0 1 5 32 0 1 1 1 8 1 0 0 10 40 1 1 0 4 17 1 0 1 14 58 1 1 1 ; run; We are interested in the following logistic model:  As given in the SAS code above, the model is a full model with all main effects and interactions (both two way and three way interactions).  A main effect model can be obtained from SAS by this model statement –   model cases/total = AGE CAT ECG / cl;               Perform a hypothesis test to see if the interactions (including all of the two-way and the three-way Interactions) help with the model using a likelihood ratio test (LRT) to compare the full model and the main effect model using alpha of 0.05.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Consider a dataset consisting of 610 males involved in a study of coronary heart disease.  The outcome variable is CHD status (1 = case, 0 = non case), the exposure variable of interest is CAT which is a dichotomous variable that indicates high (coded 1) or normal (coded 0) catecholamine level. The only other variables recorded in the data set are AGE (1 = age > 55, 0 = age ≤ 55) and ECG (1 = abnormal, 0 = normal). The dataset involving the above variables is given as follows:

data data1;

input cases total CAT AGE ECG;

cards;

17 275 0 0 0

15 121 0 1 0

7 59 0 0 1

5 32 0 1 1

1 8 1 0 0

10 40 1 1 0

4 17 1 0 1

14 58 1 1 1

;

run;

We are interested in the following logistic model: 

As given in the SAS code above, the model is a full model with all main effects and interactions (both two way and three way interactions).  A main effect model can be obtained from SAS by this model statement –

 

model cases/total = AGE CAT ECG / cl;

 

            Perform a hypothesis test to see if the interactions (including all of the two-way and the three-way Interactions) help with the model using a likelihood ratio test (LRT) to compare the full model and the main effect model using alpha of 0.05.

+
Criterion
AIC
SC
-2 Log L
Intercept Only
448.851
453.264
446.851
Criterion
AIC
448.851
SC
453.264
-2 Log L 446.851
Model Fit Statistics
Intercept Only
Log Likelihood
438.648
473.955
422.648
Output from SAS - reduced model (without interaction)
Intercept and Covariates
Model Fit Statistics
432.352
450.006
424.352
Log Likelihood
Full Log Likelihood
44.990
80.297
28.990
Intercept and Covariates
Full Log Likelihood
38.694
56.348
30.694
0
Transcribed Image Text:+ Criterion AIC SC -2 Log L Intercept Only 448.851 453.264 446.851 Criterion AIC 448.851 SC 453.264 -2 Log L 446.851 Model Fit Statistics Intercept Only Log Likelihood 438.648 473.955 422.648 Output from SAS - reduced model (without interaction) Intercept and Covariates Model Fit Statistics 432.352 450.006 424.352 Log Likelihood Full Log Likelihood 44.990 80.297 28.990 Intercept and Covariates Full Log Likelihood 38.694 56.348 30.694 0
T₁ = P(CHD; = 1| AGE,, CAT, ECG;) logit() =B₁ + B₁AGE; + B₂CAT; + B₂ECG;
Transcribed Image Text:T₁ = P(CHD; = 1| AGE,, CAT, ECG;) logit() =B₁ + B₁AGE; + B₂CAT; + B₂ECG;
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 22 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman