Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Homeworks 1 Solutions - Introduction to Probability and Statistics | MATH 360, Assignments of Probability and Statistics

Material Type: Assignment; Class: Intro Probability/Stats; Subject: Mathematics; University: Loyola Marymount University; Term: Spring 2005;

Typology: Assignments

Pre 2010

Uploaded on 08/18/2009

koofers-user-5nv-1
koofers-user-5nv-1 🇺🇸

10 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 360: Introduction to Probability and Statistics, Spring
2004, Section 01, CRV 71243
Homework 01 Key for Thursday, 27 Jan 2005, 3pm PST. Please see the accompanying Excel
workbook for my calculations.
1. The table below gives a probability mass function for a random variable X.
x 012345
p(x) 0.35 0.1 0.15 0.3 0.05 0.05
Verify that the table does in fact define a probability mass function.
Find the mean.
Find the variance.
Find the standard deviation.
Sketch a graph of this probability mass function.
Find . )2( =XP
Find . )2( >XP
Find . )2( XP
Part a. 0.35+0.10+0.15+0.30+0.05+0.05 = 1. All p(x)’s are between 0 and 1. Yep, it’s a pmf.
Part b.
=
=+++++== 5
0
75.105.*505.*430.*315.*210.*135.*0)(
x
xxp
µ
Part c.
()
3875.205.*)25.3(05.*)25.2(30.*)25.1(
15.*)25(.10.*)75.(35.*)75.1()(75.1
222
222
5
0
2
2
=+++
++==
=x
xpx
σ
Part d. 5452.13875.2
2===
σσ
Part e:
Problemn 1 pmf
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
012345
x values
p(x) values
Problemn 1 pmf
Part f. 15.0)2()2( === pXP
Part g. 40.0)5()4()3()5or 4or 3()2( =
+
+
=
=
=
==> pppXXXPXP
Part h. 60.0)2(1)2(
=
>= XPXP
.0)2()1()0()2(
OR you can
sum:60
=
++= pppXP
pf3
pf4
pf5

Partial preview of the text

Download Homeworks 1 Solutions - Introduction to Probability and Statistics | MATH 360 and more Assignments Probability and Statistics in PDF only on Docsity!

Math 360: Introduction to Probability and Statistics, Spring

2004, Section 01, CRV 71243

Homework 01 Key for Thursday, 27 Jan 2005, 3pm PST. Please see the accompanying Excel

workbook for my calculations.

  1. The table below gives a probability mass function for a random variable X.

x 0 1 2 3 4 5 p(x) 0.35 0.1 0.15 0.3 0.05 0.

ƒ Verify that the table does in fact define a probability mass function. ƒ Find the mean. ƒ Find the variance. ƒ Find the standard deviation. ƒ Sketch a graph of this probability mass function.

ƒ Find P ( X = 2 ).

ƒ Find P ( X > 2 ).

ƒ Find P ( X ≤ 2 ).

Part a. 0.35+0.10+0.15+0.30+0.05+0.05 = 1. All p(x)’s are between 0 and 1. Yep, it’s a pmf.

Part b. ∑

=

5

0

x

μ xp x

Part c.

2 2 2

2 2 2

5

0

2 2

x =

σ x px

Part d. 2. 3875 1. 5452

2

Part e:

Problemn 1 pmf

0

0 1 2 3 4 5

x values

p(x) values

Problemn 1 pmf

Part f. P ( X = 2 )= p ( 2 )= 0. 15

Part g. P ( X > 2 )= P ( X = 3 or X = 4 or X = 5 )= p ( 3 )+ p ( 4 )+ p ( 5 )= 0. 40

Part h. P ( X ≤ 2 )= 1 − P ( X > 2 )= 0. 60

( 2 ) ( 0 ) ( 1 ) ( 2 ) 0.

OR you can

sum : P X ≤ = p + p + p = 60

  1. A jar contains 6 fair coins and 2 biased coins. The two biased coins have a probability of

heads of 0.90. We reach into the jar, pull out a coin, and flip it six times. Find the probability of flipping at least four Hs.

The experiment involves two basic steps: drawing the coin out of the jar, and then flipping

the drawn coin six times. Were you to detail the sample space, it would have to contain

outcomes of the form Here C denotes the coin you drew (there

are eight different C’s two of which are biased, and six of which are fair). The F’s denote the

flip outcomes. For each F, the value is H or T for heads or tails. You Computer Scientists

may wish to use 0 and 1 in place of H and T. Rather than write out all the possible outcomes

and count the number that have at least 4 H’s in the six flips, we’re going to you conditional

probabilities.

( C , F 1 , F 2 , F 3 , F 4 , F 5 , F 6 ).

Let X denote the number of H’s in 6 flips. Let Y be =0 if the coin is biased, and Y=1 if the

coin is fair.

( 4 and 0) ( 4 and 1 )

( 4 ) ( 4 and 0 )or( 4 and 1 )

PX Y PY P X Y P Y

PX Y P X Y

P X P X Y X Y

In the first line of the computation, we are looking at the outcomes that produce at least 4

H’s, and we are grouping them together into two events, that the coin is biased, or that the

coin is fair. Noting that the coin cannot be both fair and biased at the same time, the

probability of the “or” becomes the sum of the probabilities, leading to the second line. The

third line applies the definition of conditional probability. At this point, we may use exactly

what we know in the problem statement. 0. 75 8

P ( Y = 0 )= = PY = = = are

the probabilities associated with the coin draw. Given that the coin is fair, the probabilities

for X are determined with the binomial, using n=6 and p=0.5. Given that the coin is biased,

the probabilities for X are determined with the binomial, using n=6 and p=0.9.

6

6

4

6

6

4

= + =

=

=

x x

x

x x

x x x

P X

The above number and the associated computations constitute the solution of this problem.

However, some discussion is in order. There are two important principles in play here:

ƒ P ( A )= P ( A and B )+ P ( A and"not B ")for any events A and B. Here “not

B ” means all outcomes that are not in the event B.

ƒ P ( A and B )= P ( A | B ) P ( B )for any events A and B.

We have one last discussion point, before the next problem. It is important to understand the

distinction between. Here the probability that was “easy” to

compute is for y=0,1. The important distinction is that

P ( A and B )and P ( A | B )

P ( X ≥ 4 | Y =y ) given the

knowledge of the coin type (fair of biased), the binomial can be used to predict the

probabilities of the flips. Think about dealing two cards from a deck. What’s the probability

of dealing an Ace and then a second Ace? What’s the probability of dealing an Ace for the

second card given that you dealt an Ace on the first card?

  1. The Poisson pmf is used to model random events occurring in sequence for a fixed duration. For example, when we are monitoring the number of arrivals into a line at the bank, we would use the Poisson to predict probabilities for number of arrivals. If the average arrival rate is 25 customers per hour, find the probability that we receive exactly 5 customers in a 12 minute period. Find the probability that we receive exactly 3 customers in a 12-minute period. Find the probability that we receive exactly 3 customers in a 10-minute period. Use the formulas on the handout.

Part a. Exactly 5 customers in a 12-minute period. Here λ = 25 *( 12 / 60 )= 5. The Poisson

formula is 0. 175467 5!

5 = =

λ (^) −λ p e

Part b. Exactly 3 in a 12-minute period. Again λ = 25 *( 12 / 60 )= 5 , and the Poisson

computation is 0. 140374 3!

3 = =

λ (^) −λ p e

Part c. Exactly 3 in a 10-minute period. Here λ = 25 *( 10 / 60 )= 25 / 6 ≈ 4. 166667 , and the

Poisson computation is 0. 18692 3!

3 = =

λ (^) −λ p e

  1. The Geometric probability mass function is used to model the number of trials required to conduct until the first success occurs. For example, a certain product is effective 95% of the times it is used. Use the geometric pmf to determine the probability that the first failure occurs on the 10

th try. Find the probability that the first failure occurs on or before the 10

th try.

The probability of success is p=0.95.

Part a. ( 10 ) ( 0. 95 ) ( 0. 05 ) 0. 031512

9 p = =

Part b. On or before 10 means 1 or 2 or 3 or … or 9 or 10. Add up the geometric probs.

∑^ (^ )

=

10

1

1

  1. 95 ( 0. 05 ) 0. 401263 x

x