45
Chapter 5: Probability Distribution

Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Embed Size (px)

Citation preview

Page 1: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Chapter 5:Probability Distribution

Page 2: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Types of Variables

Chapter 1: Variable definitionA characteristic or attribute that can assume

different values.

Chapter 5: Random variableA variable whose value are determined by

chance.

Page 3: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Random Variables

Variables whose values are determined by chance.

Two Types of Variables1. Discrete

• Finite number of possible values2. Continuous

• Assumes all values between two values

Page 4: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Discrete Probability Distribution

Consists of the values a random variable can assume and the corresponding probabilities of the values. The probabilities are determined theoretically or by observations

Page 5: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

What does this mean?

Example: Constructing a probability distribution

for rolling a single dieSolution:

Sample Space: 1, 2, 3, 4, 5, 6Probability: each has 1/6 of a

chance

Page 6: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Construction a Probability Distribution

First, make a tableThe Outcomes are placed on topThe probabilities are placed on the bottom

Outcome X 1 2 3 4 5 6

Probability

P(X)16

16

16

16

16

16

Page 7: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Construction a Probability Distribution

Second, make a chartP(X)

X

1

12

16

1 2 3 4 5 6 7

Page 8: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Rules of Probability Distribution

Rule 1:The sum of the probabilities of all the events

in the sample space must equal 1∑P(X)=1

Rule 2:The probability of each event in the sample

space must be between or equal to 0 and 10≤ P(X) ≤1

Page 9: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Practice

Page 258 #’s 1-25

Page 10: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Chapter 5 Section 2

Finding the Mean of Probability Distribution Formula μ= ∑X*P(X)

1. Mu(μ)= mean

2. ∑ = sum of

3. X= outcomes

4. P(X)= probability of outcomes

Page 11: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Example of Probability Distribution Mean

Find the average number of spots that appear when a die is tossed.

Probability

P(X)

654321Outcome X

16

16

16

16

16

16

Page 12: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Example continued

μ= ∑X*P(X)μ= X •P(X ) + X •P(X ) + X •P(X ) + … + X •P(X )

μ= 1• + 2• + 3• + 4• + 5• + 6•

μ= 21 = 3.5

μ= 3.5*

1 1 2 2 3 3 n

n

16

16

16

16

16

16

6

* Theoretically mean because there cannot be a 3.5 rolled with a die

Page 13: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Rounding Rule

The rounding rule for Mean, Standard Deviation, and Variance is:

Page 14: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Formula for Variance of Probability Distribution

Formula: σ²= ∑[X²•P(X)] - μ²

1. σ = sigma = sum

2. Mu(μ)= mean

3. ∑ = sum of

4. X= outcomes

5. P(X)= probability of outcomes

Page 15: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Variance of Probability Distribution

Probability

P(X)

654321Outcome X

16

16

16

16

16

16

σ²= ∑[X²•P(X)] - μ²1²•1/6+2²•1/6+3²•1/6+4²•1/6+5²•1/6+6²•1/615.1715.17-12.25 2.9 = σ²

- μ²- 3.5²

Page 16: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Finding Standard Deviation of a Probability Distribution

Formula:σ = √σ²σ = √2.9σ = 1.7

Page 17: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Assignment:

Page 267#’s 1-10

Page 18: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Expected Value Example

One thousand tickets are sold at $1 each for a $350 TV. What is the expected value of the gain if you purchase one ticket?

Page 19: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Table Set Up for Expected Value

Probability

-$1$349Gain

LoseWin

11,000

9991,000

E(X) = 349 • + (-1) • = 1

1,000999

1,000E(X) = -$0.65

This does not mean that you will lose $.65 if you participate. It means the that average lose of every person who plays will be $.65

Page 20: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Expected Value

Formulaμ= ∑X*P(X)

1. E(X) = expected value

2. ∑ = sum of

3. X= outcomes

4. P(X)= probability of outcomes

E(X)= ∑X*P(X)

Page 21: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Is it fair?

How is a gambling game fair?The expected value of the game is zero.

Who does it favor?Expected value

Positive: The playerNegative: The house

Example:Roulette: House wins $0.90 on every $1 betCraps: House wins $0.88 on every $1 bet

Page 22: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Your turn

