ch1
ch1
1.4 Expectation
1.1 Discrete distribution
I Definition: Let x be a realization of a discrete random
variable X ∈ R. Then,
f (x) = P(X = x)
(b) for any real functions g (·) and h(·), g (X ) and h(Y ) are
independent.
1.2 Continuous distribution
for x ∈ R. Hence,
1 x −b 1 x −b
fY (x) = FY0 (x) = FX0 = fX .
a a a a
(b) for any real functions g (·) and h(·), g (X ) and h(Y ) are
independent.
1.3 Empirical distribution
−0.49, 0.90, 0.76, −0.97, −0.73, 0.93, −0.88, −0.75, 0.88, 0.96.
−0.97, −0.88, −0.75, −0.73, −0.49, 0.76, 0.88, 0.90, 0.93, 0.96.
F (cj ) − F (cj−1 )
f (x) ≈ for x ∈ (cj−1 , cj ], j = 1, 2, · · · , l.
cj − cj−1
1.3 Empirical distribution - Relative frequency histogram
Note that
Pn
k=1 I(Xk ∈ (cj−1 , cj ])
F (cj ) − F (cj−1 ) = P(X ∈ (cj−1 , cj ]) ≈
n
is the relative frequency of occurrences of Xk ∈ (cj−1 , cj ]. Thus,
we can approximate f (x) by
Pn
I(Xk ∈ (cj−1 , cj ])
f (x) ≈ hn (x) = k=1 ,
n(cj − cj−1 )
for x ∈ (cj−1 , cj ], j = 1, 2, · · · , l.
We call hn (x) the relative frequency histogram.
Clearly, the way that we define the class intervals is not unique,
and hence the value of hn (x) is not unique. When the sample size
n is large and the length of the class interval is small, hn (x) is
expected to be a good estimate of f (x).
1.3 Empirical distribution - Relative frequency histogram
I Properties of hn (x)
(i) hn (x) ≥ 0 for all x;
(ii) The total area bounded by the x axis and below hn (x)
equals one, i.e.,
cl
Z
hn (x)dx = 1;
c0