Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Solutions to exercises on probability and statistics. It covers topics such as Bayes' theorem, probability distributions, and density functions. The exercises involve selecting dice, calculating probabilities, and finding the standard deviation. suitable for students studying probability and statistics at the university level.
Typology: Exams
1 / 8
symbols 1-10 are written with non-uniform frequency as follows:
Symbol 1 2 3 4 5 6 7 8 9 10
Number of faces of die A 6 4 3 2 1 1 1 1 1 0
Number of faces of die B 3 3 2 2 2 2 2 2 1 1
The data set we are given is the following results of 7 die experiments: 5, 3, 9, 3, 8, 4, 7.
Define the two events A, B corresponding to the selection of die A or B respectively.
i
i 1,
=
Using that notation we are interested in P A D()= P A C({ } i
)
In order to obtain the probability that the die is die A, we will use Bayes’ theorem:
P({C i
} A P A) ( ) P({C i
} A P A) ( )
P A C({ }i ) = P({ }Ci ) = P({ }CiA P A) ( )+ P({ }CiB P B) ( )
Obviously,. Also
P({ }CiA)=∏i 17= P C A( i)= P C A( 1 ) P C A( 7 ) = 20 20 20 20 20 20 20 1 3 1 3
P({ }CiB) =∏i 17= P C B(i)= P C B( 1 ) P C B( 7 ) = 20 20 20 20 20 20 20 2 2 1 2
Therefore, we obtain
P A C({ } i
) = 18
7
20 20
so around 22%.
that is, B is a subset of A - you might want to look at the corresponding Venn diagram for
that (the shaded area is the intersection):
It is therefore clear that for the complementary events A , B opposite is true, i.e. A ⊂ B ,
get the equation
summing up the two gives
denote the event that the ball i is black, and let R i
i
. Then
2
1
1
2
1
1
r b.
b r b r + c r b + r + c
b + + + r c b rb + + + r c b r
three tosses of a coin.
a. Here is the list of the elements of the sample space S for the three tosses of the coin
and their assigned values of Y:
b. Assuming that the coin is biased so that a head is twice as likely to occur as a tail,
means that the probability for head is , while that of tail is. Therefore:
P HHH () =( ) 233 = 278
P HHT ( )= P HTH ( )= P THH () =( )
2
3
2
( )
1
3
27
4
P HTT () = P THT () = P TTH () =( )
2
3
( )
1
3
2
27
2
P TTT ()=( ) 1 3 3 = 271
Summarizing these results gives the probability distribution of the RV Y:
y 3 1 - 1 - 3
p(y) 8 27 12 27 6 27 1 27
The same information is represented in the following Histogram:
y ∈ − −{ 3, 1,1,3}
In order to calculate the standard deviation σ, we will use the formula σ
2
2
2
y ∈ − −{ 3, 1,1,3}
8
3
(d) The Cumulative Distribution Function is:
⎧ 0 y <− 3
t ≤ y ⎪
1 3 ≤ y
0
y
y
F y
⎝ ⎠ 4 ways of selecting any 4 CDs from 10. We can select x jazz CDs from 5
x 4 − x
ways. Hence
Summarizing these results gives the probability distribution of the RV Y:
y 0 1 2 3 4
p(y) 1/42 10/42 20/42 10/42 1/
The same information can be represented by the following histogram:
is a continuous random variable X that has the density function
⎪⎩ 0 elsewhere
1 11
2
5
2
1
2
x
2
x
5
2
(
1
2
2 5
0 0
0
0 1 2 3 4
x
(b) The probability that more than 1/4 but fewer than 1/2 of the people contacted will
respond to this type of solicitation can be formally written as
12 12
12
1
4
1
2
2
5 2
2
1
x
2
x
14 14
1 11
0 0
In order to calculate the standard deviation σ, we will use the formula σ
2
2
2
1 11
0 0
(d) The Cumulative Distribution Function:
⎧ 0 x < 0 0 x
<
x ⎪ x
1 x
1 ⎩ 1 x > 1 ⎪
x2 0 x 1
1112 2 x 3
same weight to everyone. This may sound unclear – so go over the calculation and give it
another thought. I find it important to develop such a quantitative intuition out of detailed
calculations.
b. Let’s calculate the probability distribution for both X and Y. Actually, both X and Y
assume exactly the same values. The only difference is in the assigned probabilities:
x/y 25 33 40 50
p(x) 25 148 33 148 40 148 50 148
p(y) 1 4 1 4 1 4 1 4
Thus:
xp x
x
Y yp y
y
This confirms the guess that X > Y.
2
2
x
and thus: Var X ( )= X 2 − X 2 = 240562148 −( 5814148 ) 2 82.
Similarly, Y
2
2
1
4
2
2
2
2
5814
4
y
2
2
5814
4
2
⎧ 0 x < 0
1 3 ≤ x
(b) (i) P X 1 P X 1 F
, where ε is arbitrarily small.
Pow ered by TC PDF (ww w.tc pdf.org)