Small-Sample Inference and Bootstrap: Leonid Kogan
Small-Sample Inference and Bootstrap: Leonid Kogan
Bootstrap
Bootstrap
1 / 28
Small-Sample Inference
Bootstrap
Outline
Small-Sample Inference
Bootstrap
Bootstrap
2 / 28
Small-Sample Inference
Bootstrap
Overview
So far, our inference has been based on asymptotic results: LLN and
CLT.
Asymptotic inference is sometimes difcult to apply, too complicated
analytically.
In small samples, asymptotic inference may be unreliable:
Estimators may be consistent but biased.
Standard errors may be imprecise, leading to incorrect condence
intervals and statistical test size.
Bootstrap
3 / 28
Small-Sample Inference
Bootstrap
Outline
Small-Sample Inference
Bootstrap
Bootstrap
4 / 28
Small-Sample Inference
Bootstrap
Example: Autocorrelation
1 = 1
plimT
We want to know if this estimator is biased, i.e., we want to estimate
1 ) 1
E(
Bootstrap
5 / 28
Small-Sample Inference
Bootstrap
t N(0, 1)
1 ) 1 =
1 (n) 1
E(
n=1
2
1
(
1 (n) E
=
1 )
n=1
Bootstrap
6 / 28
Small-Sample Inference
Bootstrap
MATLAB Code
c Leonid Kogan ( MIT, Sloan )
Bootstrap
7 / 28
Small-Sample Inference
Bootstrap
1
0.9
0.0
0.9
0.0
T
50
50
100
100
Average Bias
0.0826 0.0006
0.0203 0.0009
0.0402 0.0004
0.0100 0.0006
1 ) 1
E(
1 + 31
T
When explicit formulas are not known, can use bootstrap to estimate
the bias.
c Leonid Kogan ( MIT, Sloan )
Bootstrap
8 / 28
Small-Sample Inference
Bootstrap
(ut , t ) N(0, )
Stambaugh bias:
) =
E(
Cov(ut , t )
1 + 3 Cov(ut , t )
)
E(
Var(t )
T
Var(t )
Bootstrap
9 / 28
Small-Sample Inference
Bootstrap
= 0.0089,
= 0.9936,
) = 0.005.
S.E.(
Bootstrap
10 / 28
Small-Sample Inference
Bootstrap
is 0.013.
Average of
100
is 0.004.
Average bias in
Average standard error is 0.005.
50
0
-4
Bootstrap
-3
-2
-1
11 / 28
Small-Sample Inference
Bootstrap
N(0, 1)
T
/
How good is the normal approximation in nite samples if the sample
comes from a Non-Gaussian distribution?
Assume that the sample is generated by a lognormal distribution:
1
xt = e 2 +t ,
Bootstrap
t N(0, 1)
12 / 28
Small-Sample Inference
Bootstrap
t =
T
/
Asymptotic theory dictates that
Var(t ) = 1. We estimate
A histogram of t across
100,000 simulations
5000
4500
4000
3500
3000
2500
2000
Var(t ) = 1.25422
1500
1000
500
0
8
13 / 28
Small-Sample Inference
Bootstrap
Outline
Small-Sample Inference
Bootstrap
Bootstrap
14 / 28
Small-Sample Inference
Bootstrap
Bootstrap
15 / 28
Small-Sample Inference
Bootstrap
=E
We estimate the sample mean as
condence interval for this estimator?
( xt )
E
T
N(0, 1),
T
2
t =1 [xt
(xt )]2
E
T
Bootstrap
16 / 28
Small-Sample Inference
Bootstrap
REAL WORLD
Unknown
probability
model
BOOTSTRAP WORLD
Estimated
probability
model
Observed data
^
P
Parameter of
interest
= (P)
Bootstrap sample
x* = (x*1, x2*, ... x*n)
Bootstrap
replicate
of ^
Estimated
parameter
Estimate of
^ = s(x)
^*
= s(x*)
^ = (P)
^
^
^ ,)
^ (
BiasP
^ )
BiasP(,
Bootstrap
17 / 28
Small-Sample Inference
Bootstrap
empirical distribution.
. denotes statistics
2.5% ,
97.5%
. Estimate the condence interval as
(
97.5%
),
(
2.5%
))
(
Bootstrap
18 / 28
Small-Sample Inference
Bootstrap
= 1.1784,
= 1.5340
Population mean
1
= E(xt ) = E(e 2 +t ) = 1,
t N(0, 1)
1.96 ,
+ 1.96 ) = (0.7532, 1.6036)
(
T
Bootstrap
19 / 28
Small-Sample Inference
Bootstrap
Lognormal Distribution
Use bootstrap instead of asymptotic inference.
MATLAB Code
Bootstrap estimate of the condence interval
(0.7280, 1.5615)
c Leonid Kogan ( MIT, Sloan )
Bootstrap
20 / 28
Small-Sample Inference
Bootstrap
500
5000
450
4500
400
4000
350
3500
300
3000
250
2500
200
2000
150
1500
100
1000
500
50
0
8
0
8
Bootstrap
21 / 28
Small-Sample Inference
Bootstrap
Bootstrap
22 / 28
Small-Sample Inference
Bootstrap
Parametric Bootstrap
T ;
1 , ...,
Retain only the last T observations (drop the burn-in sample).
3
Bootstrap
23 / 28
Small-Sample Inference
Bootstrap
BOOTSTRAP WORLD
Estimated
probability
model
Observed data
x = (x1, x2, ... xn)
Parameter of
interest
= (P)
Estimate of
Estimated
parameter
^ = s(x)
^*
= s(x*)
^ = (P)
^
^
^ ,)
^ (
BiasP
^ )
BiasP(,
Bootstrap sample
^
P
24 / 28
Small-Sample Inference
Bootstrap
0 ER
Bootstrap
25 / 28
Small-Sample Inference
Bootstrap
is 0.0125.
Average of
100
is 0.0036.
Average bias in
Average standard error is 0.005.
50
0
-4
-3
-2
-1
Bootstrap
26 / 28
Small-Sample Inference
Bootstrap
Discussion
unavailable or suspect.
Bootstrap
27 / 28
Small-Sample Inference
Bootstrap
Readings
Bootstrap
28 / 28
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms .