Docsity

6 Problems on the Uniform Distribution - Problem Set 11 | ECE 313, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois Spring 2005
ECE 413: Solutions to Problem Set 11
1.Y(f) = H(f)X(f) = rect(f /2) exp(−πf 2), and y(0) = Z∞
−∞
Y(f)df =Z1
−1
exp(−πf 2)df . But, the
integrand is the Gaussian pdf N(0,(2π)−1). Hence, y(0) = Φ(√2π)−Φ(−√2π) = 2Φ(√2π)−1≈0.9826
2. (a)Xis uniformly distributed on [0,2π). From the diagram below, it should be obvious that the
probability that the random chord is longer than the side of the inscribed equilateral triangle is
P{2π/3<X<4π/3}=1
3.
x
AB
D
A B
D
C
(b) Since the circle has radius 1, an arc of length Xsubtends angle Xat the center of the circle.
Furthermore, the length Lof the chord is 2 sin(X/2), increasing from 0 when X= 0 to 2 when
X=πand decreasing back to 0 at X= 2π. For any x, 0< x < 2,
FL(x) = P{L ≤ x}=P{2 sin(X/2) ≤x}= 2 ·P{0≤ X ≤ 2ar csin(x/2)}=2
πarcsin x
2
. Hence,
fL(x) = d
dx FL(x) = (1
π√1−(x/2)2,0≤x≤2,
0,otherwise.
.
3. The area under the curve t3from 0 to Tis T4/4. Thus, F(t) = 1 −exp(−t4/4).
(a)P{X >2}= exp(−16/4) = exp(−4).
(b)P{0.4<X<1.4}= exp(−0.0256/4) −exp(−(1.4)4/4).
(c)P{X >2|X >1}=P{X >2}/P {X >1}= exp(−4)/exp(−1/4) = exp(−3.75).
4. As discussed in class, the first arrival time Xis an exponential random variable with parameter λ, and
its pdf is λexp(−λt) for t > 0.
(a) Hence, P{X ≤ T}=ZT
0
λexp(−λt)dt = 1 −exp(−λT ) = λT
1! −(λT )2
2! +···
(b)P(A) = P{N(0, T ] = 1}=λT
1! exp(−λT ) = λT exp(−λT ).
(c)P(A) in part (b) is not the same as P{X ≤ T}from part (a). In fact, A⊂ {X ≤ T}since the
latter event includes the possibility that the second arrival also occurred during (0, T ].
(d) For 0 < t < T,
P({X≤t}|A) = P({X≤t} ∩ A)
P(A)=P({N(0, t] = 1} ∩ {N(t, T ] = 0})
P{N(0, T ] = 1}
=P{N(0, t] = 1} × P{N(t, T ] = 0}
P{N(0, T ] = 1}by independence of disjoint intervals
=(λt) exp(−λt)×exp(−λ(T−t))
λT exp(−λT )=t
T.
Thus, the conditional pdf of the first arrival time Xgiven that there was exactly one arrival in
(0, T ] is a uniform pdf on (0, T ]!!
pf2

Partial preview of the text

Download 6 Problems on the Uniform Distribution - Problem Set 11 | ECE 313 and more Assignments Statistics in PDF only on Docsity!

University of Illinois Spring 2005

ECE 413: Solutions to Problem Set 11

  1. Y (f ) = H(f )X(f ) = rect(f /2) exp(−πf

2 ), and y(0) =

∞

−∞

Y (f ) df =

1

− 1

exp(−πf

2 ) df. But, the

integrand is the Gaussian pdf N (0, (2π)

− 1 ). Hence, y(0) = Φ(

2 π)−Φ(−

2 π) = 2Φ(

2 π)− 1 ≈ 0. 9826

  1. (a) X is uniformly distributed on [0, 2 π). From the diagram below, it should be obvious that the

probability that the random chord is longer than the side of the inscribed equilateral triangle is

P { 2 π/ 3 < X < 4 π/ 3 } =

1 3

x A B

D

A B

D

C

(b) Since the circle has radius 1, an arc of length X subtends angle X at the center of the circle.

Furthermore, the length L of the chord is 2 sin(X /2), increasing from 0 when X = 0 to 2 when

X = π and decreasing back to 0 at X = 2π. For any x, 0 < x < 2,

FL(x) = P {L ≤ x} = P {2 sin(X /2) ≤ x} = 2 · P { 0 ≤ X ≤ 2 arcsin(x/2)} =

π

arcsin

x

. Hence,

fL(x) =

d

dx

FL(x) =

1

π

1 −(x/2)^2

, 0 ≤ x ≤ 2 ,

0 , otherwise.

.

  1. The area under the curve t

3 from 0 to T is T

4 /4. Thus, F (t) = 1 − exp(−t

4 /4).

(a) P {X > 2 } = exp(− 16 /4) = exp(−4).

(b) P { 0. 4 < X < 1. 4 } = exp(− 0. 0256 /4) − exp(−(1.4)

4 /4).

(c) P {X > 2 |X > 1 } = P {X > 2 }/P {X > 1 } = exp(−4)/ exp(− 1 /4) = exp(− 3 .75).

  1. As discussed in class, the first arrival time X is an exponential random variable with parameter λ, and

its pdf is λ exp(−λt) for t > 0.

(a) Hence, P {X ≤ T } =

∫ T

0

λ exp(−λt) dt = 1 − exp(−λT ) =

λT

(λT ) 2

(b) P (A) = P {N (0, T ] = 1} =

λT

exp(−λT ) = λT exp(−λT ).

(c) P (A) in part (b) is not the same as P {X ≤ T } from part (a). In fact, A ⊂ {X ≤ T } since the

latter event includes the possibility that the second arrival also occurred during (0, T ].

(d) For 0 < t < T ,

P ({X ≤ t} | A) =

P ({X ≤ t} ∩ A)

P (A)

P ({N (0, t] = 1} ∩ {N (t, T ] = 0})

P {N (0, T ] = 1}

P {N (0, t] = 1} × P {N (t, T ] = 0}

P {N (0, T ] = 1}

by independence of disjoint intervals

(λt) exp(−λt) × exp(−λ(T − t))

λT exp(−λT )

t

T

Thus, the conditional pdf of the first arrival time X given that there was exactly one arrival in

(0, T ] is a uniform pdf on (0, T ]!!

  1. I’m considering, I’m considering!

(a) The number of arrivals in (0, 4] is N (0, 4], a Poisson random variable with parameter 4λ. Hence,

E[N (0, 4]] = 4λ.

(b) The event {N (0, 3] = 3} ∩ {N (2, 6] = 0} is exactly the same as {N (0, 2] = 3} ∩ {N (2, 6] = 0} and

thus P [{N (0, 3] = 3} ∩ {N (2, 6] = 0}] = P [{N (0, 2] = 3} ∩ {N (2, 6] = 0}]. We get

P [{N (0, 3] = 3} ∩ {N (2, 6] = 0}] =

(2λ)

3

exp(− 2 λ) × exp(− 4 λ) =

4 λ

3

exp(− 6 λ)

by independence of Poisson variables on disjoint intervals of time.

(c) The number of arrivals in (0, 6] is N (0, 6], a Poisson random variable with parameter 6λ. If it is

observed that N (0, 6] = k, then the maximum-likelihood estimate of the Poisson parameter 6λ is

k (cf. Problem 3(c) of Problem Set 4), and hence the maximum-likelihood estimate of the arrival

rate is k/6 = # of arrivals/length of interval which is exactly what one would expect.

(d) P {N (0, t) ≥ 1 } = 1 − P {N (0, t) = 0} = 1 − exp(−λt) = 1 − 2

−t when λ = ln 2.

  1. (a) The pdfs are as shown below.

5

10 f 1 (u)

f 0 (u)

(b) Λ(u) =

f 1 (u)

f 0 (u)

10 · exp(− 10 u)

5 · exp(− 5 u)

= 2 · exp(− 5 u)

which has value 2 at u = 0 and decays away to 0 as u → ∞. Note that Λ(u) > 1 for u < 0 .2 ln 2.

Thus, the likelihood ratio test is equivalent to deciding in favor of H 1 if the observed value of X

is smaller than the threshold 0.2 ln 2. Equivalently, Γ 1 = (0, 0 .2 ln 2), Γ 0 = (0.2 ln 2, ∞).

(c) PFA =

Γ 1

f 0 (u) du =

0 .5 ln 2

0

5 · exp(− 5 u) du = − exp(− 5 u)

0 .2 ln 2

0

PMD =

Γ 0

f 1 (u) du =

∞

0 .5 ln 2

10 · exp(− 10 u) du = − exp(− 10 u)

∞

0 .2 ln 2

= 0−(− exp(−2 ln 2)) =

(d) Λ(u) = 2·exp(− 5 u) >

π 0

π 1

for u < 0 .2 ln

2 π 1

π 0

= 0.2 ln 2 +0.2 ln

π 1

π 0

= ξ. Thus, the minimum-

error-probability decision rule is equivalent to deciding in favor of H 1 if the observed value of X

is smaller than ξ. Note that ξ < 0 if π 0 > 2 π 1 , that is, if π 0 > 2 /3..

(e) If π 0 = 1/3, then ξ = 0.2 ln 4. Hence,

PFA =

∫ (^0) .2 ln 4i

0

5 · exp(− 5 u) du = − exp(− 5 u)

0 .2 ln 4i

0

PMD =

0 .2 ln 4i

10 · exp(− 10 u) du = − exp(− 10 u)

∞

ξ

= 0 − (− exp(−2 ln 4i)) =

The average error probability thus is

Pe =

PFA +

PMD =

. Note that since π 0 < π 1 , the

Bayesian decision rule allows PFA to increase in return for a decrease in PMD because the latter is

weighted more heavily.

(f) If the decision rule always decides H 1 is the true hypothesis it makes errors if and only if H 0 is

the true hypothesis. Hence,

Pe = π 0.

(g) When π 0 > 2 /3, the threshold ξ is less than 0. Since X takes on nonnegative values, it is always

larger than the threshold, and hence the decision is always H 0. The average error probability is

π 1 , and since this is the minimum-error-probability rule, we cannot do any better than this. Note

that π 1 < 1 /3.

When π 0 > 2 /3, it follows that π 0 > 2 π 1. The average probability of error for the maximum-

likelihood rule is π 0 · (1/2) + π 1 · (1/4) > 2 π 1 · (1/2) + π 1 · (1/3) = 1. 25 π 1.