Histogram: Nonparametric Kernel Density Estimation
Histogram: Nonparametric Kernel Density Estimation
Härdle, Müller, Sperlich, Werwatz, 1995, Nonparametric and Semiparametric Models, An Introduction
Tine Buch-Kromann
Construction:
I Divide the range into bins
Consistency:
P
Is fˆh (x) a consistent estimator of f (x), ie. fˆh (x) −→ f (x)?
Bias
E[fˆh (x) − f (x)] ≈ f 0 (mj ) · (mj − x)
Note: The bias is increasing in the slope of f (mj ) and the bias is 0 if x = mj .
Variance
1
V[fˆh (x)] ≈ f (x)
nh
Note: The variance is proportional to f (x) and decreases when nh increases.
∂AMISE(fˆh ) 1 1
= − 2 + h||f 0 ||22 = 0
∂h nh 6
Hence µ ¶1/3
6
h0 = ∼ n−1/3
n||f 0 ||22
I Variance
1
V[fˆh (x)] ≈ f (x)
nh