Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5.7 For data introduced in Exercise 4.10 about AIDS symptoms, AZT use, and race, here is some R output: > fit summary (fit) Deviance Residuals:

image text in transcribedimage text in transcribedimage text in transcribed
5.7 For data introduced in Exercise 4.10 about AIDS symptoms, AZT use, and race, here is some R output: > fit summary (fit) Deviance Residuals: 1 2 3 4 - 0 . 5547 0 . 4253 0 . 7035 -0 . 6326Estimate Std. Error z value Pr (>| z) (Intercept) -1. 07357 0 . 26294 -4. 083 4.45e-05 aztyes -0. 71946 0 . 27898 -2.579 0 . 00991 racewhite 0 . 05548 0. 28861 0 . 192 0. 84755 Null deviance: 8.3499 on 3 degrees of freedom Residual deviance: 1.3835 on 1 degrees of freedom > 1 - pchisq (1. 3835, 1) [1] 0. 23950 > cbind (AIDS$aztiDS$race, fitted (fit) , rstandard (fit, type="pearson") , residuals (fit , type="pearson") , residuals (fit , type="deviance") ) [, 1] [, 2] [, 3] [, 4] [, 5] [, 6] 2 2 0.1496 -1. 1794 -0. 5447 -0.5547 # aztzyes, race=white N 1 2 0.2654 1 . 1794 0 . 4282 0. 4253 # aztzno, race=white W 2 1 0. 1427 1 . 1794 0 . 7239 0. 7035 # aztzyes, race=black 1 1 0 . 2547 -1. 1794 -0. 6220 -0. 6326 # aztzno, race=black a. Test the model goodness of fit and interpret the result. b. Explain how the relative sizes of the fitted values reflect the results of the individ- ual tests for the AZT effect and the race effect.c. The display shows the standardized residuals, Pearson residuals, and deviance residuals. Explain advantages of using standardized residuals rather than the others

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

Step: 3

blur-text-image

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

Calculus I With Integrated Precalculus

Authors: Laura Taalman

1st Edition

1464153027, 9781464153020

More Books

Students also viewed these Mathematics questions