AP Statistics / Mr. Hansen |
Name: ________________________ |
Random Variable Mini-Worksheet—SOLUTION KEY
1. |
Define X = number that appears when die is randomly rolled. [Since X is a numeric outcome resulting from a random process, X is a r.v.] |
|||
|
|
|
|
|
|
i |
xi |
pi |
|
|
---------------- |
---------------- |
---------------- |
|
|
1 |
1 |
.1 |
|
|
2 |
2 |
.3 |
|
|
3 |
3 |
.1 |
|
|
4 |
4 |
.1 |
|
|
5 |
5 |
.3 |
|
|
6 |
6 |
.1 |
|
|
|
|||
|
[We usually omit the i column since it adds
no information. Note that Spi
= 1, as required.] |
|||
|
|
|||
|
[If you weren’t able to find the pi values in your head, here is how to show the work: |
|||
|
|
|||
2. |
mX = Spixi = .1(1)
+ .3(2) + .1(3) + .1(4) + .3(5) + .1(6) = 3.5. [Note that this exactly
the same as for a fair die! Refer to your class notes from Friday, |
|||
|
|
|||
|
|
(dev. from mean)2 |
weighted (dev.)2 |
|
|
---------------- |
---------------- |
---------------- |
|
|
1 |
(1 – 3.5)2 = 6.25 |
.1(6.25) = .625 |
|
|
2 |
(2 – 3.5)2 = 2.25 |
.3(2.25) = .675 |
|
|
3 |
(3 – 3.5)2 = .25 |
.1(.25) = .025 |
|
|
4 |
(4 – 3.5)2 = .25 |
.1(.25) = .025 |
|
|
5 |
(5 – 3.5)2 = 2.25 |
.3(2.25) = .675 |
|
|
6 |
(6 – 3.5)2 = 6.25 |
.1(6.25) = .625 |
|
|
|
|
---------------- |
|
|
|
TOTAL |
2.65 |
|
|
|
|||
|
total of third column = variance of X = s2X = 2.65 |
|||
|
sX = Ö2.65 = 1.628 |
|||
|
|
|||
|
[This is slightly less than the value of 1.708 that we
obtained on Friday for a fair die. This makes sense, since the relative
frequency histogram for X would show a
little less dispersion. More of the “meat” of the distribution stays closer
to the mean, which implies that the s.d. will be
lower.] |
|||
|
|
|||
|
[Do you have to show this much work? Answer: Yes, on free
response. The column headings are even more important than the work, since
they show that you know how to
perform the work. On a multiple-choice question, or to check your work, you
can find the mean and s.d. very quickly as follows: |
|||
|
|
|||
3.(a) |
Not disjoint, since P(A Ç
B) = P(prime and even) = P(2)
= .3 ¹
0. |
|||
|
|
|||
(b) |
Method 1: Check whether prob. of intersection = product of probs. |
|||
|
P(A Ç B) = .3 by part (a) |
|||
|
P(A) · P(B) = P(prime) · P(even) |
|||
|
Since .35 ¹ .3, A and B are not independent. |
|||
|
|
|||
|
Method 2: Check whether P(A | B) is unchanged
from P(A). |
|||
|
P(A) = P(prime) = P(2, 3, or
5) = .3 + .1 + .3 = .7 |
|||
|
P(A | B) = P(prime | even) |
|||
|
Since .6 ¹ .7, A and B are not independent. |
|||
|
|
|||
(c) |
P(A | B) = .6 (already done) |
|||
|
|
|||
|
P(B | A) = P(even | prime) |