0% found this document useful (0 votes)
43 views

Tutorial 1 Sol

This document provides a review of statistics concepts including probability, probability distributions, and Bayes' theorem. It includes questions with detailed explanations and solutions. Key concepts covered include: the difference between mutually exclusive and independent events; properties of probability mass functions and probability density functions; how to calculate conditional probabilities using Bayes' theorem; and how to determine if events are independent based on their joint and marginal probabilities.

Uploaded by

Hoang Thi Le
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Tutorial 1 Sol

This document provides a review of statistics concepts including probability, probability distributions, and Bayes' theorem. It includes questions with detailed explanations and solutions. Key concepts covered include: the difference between mutually exclusive and independent events; properties of probability mass functions and probability density functions; how to calculate conditional probabilities using Bayes' theorem; and how to determine if events are independent based on their joint and marginal probabilities.

Uploaded by

Hoang Thi Le
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1

APPENDIX
A
REVIEW OF STATISTICS: PROBABILITY AND
PROBABILITY DISTRIBUTIONS

QUESTIONS
A.1. See Sections A.2, A.4, A.5, and A.6.
A.2. No. Notice that a pair of events, A and B, are mutually exclusive if they
cannot occur jointly, that is, P(AB) = 0. Independence, on the other hand,
means that P(AB) = P(A) P(B). Consider this example. Let A = the card is
a heart and B = the card is an ace. A card is drawn from a deck of 52 cards.
We know that P(A) = 1/4 and that P(B) = 1/13. The probability of the event
that a card is both a heart and an ace is P(AB) = 1/52 = P(A) P(B). Hence
the two events are independent. But they are not mutually exclusive
because the ace of hearts could be drawn.
A.3. (a) True, (b) True.
A.4. (a) Yes, they are also collectively exhaustive.
(b) (i) Events

E
1
and A
2
occur together, (ii) events

E
3
or A
3
occur,
(iii)

E
1
or A
1

occur and similarly for the other three combinations;
(iv) events

E
2
A
1
, E
3
A
2
, E
4
A
3
occur (Each pair occurs together).
Note that forecasts and actual events need not coincide. It is possible that

E
1
was predicted, but the actual growth was

A
4
and vice versa.
A.5. PDF relates to a continuous variable and PMF to a discrete variable.
A.6. The CDF of a discrete variable is a step function, whereas that of a
continuous variable is a continuous curve.
A.7. Making the substitution, we obtain

P( A|B) =
P(B|A)P( A)
P(B)
. This is simply
Bayes formula. If we think of A as a possible hypothesis about some
phenomenon, Bayes theorem shows how opinions about this hypothesis
held a priori should be modified in light of actual experience. In Bayesian
2
language, P(A) is known as prior probability and

P( A|B) is known as
posterior (or revised) probability.

PROBLEMS
A.8. (a)

x
i 1
i =1
4

= x
0
+ x + x
2
+ x
3
(Note: x
0
= 1).
(b)

ay
i
i =2
6

= a y
i
= a(y
2
+ y
3
+ y
4
+ y
5
+ y
6
)
i =2
6



(c)

(2x
i
+ 3y
i
i =1
2

) = 2 x
i
+ 3 y
i
i =1
2

i =1
2

= 2(x
1
+ x
2
) + 3(y
1
+ y
2
)
(d)

x
i
y
i
j =1
2

i =1
3

= x
1
y
1
+ x
2
y
1
+ x
3
y
1
+ x
1
y
2
+ x
2
y
2
+ x
3
y
2

(e)

i + 4
i =1
4

= i +
i =1
4

4
i =1
4

= (1 + 2 + 3 + 4) + (4)(4) = 26
(f)

3
i
i =1
3

= 3 + 3
2
+ 3
3
= 39
(g)

2
i =1
10

= (2)(10) = 20
(h)

(4x
2
3)
x =1
3

= 4 x
2
3
x =1
3

x =1
3

= 4(1
2
+ 2
2
+ 3
2
) (3)(3) = 47

A.9. (a)

x
i
i =1
5

( i from 1 to 5)
(b)

i x
i
i =1
5

(i from 1 to 5)
(c)

(x
i
2
+ y
i
2
)
i =1
k

(i from 1 to k)

A.10. (a) [500 (500 + 1)] / 2 = 125,250
(b)

k k
1
9

1
100

= [100 (101)] / 2 [9 (10)] / 2 = 5,005


3
(c)

3 k
10
100

= 3(5,005) = 15,015, using (b) above.


A.11. (a) [10 (11)(21)] / 6 = 385
(b)

k
2
1
20

k
2
=
20(21)(41)
6
1
9


9(10)(19)
6
= 2,585
(c)

k
2
1
19

k
2
=
19(20)(39)
6
1
10


10(11)(21)
6
= 2,085
(d)

4 k
2
1
10

= 4(385) = 1,540, using (a) above.



