CDF Q's and Ans
CDF Q's and Ans
CDF Q's and Ans
(a)
0 c≤0
0.5c 0<c≤1
F1 (c) =
0.25 + 0.25c 1<c≤3
1 3<c
(b)
0 c≤0
0.5 0<c≤1
F2 (c) =
0.75 1<c≤3
1 3<c
Solution: This is not a valid CDF, because it does not approach 0.0 as c → −∞.
(d)
0 c<0
0.5 0≤c<1
F4 (c) =
0.75 1≤c<3
1 3≤c
Solution: This is not a valid CDF, because it does not approach 1.0 as c → ∞.
(a) What is the value of the constant A? Solution: fX (u) must integrate to one. We have
that Z ∞ Z A
fX (u)du = sin(x) = 1 − cos(A)
−∞ 0
R∞
Thus, to achieve −∞ fX (u)du = 1, we need A = π2 .
(b) What is the corresponding CDF, FX (c)? Solution:
Z c 0 c≤0
π
FX (c) = fX (u)du = 1 − cos(c) 0 ≤ c ≤ 2
−∞ π
1 2 ≤c
Therefore
Var(X) = E[X 2 ] − E 2 [X] = π − 3
2
3. [Independent intervals and the exponential pdf ]
Consider a process in which successes can occur at any time. The number of successes
occurring in any time interval is independent of the number of successes occurring in any
other time interval unless the intervals overlap. Define
Consider the two non-overlapping intervals (0, u] and (u, v]. Since these two intervals are
non-overlapping, what happens in the second interval is independent of what happens in the
first interval, as long as u ≥ 0 and v ≥ u. Let A be the event that there are no successes in
the first interval, and let B be the event that there are no successes in the second interval.
Since A and B are independent events,
But notice that P (A) = G1 (u), P (B) = G1 (v − u), and P (AB) = G1 (v), therefore
or equivalently,
L1 (v) = L1 (u) + L1 (v − u), u ≥ 0, v ≥ u
(a) According to Eq. 1, what must be the dependence of L1 (u) on u, for u > 0? Your answer
should be one word.
Solution: Linear.
(b) Consider the following equations:
Describe the set of all functions G1 (u) that satisfy Eq. 1, Eq. 2, and Eq. 3.
Solution: The only functions that satisfy these three conditions are functions of the
form G1 (u) = e−λu for positive u, and for some real-valued constant λ.
(c) What is the relationship between the CDF, FT (u), and the function G1 (u)?
Solution: FT (u) = 1 − G1 (u).
For the purpose of calculating its central moments, though, it is more useful to define it as
1 ∆ ∆
fX (u) = ∆ µ− 2 ≤u≤µ+ 2
0 otherwise
where the relationship between the parameters (a, b) and the parameters (µ, ∆) is given by
a+b
µ= , ∆=b−a
2
3
(a) In terms of ∆, find the nth central moment, E[(X − µ)n ], for odd integer values of n.
Solution:
Z µ+∆/2
n
E[(X − µ) ] = (u − µ)n fX (u)du
µ−∆/2
Z ∆/2
1
= v n dv
∆ −∆/2
1 n+1 ∆/2
= v −∆/2
(n + 1)∆
n+1 !
∆ n+1
1 ∆
= − −
(n + 1)∆ 2 2