In a study9 on the effects of AZT in slowing the development of AIDS symptoms, 338 veterans whose immune systems were beginning to falter after infection with the AIDS virus were randomly assigned either to receive AZT immediately or to wait until their T cells showed severe immune weakness. Output follows of modeling the 2 × 2 × 2 cross-classification of race, whether AZT was given immediately, and whether AIDS symptoms developed during the three-year study. What null hypothesis is tested by the difference between the null deviance and the residual deviance? Interpret. Explain how to set up indicator variables for azt and race to obtain the estimates shown.

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

In a study9 on the effects of AZT in slowing the development of AIDS symptoms, 338 veterans whose immune systems were beginning to falter after infection with the AIDS virus were randomly assigned either to receive AZT immediately or to wait until their T cells showed severe immune weakness. Output follows of modeling the 2 × 2 × 2 cross-classification of race, whether AZT was given immediately, and whether AIDS symptoms developed during the three-year study.

  1. What null hypothesis is tested by the difference between the null deviance and the residual deviance? Interpret. Explain how to set up indicator variables for azt and race to obtain the estimates shown.

> AIDS # Data file at text website
race azt yes no # yes and no are categories of AIDS symptoms response
1 white yes
14 93
2 white
no
32 81
3 black yes
11 52
4 black
no
12 43
> fit <- glm (yes/ (yes+no)
azt + race, weights=yes+no, family=binomial,
>
data=AIDS)
> summary(fit)
Estimate 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
Transcribed Image Text:> AIDS # Data file at text website race azt yes no # yes and no are categories of AIDS symptoms response 1 white yes 14 93 2 white no 32 81 3 black yes 11 52 4 black no 12 43 > fit <- glm (yes/ (yes+no) azt + race, weights=yes+no, family=binomial, > data=AIDS) > summary(fit) Estimate 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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE 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