Top Banner
Binomial Distribution And general discrete probability distributions...
22

Binomial Distribution And general discrete probability distributions...

Dec 22, 2015

Download

Documents

Willa McGee
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Binomial Distribution And general discrete probability distributions...

Binomial Distribution

And generaldiscrete probability distributions...

Page 2: Binomial Distribution And general discrete probability distributions...

Random Variable

• A random variable assigns a number to a chance outcome or chance event.

• The definition of the random variable is denoted by uppercase letters at the end of alphabet, such as W, X, Y, Z.

• The possible values of the random variable are denoted by corresponding lowercase letters w, x, y, z.

Page 3: Binomial Distribution And general discrete probability distributions...

Examples: Discrete random variables

• W = number of beers randomly selected student drank last night, w = 0, 1, 2, …

• X = number of aspirin randomly selected student took this morning, x = 0, 1, 2, ...

• Y = number of children in a family with children, y = 1, 2, 3, ...

Page 4: Binomial Distribution And general discrete probability distributions...

Discrete Probability Distribution

• A discrete probability distribution specifies:– the possible values of the random variable, and– the probability that each outcome will occur

Page 5: Binomial Distribution And general discrete probability distributions...

Example: Discrete probability distribution

• Let X = number of natural brothers PSU students have. X = 0, 1, 2, ...

• P(X=0) = 0.41

• P(X=1) = 0.45

• P(X=2) = 0.11

• P(X=3) = 0.03

Page 6: Binomial Distribution And general discrete probability distributions...

Example: Graphically …

0 1 2 3

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0.35

0.40

0.45

X, number of brothers

Pro

babi

lity

Page 7: Binomial Distribution And general discrete probability distributions...

Example: Discrete probability distribution

• Let X = the number selected when a student picks a number between 0 and 9.

• If students pick number randomly, then the probability of picking any number is 0.10.

• That is, P(X = 0) = … = P(X = 9) = 0.10

Page 8: Binomial Distribution And general discrete probability distributions...

Example: Binomial random variable

• Student told 3 statements -- 2 true, 1 false.

• Student tries to identify false statement.

• Student does this 3 different times.

• Let X = the number of times student correctly identifies the false statement. Then, X = 0, 1, 2 or 3.

Page 9: Binomial Distribution And general discrete probability distributions...

• independent trials: a student’s success or failure on one try doesn’t affect success or failure on another try

Binomial Random VariableA special kind of discrete random variable having the following four characteristics:

• 2 possible outcomes denoted “success” or “failure”: student picks either false statement or true statement.

• p = P(“success”) is same for each trial: if just guessing, a student has probability of 1/3 of picking false statement.

• n identical “trials”: student tries to guess 3 times

Page 10: Binomial Distribution And general discrete probability distributions...

Is X binomial?

Probability student smokes pot regularly is 0.25.

College administrator surveys students until finds one who smokes pot.

Let X = number of students surveyed.

Page 11: Binomial Distribution And general discrete probability distributions...

Is X binomial?

Unknown to quality control inspector, crate of 50 light bulbs contain 3 defective bulbs.

QC inspector randomly selects 5 bulbs “without replacement”.

Let X = number of defective bulbs in inspector’s sample.

Page 12: Binomial Distribution And general discrete probability distributions...

Is X binomial?

Unknown to us, the probability an American thinks Clinton should have been removed from office is 0.29.

Gallup poll surveys 960 Americans.

Let X = number of Americans in sample who think Clinton should have been removed from office.

Page 13: Binomial Distribution And general discrete probability distributions...

Is X binomial?

Students pick one number between 0 and 9.

Let X = number of students who pick the number “7”

Page 14: Binomial Distribution And general discrete probability distributions...

Example: Binomial r.v.

Outcome X P(X=x)

NNN 0 1(0.1)0(0.9)3

YNNNYNNNY

1 3(0.1)1(0.9)2

YYNYNYNYY

2 3(0.1)2(0.9)1

YYY 3 1(0.1)3(0.9)0

Let 3 students pick. Let Y = #7 and N = not #7

Page 15: Binomial Distribution And general discrete probability distributions...

Binomial Probability Distribution

P(X = x) = (# of ways x occurs) × px × (1-p)n-x

= n!/[x!(n-x)!] × px × (1-p)n-x

Where “n-factorial” is defined as n!= n (n-1) (n-2) … 1

and 0! = 1

Page 16: Binomial Distribution And general discrete probability distributions...

Examples: n!

5! = 5 × 4 × 3 × 2 × 1 = 120

4! = 4 × 3 × 2 × 1 = 24

3! = 3 × 2 × 1 = 6

2! = 2 × 1 = 2

1! = 1

Page 17: Binomial Distribution And general discrete probability distributions...

Example: Binomial Formula

Guessing game. Let n = 3 and p = 0.33. Then:

P(X = x) = n!/[x!(n-x)!] × px × (1-p)n-x

P(X = 0) = 3!/[0!(3-0)!] × 0.330 × (0.67)3-0

= 6/(1×6) × 1 × 0.673 = 0.30

P(X = 1) = 3!/[1!(3-1)!] × 0.331 × (0.67)3-1

= 3 × 0.33 × 0.672 = 0.44

Page 18: Binomial Distribution And general discrete probability distributions...

Example (continued)

P(X = 2) = 3!/[2!(3-2)!] × 0.332 × (0.67)3-2

= 3 × 0.1089 × 0.67 = 0.22

P(X = 3) = 3!/[3!(3-3)!] × 0.333 × (0.67)3-3

= 1 × 0.037 × 1 = 0.04

Note: 0.30 + 0.44 + 0.22 + 0.04 = 1

Page 19: Binomial Distribution And general discrete probability distributions...

Using binomial probabilities to draw a conclusion

If students did just randomly guess which statement was false, we’d expect the random variable X to follow a binomial distribution?

Can we conclude that students did not guess the false statements randomly?

Page 20: Binomial Distribution And general discrete probability distributions...

Using binomial probabilities to draw a conclusion

If students do indeed pick a number between 0 and 9 randomly, how likely is it that we would observe the sample we did?

Can we conclude that students do not pick numbers randomly?

Page 21: Binomial Distribution And general discrete probability distributions...

Using binomial probabilities to draw a conclusion

Could the space shuttle Challenger disaster of January 28, 1986 have been better predicted? And therefore prevented?

Page 22: Binomial Distribution And general discrete probability distributions...

Moral

• Probability calculations are used daily to draw conclusions and make important decisions.

• Calculated probabilities are accurate only if the assumptions made are indeed correct.

• Always check to see if your assumptions are reasonable.