One thousand tickets are sold at $1 each for four prizes ($100, $50, $25 and $10). After each prize drawing, the winning ticket is then returned to the pool of tickets. What is the expected value?

Page 23: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Table

Gain

Prob

Page 24: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Practice

Page # 26812-18 even

Page 25: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Chapter 5 Section 3 The Binomial Distribution

The Binomial Experiment

1. There must be a fixed number of Trials

2. Each Trial can have only two outcomes

1. Successful

2. Failure

3. Outcomes must be independent of each other

4. The probability must remain the same for each trial

Page 26: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Binomial Probability Formula

!( )

( )! !x n Xn

P X p qn X X

•P(S) The symbol for the probability of success

•P(F) The symbol for the probability of failure

•p The numerical probability of success

•q The numerical probability of failure

•n The number of trials

•X The number of successes in n trials

Page 27: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Example:

A coin is tossed 3 times. Find the probability of getting exactly two heads.

!( )

( )! !x n Xn

P X p qn X X

n = 3

X = 2

p = 1/2

q = 1/2

2 3 23! 1 1(2 )

(3 2)!2! 2 2P heads

(2 ) 0.375P heads

Page 28: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Page 277 # 4

A burglar alarm system has six fail-safe components. The probability of each failing is 0.05. Find these probabilities.

Exactly three will failFewer than two will failNone will fail

Page 29: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Exactly three will fail

n = 6X = 3p = 0.05q = 0.95

Use chart

0.002

Page 30: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Fewer than two will fail

n = 6X = 1 or 0p = 0.05q = 0.95

1 0or

0.232 0.735+0.967

Page 31: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

None will fail

n = 6X = 0p = 0.05q = 0.95

0.735

Page 32: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Your turn

Page 277-278#’s 11-12

Page 33: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Binomial Distribution

Mean Formula:μ = n • p

Variance Formula:σ²= n • p • q

Standard Deviation Formula:σ=√n • p • q

Page 34: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Examples:

No Examples today. I think you can handle it.

Page 278#’s 14-27

Page 35: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Multinomial Distribution

31 21 2 3

1 2 3

!( )

! ! ! !KXX X X

KK

nP x p p p p

X X X X

1

2

3

5

3

1

1

n

X

X

X

1

2

3

.50

.30

.20

p

p

p

3 1 15!( ) .5 .3 .2

3!1!1!P x

( ) .15P x

Page 36: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Page 284 Example 5-25

In a music store, a manager found that the probabilities that a person buys 0, 1, or 2 or more CDs are 0.3,.6, and .1 respectively. If 6 customers enter the store, find the probability that 1 won’t buy any CD’s, 3 will buy 1 CD, and 2 will buy 2 or more CDs.

1

2

3

6

1

3

2

n

X

X

X

1

2

3

.30

.60

.10

p

p

p

( ) 0.03888P X

Page 37: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Practice

Page 290 #’s 1-6

Page 38: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

The Poisson Distribution

A discrete probability distribution that is useful when n is large and p is small and when the independent variables occur over a period of time.Ex: area, volume, time

Page 39: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Formula

( ; )!

xeP X

X

The letter e is a constant approximately equal to 2.7183

Answers are rounded to four decimal places

Page 40: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Problem

If there are 200 typographical errors randomly distributed in a 500 page novel, find the probability that a given page contains exactly three errors.

Page 41: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Hypergeometric Distribution

Given a population two typesEx: male and femaleSuccess and failure

Without replacementMore accurate than Binomial Distribution

Page 42: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Formula

a x b n X

a b n

C C

C

a = population 1b = population 2n = total sectionX = selection wanted

Page 43: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Example

Ten people apply for a job. Five have completed college and five have not. If a manager selects three applicants at random, find the probability that all three are graduates.

a = college graduates = 5b = nongraduates = 5n = total section = 3X = selection wanted = 3

Page 44: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Page 287 Example 5-30

a x b n X

a b n

C C

C

5 3 5 3 3

5 5 3

C C

C

a = college graduates = 5b = nongraduates = 5n = total section = 3X = selection wanted = 3

Page 45: Chapter 5: Probability Distribution. Types of Variables Chapter 1: Variable definition A characteristic or attribute that can assume different values

Practice

Page 291#’s 17-21