This preview shows pages 1–3. Sign up to view the full content.
Jaime Frade
STA5168
Dr. Niu:
HW5
8.2
a)
Home
President
Busing
Yes (1)
No (2)
Don’t Know(3)
Yes
Yes
41.945197
63.760672
0.2941318
No
69.087698
159.64184
0.2704591
Don't Know
1.9671055
15.597485
0.4354091
No
Yes
1.0548033
5.9451967
2.602E10
No
4.9123022
42.087698
6.766E10
Don't Know
0.0328945
0.9671055
2.562E10
Don’ Know
Yes
5.631E10
3.2941318
0.7058682
No
1.0426E09
9.2704591
0.7295409
Don't Know
1.427E11
0.4354091
0.5645909
Estimated conditional odds ratio for BD
52010658
.
1
)
087698
.
69
)(
76072
.
63
(
)
64184
.
159
)(
945197
.
41
(
=
The odds of favoring of busing of (Negro/Black) and white school children from one school district to
another for those who had anyone in their family brought a friend who was a (Negro/Black) home for dinner
during last few years are estimated to be 1.52 times the odds of favoring of busing for who had not have
anyone dinner with Black at home given that they would vote for Black president.
Estimated conditional odds ratio for BP
82745212
.
2
)
087698
.
69
)(
0548033
.
1
(
)
9123022
.
4
)(
945197
.
41
(
=
Given that people had anyone in their family brought a friend who was a Black home for dinner, the odds of
favoring of busing of Black and white school children from one school district to another for those who
would vote for Black for President if that person is nominated are estimated to be 2.82 times the odds of
favoring of busing for those who would not vote Black for President.
Estimated conditional odds ratio for BP
70787006
.
3
)
760672
.
63
)(
0548033
.
1
(
)
92451967
.
5
)(
945197
.
41
(
=
Given that people favor busing of (Negro/Black) and white school children from one school district to
another, the odds of having anyone in your family brought a friend who was a (Negro/Black) home for
dinner for those who would vote for Black President if he were qualified for the job estimated to be 3.71
times the odds of having anyone in your family brought a friend who was a (Negro/Black) home for dinner
for those who would not vote for Black for President if he were qualified for the job.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
STA5168
Dr. Niu:
HW5
8.2
b)
Criteria For Assessing Goodness Of Fit
Criterion
DF
Value
Value/DF
Deviance
8
14.8625
1.8578
Scaled Deviance
8
14.8625
1.8578
Pearson ChiSquare
8
36.3768
4.5471
Scaled Pearson X2
8
36.3768
4.5471
Log Likelihood
1343.3612
G
2
=14.8625 so
2
χ
with df=8
pvalue = 0.0618749
> 0.05, thus model fits data well.
c)
Criteria For Assessing Goodness Of Fit
Criterion
DF
Value
Value/DF
Deviance
12
24.3305
2.0275
Scaled Deviance
12
24.3305
2.0275
Pearson ChiSquare
12
24.3278
2.0273
Scaled Pearson X2
12
24.3278
2.0273
Log Likelihood
1338.6272
The test statistics is G
2
[(BD,DP)(BD,BP,DP)] = 24.330514.86 = 9.47
G
2
=9.47 so
2
with df=139=4
pvalue = 0.0504089
> 0.05.
So there is not strong evidence that the BP conditional association.
2
This is the end of the preview. Sign up
to
access the rest of the document.
 Fall '08
 staff

Click to edit the document details