









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the concepts of random variables, confidence intervals, and their relationships to statistical inference. The fundamental object of density functions, regression, properties of estimators, normal results, and confidence intervals for parameters. It also introduces the central limit theorem and the use of pivots for calculating confidence intervals.
Typology: Study notes
1 / 16
This page cannot be seen from the preview
Don't miss anything!










Dr. D. Scott
August 23, 2005
Fundamental object is the density function:
X ∼ f (x) = f (x 1
, x 2
,... , x p
which encodes ”structure.”
Sometimes one of the variables is labeled dif-
ferently:
(X, Y ) ∼ f (x, y) = f (x 1
,... , x p
, y).
Here, Y is the dependent or response vari-
able, while X 1
p
are the independent
or predictor variables.
Properties of estimator
μˆ = ¯X =
n
n
∑
i=
i
E[ˆμ] = E
n
n
∑
i=
i
n
n
∑
i=
i
nμ x
n
= μ x
so unbiased.
Also
X → μ x
(consistency) since
var( ¯X) = σ
2
¯ X
n
σ
2
X
→ 0 as n → ∞
by Chebyshev’s inequality.
σ
2
¯x
= E( ¯X − μ ¯x
2
n
n
∑
i=
i
− μ)
2
n
2
n
∑
i=
i
− μ)
2
∑
i 6 =j
i
− μ)(X j
− μ)
n
2
· n σ
2
x
n
2
n(n − 1) · 0 · 0 Why?
σ
2
x
n
∑
of i.i.d. r.v.’s ≈ Normal. (RVLS)
Confidence Intervals for Parameters: pivots
Rearrange
P rob(− 1. 96 <
X − μ
σ/
n
to get
P rob( ¯X − 1. 96
σ
n
< μ <
σ
n
(± 2 .576 for a 99% confidence interval)
Pivot for σ
2
2
1
n− 1
∑
i
2
∑
i
2
∑ [
i
− μ) − ( ¯X − μ)
]
2
∑
i
− μ)
2
− 2( ¯X − μ)
∑
i
− μ) + n( ¯X − μ)
2
Now,
∑
i
− μ) = n( ¯X − μ), so
∑
i
2
∑
i
− μ)
2
− n( ¯X − μ)
2
or, dividing by σ
2
and rearranging,
∑
(
i
σ
)
2
(
X − μ
σ/
n
)
2
∑
(
i
− μ
σ
) 2
Since E[χ
2
(p)] = p and V ar[χ
2
(p)] = 2p,
[
(n − 1)
σ
2
2
]
= n − 1
or
2
] = σ
2
(unbiased)
Now have a pivot for a C.I. for σ
2
P rob
(
a <
(n − 1)S
2
σ
2
< b
)
= 1 − α
iff
P rob
(
(n − 1)S
2
b
< σ
2
(n − 1)S
2
a
)
where P r(χ
2
n− 1
< a) = P r(χ
2
n− 1
> b) =
α
(note: show R code to plot χ
2
A century ago, ”Student” (Gossett) showed
X − μ
σ( ¯X)
and
X − μ
n− 1
called Student’s t-distribution. Can show
n− 1
√
χ
2
n− 1
/(n − 1)
Thus a C.I. for μ follows:
P rob(−a < T n− 1
< a) = 1 − α
becomes
P rob(μ ∈
X ± a · S( ¯X)) = 1 − α
which should be compared to
P rob(μ ∈
X ± 1. 96 σ( ¯X)) = 95%
Finally, the F distribution is a pivot for com-
paring variances.
χ
2
(ν 1
)/ν 1
χ
2
(ν 2
)/ν 2
∼ F (ν 1
, ν 2
ν 1
,ν 2
Recall: T n− 1
√
χ
2
n− 1
/(n − 1)
Thus
2
n− 1
2
χ
2
n− 1
/(n − 1)
χ
2
χ
2
n− 1
/(n − 1)
1 ,n− 1