




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Economic Statistics Exam 2 Last name:
November 2, 2006 First name:
Circle class time: 9 : 30! 11 : 00
Please sign that you abide by the honor pledge:
This exam contains fifteen short answer questions "worth 4 points each# and four
long answer questions "worth 15 points each#. Please answer in the space provided; if
you need more room, indicate clearly that the answer is continued on the back of the
page. In all problems where you need to make a calculation, simplify your answer as
much as possible. Show your work clearly to be eligible for partial credit.
Some PDFs: Some probabilities:
f ( x ) =
2
e
#( X # μ )
2
"
2
P[ x! a ] = e
" # a
f ( x ) =
u!!
μ
x
e
! μ
f ( x ) =! e
"! x
p
X
( 1! p )
N! X
Short Questions! 4 points apiece"
function is some function, f ( x ). How would we find the probability that X is
between two values "for example, between 2. 13 and 4. 56 #, using the PDF?
P [2.13! X! 4.56] = f ( x ) dx
regardless of the distribution of the individual random variables. What is the
analogous statement for the log#normal distribution?
The product of many small random variables tends to have a lognormal distribution.
The estimator is a rule or formula used to !guess" the value of some statistic; an estimate is the
value you obtain with a specific sample.
random variable, distributed normally with mean of 300 and variance of 400. What
is the chance that I have fewer than 250 candies in my bag?
The z#score is
z
that a person lives to be this age or older? "You must decide the most appropriate
distribution to use in this case.#
Durations are usually modeled using the exponential distribution. Given the exponential
distribution, the probability of living to be 74 or older is P[ x! 74 ] = e
" # 74
, where
! = 1 / μ = 1 / 74_. Thus,_ P[ x! 74 ] = e
" 74 / 74
= e
" 1
As the sample size $N% gets large, the sample mean $ X % has an approximately normal
distribution with mean μ
X
= μ
X
and variance!
X
2
X
2
month. When I take a random sample of size 100 , there is a 31. 74 $ chance that my
sample mean differs from the true mean by 5 hours or more "in either direction#.
Since this is deemed to be too imprecise, I am considering increasing my sample size.
If I take a random sample of size 400 , what is the chance that its mean differs from
the population mean by more than 5 hours?
We are told here that when N = 100 , P [ X! μ > 5 ] = 0.3174_. We need to find the z#score_
associated with 0.3174 when N = 100 , and then we need to calculate the z#score when
N = 400_. The normal distribution is symmetric, so_ P [ X! μ > 5 ] = 2 " P [ X! μ > 5 ] , which
means that P [ X! μ > 5 ] = 0.1587 , and P [ X! μ < 5 ] = 0.8413_. This means that Z_ = 1.00 ,
so 1.00 =
X! μ
. We can solve for! = 50_. Finally, we need to calculate the z#_
score when N = 400 ; it should be 2..
1 2. Some variable X is distributed normally with mean of μ and variance of!
2
What is the distribution of Z = ( X! μ) / "?
Z is distributed normally with mean zero and variance one, which is called the standard
normal distribution.
name of each observation. Describe what output you would get if you typed graph
twoway (scatter y x, mlabel(name)) (lfit y x) into Stata. In
particular, tell me what the commands %scatter&, %mlabel&, and %lfit& produce.
!Scatter" produces a scatterplot of the two variables; !mlabel" identifies each plot with its name,
and !lfit" superimposes the best linear fit of the data on top of the scatterplot.
call!. State, as generally as possible, the formula for constructing this confidence
interval in a large sample. "If you introduce any values, like! , explain how these are
calculated.#
Generally, a confidence interval can be constructed as
! ± z
" / 2
s
ˆ
!
, where
! is your estimator and
s
ˆ
!
is its standard deviation.! = ( 100 " Q ) / 100 , and z
! / 2
is the number such that
z
( z
" / 2
sample of 100 teachers, you find a sample mean of X = 40 and a standard deviation
of s
X
= 10. At the 95 $ confidence level, test the hypothesis that μ
X
= 42 "against
the alternative that μ
X
A 95 & confidence interval for μ is X ± 1.
s
x
= 40 ± 1.96_. Since 42_
is outside of this interval, we reject the null hypothesis.
Long Questions! 15 points apiece"
compensation between $200 and $400. Assume that your payment, X , is
distributed uniformly between these values.
a. Write out the probability density function of this variable "completely#.
f ( x ) =
if 200 " x " 400
0 otherwise
b. Calculate the probability that X is between 250 and 300. "It is important to
show your work.#
P [ 250! x! 300 ] = f ( x ) dx
250
300
dx =
x
x = 250
x = 300
250
300
c. Using the general formula for expected value of a continuous random variable,
calculate the expected value of X. "For partial credit, you may use the
specific formula for the uniform distribution.#
E [ X ] = f ( x ) xdx
200
400
x
dx
200
400
x
2
x = 200
x = 400
2
2
d. Using the general formula for variance in a continuous random variable,
calculate the variance in X. "For partial credit, you may use the specific
formula for the uniform distribution.#
X
2
= ( x " μ
x
2
f ( x ) dx
200
400
( x " 300 )
2
dx
200
400
x
2
" 600 x + 90000
dx
200
400
x
3
300 x
2
90000 x
x = 200
x = 400
is open to the public. When a person is walking down the street on Halloween,
there is some chance p that he stops to visit %Al's Discount Funeral Parlor.& This
year, 100 people walked down this street, and X is the total number who went into
the haunted house.
a. Give the distribution of X , along with its mean and variance.
The distribution of X is either binomial or approximately normal $which is
probably the better answer%. Regardless, its mean is μ
X
= Np = 100 p and its variance
is s
X
= Np ( 1! p ) = 100 p ( 1! p ).
b. If p = 0.5 , what is the chance that between 50 and 60 people attend?
Since it has an approximately normal distribution,
60 " μ
X
s
X
50 " μ
X
s
X
c. Al wonders if his elaborate decorations have caused a change in the proportion of
people who stop by. In 2005 , 50 of 100 attended. In 2006 , 80 of 100 did. At the
90 $ confidence level, test that the hypothesis that p
2005
= p
2006
"against the
alternative hypothesis that they are different#.
The hypothesis is H
0
:! p = 0_. A 90 & confidence interval for_! p is:
p
2006
p
2005
p
2006
p
2006
2006
p
2005
p
2005
2005
If zero is outside of this interval $which it is%, then we reject the null hypothesis.
a. State the three %desirable properties& of estimators, and explain what each
one means.
Unbiasedness: that the expected value of the estimator is the true value of the parameter.
Consistency: that as the sample size gets larger and larger, the estimator converges to its
true value.
Efficiency: that the estimator has minimal variance.
b. Suppose that X is a random variable distributed with mean μ
X
and
variance!
X
2
. Derive the formula for the variance in the sample mean.
X
2
= E [( X " μ
X
2
1
N
i = 1
N
i
" μ
X
2
1
N
i = 1
N
i
1
N
i = 1
N
μ
X
2
1
N
i = 1
N
i
" μ
X
2
1
N
2
i = 1
N
i
" μ
X
2
1
N
2
i = 1
N
i
" μ
X
2
i = 1
N
j $ i
i
" μ
X
j
" μ
X
1
N
2
i = 1
N
i
" μ
X
2
1
N
2
i = 1
N
j $ i
i
" μ
X
j
" μ
X
1
N
2
X
2
2
N
2
X
i
X
j
If this is a random sample, then all of the covariances are zero, and we are left with
X
2
1
N
2
X
2
X
2