9.0 Lesson Plan
9.0 Lesson Plan
0 Lesson Plan
Answer Questions
1
n
X
ai Xi
i=1
n
X
ai Xi ] =
i=1
n
X
ai IE[Xi ] =
i=1
n
X
ai i .
i=1
i=1 j=1
If one looks at the definitions, one sees that Cov[Xi , Xi ] is just the
variance i2 . So one can write
Var [Y ] =
n
X
a2i i2
+2
i=1
ai aj Cov[Xi , Xj ].
i<j
In the special case when the random variables are independent, then the
covariances are all zero and this simplifies to
Var [Y ] =
n
X
a2i i2 .
i=1
There are several properties one can want from a point estimate:
unbiasedness
minimum variance (i.e, minimum uncertainty)
minimum mean squared error.
We discuss these in the context of several estimation strategies.
Besides the mean, other point estimates for common parameters are:
the sample proportion X/n for the population proportion p.
the sample variance,
n
1 X
2
2
=
(Xi X)
n 1 i=1
for the population variance.
7
1X
2
2
(Xi X)
s =
n i=1
for the population variance.
the 10% trimmed sample mean for the population mean; this is the
average of the sample after removing the largest 5% of the values
and the smallest 5% of the values.
= bias()
. For unbiased
The bias in a point estimate is IE[]
estimates, this is zero.
+ bias2 ().
Recall from the previous lecture how bias and variance contribute
differently to to total error. The left target has small variance and small
bias. The right target has large bias and large variance, the worst of both
worlds.
1
1
IE[X] = np = p.
n
n
1X
1X
1
IE[X] = IE[
Xi ] =
IE[Xi ] = (n) = .
n i=1
n i=1
n
In this case we also know the variance of the estimator:
2
2 X
n
2
1
1
2
2
=
(n ) = .
=
Var [X]
n
n
n
i=1
The
symbol multiplies its arguments just as the
symbol adds
them. We have shown that
n
n
Y
Y
z/ = (z/)n .
IP[Xi z] =
G(z) =
i=1
i=1
12
Since we know the density, we can find the expected value of Z, where Z
is the sample maximum:
Z
Z
n
n 1 n+1
IE[Z] =
z |0
z g(z) dz =
z n z n1 dz = n
n+1
0
0
n
.
=
n+1
So the estimator 1 of has a small bias:
n+1
= /(n + 1).
This is not the only way to frame the problem of selecting an estimator.
For example, one might want the estimator which:
minimized the the mean squared error,
had the largest probability of being within some fixed distance from
the true value,
was unbiased and minimized something more practical than the
variance.
Var [3 ] =
.
3n
n+2
0
0
15
.
Var [Z] =
2
n+2
n+1
(n + 2)(n + 1)
Since 2 = (n + 1)/n Z, then
2
n+1
n
1
2
2
Var [2 ] =
=
2
n
(n + 2)(n + 1)
n(n + 2)
A little algebra shows that n(n + 2) > 3n for all n > 1, so 2 is better
than 3 .
Variance of a Uniform RV
Let X Unif(0, ). Then IE[X] = /2. To find the variance of X we first
calculate IE[X 2 ], and then use Var [X] = IE[X 2 ] (IE[X])2.
16
2
IE[X ] =
x f (x) dx =
0
x2 1/ dx
= 1/ x3 /3|0 = 2 /3
so
2
2
Var [X] =
= .
3
2
12
2