文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 理学 > AN INTRODUCTION TO CATEGORICAL DATA ANALYSIS
侵权投诉

AN INTRODUCTION TO CATEGORICAL DATA ANALYSIS

AN INTRODUCTION TO CATEGORICAL DATA ANALYSIS, 2nd ed.

SOLUTIONS TO SELECTED PROBLEMS for STA 4504/5503

These solutions are solely for the use of students in STA 4504/5503 and are not to be distributed elsewhere. Please report any errors in the solutions to Alan Agresti, e-mail aa@stat.u .edu. copyright 2009, Alan Agresti.

Chapter 1

1. Response variables are (a) Attitude toward gun control, (b) Heart disease, (c) Vote for President, (d)

Quality of life.

2.a. nominal, b. ordinal, c. ordinal, d. nominal, e. nominal, f. ordinal

3.a. Binomial, n = 100, π = 0.25.

b. The mean is nπ = 25 and the standard deviation is

p

nπ(1 π) = 4.33. 50 correct responses would

be surprising, since 50 is z = (50 25)/4.33 = 5.8 standard deviations above the mean of a distribution

that is approximately normal.

4.a. Y is binomial for n = 2 and π = 0.50. Thus, Y = 0 with probability 0.25, Y = 1 with probability 0.50, and Y = 2 with probability 0.25. The mean is 2(0.50) = 1.0 and the standard deviation is p

2(0.50)(0.50) = 0.71.

b.(i) P(Y = 0) = 0.16, P(Y = 1) = 0.48, P(Y = 2) = 0.36;

(ii) P(Y = 0) = 0.36, P(Y = 1) = 0.48, P(Y = 2) = 0.16.

c. (π) = 2π(1 π).

d. From the plot or using calculus by taking the derivative and setting it equal to 0, the function (π) = 2π(1 π) takes its maximum value at π = 0.50.

8.a. 0.294. b. z = 14.9, P-value < 0.0001. Conclude that minority of population would say yes. c. p ± 1.96

p

p(1 p)/n is 0.294 ± 2.58(0.0133), or (0.26, 0.33).

12.a. SE = 0, and the z statistic equals ∞.

b. CI is (0, 0); no, in the population we expect some vegetarians, even if the proportion is small. c. z = (0 0.50)/

p

0.50(0.50)/25 = 5.0, P-value < 0.0001.

d. Note z = (0 0.133)/

p

0.133(0.133)/25 = 1.96, so 0.133 is the null value that has a P-value of 0.05.

15.a. σ(p) equals the binomial standard deviation

p

nπ(1 π) divided by the sample size n.

b. σ(p) takes its maximum value at π = 0.50 and its minimum at π = 0 and 1. If π = 1, for instance, every observation must be a success, and the sample proportion p equals π with probability 1.

Chapter 22.a. Sensitivity = P(Y = 1|X = 1) = π1, speci city = P(Y = 2|X = 2) = 1 P(Y = 1|X = 2) =

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email