A.12. (a) Since

) f(X = 1, (b + 2b + 3b + 4b + 5b) = 15b = 1. Therefore, we


have b = 1/15.
(b) P(X 2) = 6/15; P(X 3) = 10/15; P(2 X 3) = 4/15

A.13. (a) Marginal distributions:

X 1 2 3 Y 1 2 3 4
f(X) 0.20 0.40 0.40 f(Y) 0.15 0.10 0.45 0.30

(b) Conditional distributions:

f(X|Y) f(Y|X)
P(X = 1 | Y = 1) = 0.03 / 0.15 = 0.20 P(Y = 1 | X = 1) = 0.03 / 0.20 = 0.15
P(X = 2 | Y = 1) = 0.06 / 0.15 = 0.40 P(Y = 2 | X = 1) = 0.02 / 0.20 = 0.10
P(X = 3 | Y = 1) = 0.06 / 0.15 = 0.40 P(Y = 3 | X = 1) = 0.09 / 0.20 = 0.45
. P(Y = 4 | X = 1) = 0.06 / 0.20 = 0.30
. .

The remaining conditional distributions can be derived similarly.

A.14. Let B represent the event that a person reads the Wall Street Journal and let
4
A
1
, A
2
, and A
3
denote, respectively, the events a Democrat, a Republican,
and an Independent. We want to find out

P(A
2
|B) :

P(A
2
|B) =

P(B|A
2
)P(A
2
)
P(B|A
2
)P(A
2
) + P(B|A
1
)P(A
1
) + P(B|A
3
)P(A
3
)


=
(0.6)(0.4)
(0.6)(0.4) +(0.3)(0.5) +(0.4)(0.1)
= 0.558
Note that the prior probability of sampling a Republican is 0.4 or 40%. But
knowing that someone is found reading the Wall Street Journal, the
probability of sampling a Republican increases to 0.558 or 55.8%. This
makes sense, for it has been observed that proportionately more
Republicans than Democrats or Independents read the Journal. This
example is an illustration of Bayes Theorem.

A.15. This is ) ( B A P + or

P(AB) = 0.9.

A.16. (a) No, for the probability that this happens is 0.2 and not zero.
(b) Let A denote having children and B denote work outside home. If these
two events are to be independent, we must have P(AB) = P(A) P(B). In the
present case, P(AB) = 0.2 and P(A) = 0.5 and P(B) = 0.6. Since in this case
P(AB) P(A) P(B), the two events are not independent.

A.17. From Table A-9, it can be seen that

Below poverty Above poverty f(Y) X
Y
White 0.0546 0.6153 0.6699
Black 0.0315 0.0969 0.1284
Hispanic 0.0337 0.1228 0.1565
Asian 0.0046 0.0406 0.0452
f(X) 0.1244 0.8756 1.00

5
(a) f (X | Y = White) =

f (X, Y = White )
f (Y = White )
=
0.0546
0.6699
= 0.0815
f (X | Y = Black) =

f (X, Y = Black)
f (Y = Black)
=
0.0315
0.1284
= 0.2453
f (X | Y = Hispanic) =

f (X, Y = Hispanic )
f (Y = Hispanic )
=
0.0337
0.1565
= 0.2153
f (X | Y = Asian) =

f (X, Y = Asian)
f (Y = Asian)
=
0.0046
0.0452
= 0.1018

(b) They are not. For them to be independent, f(X,Y) = f(X) f(Y) must hold
true for all combinations of X and Y values, which is not the case here.

A.18. (a)

P no stop on cell
( )
=
P no stop on cell
( )
P on cell
( )
=
0.047
0.063
= 0.746
(b)

P no stop not on cell
( )
=
P no stop not on cell
( )
P not on cell
( )
=
0.201
0.937
= 0.2145
(c)

P stop on cell
( )
=
P stop on cell
( )
P on cell
( )
=
0.016
0.063
= 0.254
(d) No, they are not independent from each other since f(X,Y) f(X) f(Y)

A.19. (a) For it to be a proper PDF, we must have

c (4x 2x
2
0
2

)dx = 1. That is,



c
4
2
x
2

2
3
x
3

(
0
2
=1. That is,

c
16
2

16
3
|
\

|
=1, or

8
3
c = 1, which gives

c =
3
8
.
(b)

3
8
(4x 2x
2
)dx =
1
2

3
8
4
2
x
2

2
3
x
3

(
1
2
=
3
8
4
3
|
\

|
=
1
2
.
(c) P(x > 2) = 1 P(x < 2) =

1
3
8
(4x 2x
2
)dx
0
2

= 1 1 = 0 .
6
A.20. (a) f(x) =

12
5
(2x x
2
xy )dy =
18
5
0
1

x
12
5
x
2
.
Therefore, P(x > 0.5) = 1 P(x < 0.5) =

1
18
5
x
12
5
x
2
|
\

|
0
0.5

dx = 0.65.
Following a similar procedure, you can verify that P(y < 0.5) = 0.65.

(b)

f (x| y ) =
f (x, y )
f (y )
=
f (x, y )
f (x, y )dx
0
1

=
x(2 x y )
x(2 x y )dx
0
1

=
x(2 x y )
2
3

y
2

=

6x(2 x y )
4 3y
.

You might also like