
Homework 06
Assigned: 03 October 2005
Due: 12 October 2005
C:\baileraj\Classes\Fall 2005\sta402\hw\Homework-06-24sep05.doc
1. Conduct a small Monte Carlo simulation to examine the behavior of t-based CIs for the
mean of a Poisson distribution. Recall that a Poisson random variable can be used to model
unbounded counts (0, 1, 2, 3, …). If Y ~ Poisson(µ), then E(Y) = V(Y) = µ. Compare two
confidence interval procedures in terms of coverage and length:
i)
± t(1-α/2, n-1) sY/√n
ii) {
± t(1- α /2, n-1) sX /√n }2
where Xi = √Yi,
()
1
1
2
2
−
∑−
==
n
YY
s
n
ii
Yand
()
1
1
2
2
−
∑−
==
n
XX
s
n
ii
X.
Select at least 3 values of “µ” (say 2, 10, 25) and 3 values of “n” for this illustration
(say n=15, 30, and 50). Hint: Poisson random variates can be generated using the
SAS function RANPOI.
2. Construct a 95% confidence interval for the variance of the “mpg” sample data given below.
Use percentile-based bootstrap methods to obtain this interval.
Donoho, David and Ramos, Ernesto (1982), ``PRIMDATA:
Data Sets for Use With PRIM-H'' (DRAFT).
(Based on
http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=
datasets/)
We consider the 1982 subset of a larger data set containing 406
observations on the following 8 variables: MPG (miles
per gallon), # cylinders, engine displacement (cu. inches), horsepower,
vehicle weight (lbs.), time to accelerate from O to 60 mph (sec.),
model year (modulo 100), and origin of car (1. American, 2. European,
3. Japanese). These data appear on seven pages. Also provided are the
car labels (types) in the same order as the 8 variables on seven
separate pages. Missing data values are marked by series of question
marks.
Variables:
mpg
cylinders
displacement
horsepower
weight
acceleration
model.year
origin
28.0 4. 112.0 88.00 2605. 19.6 82. 1.