Ch06 - Discrete Probability Distributions · Discrete Probability Distributions ... Variance:...
Transcript of Ch06 - Discrete Probability Distributions · Discrete Probability Distributions ... Variance:...
2/21/16
1
DiscreteProbabilityDistributions
Chapter 6Dr.Richard Jerz
© 2016 rjerz.com1
GOALS
• Define the termsprobability distribution andrandom variable.
• Distinguish between discrete andcontinuousprobability distributions.
• Calculate themean,variance,and standarddeviation ofadiscreteprobabilitydistribution.
• Describe the characteristics ofand computeprobabilities usingthe binomial probabilitydistribution.
© 2016 rjerz.com2
WhatisaProbabilityDistribution?
© 2016 rjerz.com3
Experiment: Toss a coin three times. Observe the number of heads. The possible results are: zero heads, one head, twoheads, and three heads. What is the probability distribution for the number of heads?
2/21/16
2
ADistribution
© 2016 rjerz.com4
10
9
3 32
012345678910
1 2 3 4 5 6
Coun
t
#inBag
#ofGreenM&M'sinBag
AProbability Distribution
© 2016 rjerz.com5
5.6%0.0%
50.0%
16.7% 16.7%11.1%
0.0%0%
10%
20%
30%
40%
50%
60%
1 2 3 4 5 6 7
Percen
t
#inBag
ProbabilityofGreenM&M'sinBag
ProbabilityforDiceToss
© 2016 rjerz.com6
2/21/16
3
Tossing2Dice
© 2016 rjerz.com7
ProbabilityDistribution,#Heads,3CoinTosses
© 2016 rjerz.com8
CharacteristicsofaProbabilityDistribution
• Theprobability ofaparticular outcome isbetween 0and 1inclusive
• Theoutcomes aremutually exclusive events• Thelist isexhaustive,the sumoftheprobabilities ofthevariousevents isequal to1
© 2016 rjerz.com9
2/21/16
4
RandomVariables
• Random variable- aquantity resulting fromanexperiment that,bychance, canassumedifferent values.
© 2016 rjerz.com10
TypesofRandomVariables
• Discrete Random Variable canassumeonlycertain clearlyseparated values.Itisusuallytheresult ofcounting something
• Continuous Random Variable canassumeaninfinite numberofvalues within agivenrange.Itisusually theresult ofsometypeofmeasurement
© 2016 rjerz.com11
DiscreteRandomVariablesExamples
• Thenumber ofstudents inaclass.• Thenumber ofchildren inafamily.• Thenumber ofcarsentering acarwash inahour.
• Numberofhomemortgagesapproved byCoastal FederalBanklast week.
© 2016 rjerz.com12
2/21/16
5
ContinuousRandomVariablesExamples
• Thedistance students traveltoclass.• Thetime ittakesanexecutiveto drivetowork.
• Thelength ofanafternoon nap.• Thelength oftime ofaparticular phone call.
© 2016 rjerz.com13
CharacteristicsofaDiscreteDistribution
• Themain featuresofadiscrete probabilitydistribution are:• Thesumoftheprobabilitiesofthevariousoutcomesis1.00.
• Theprobabilityofaparticularoutcomeisbetween0and1.00.
• Theoutcomesaremutuallyexclusive.
and• theitembeingmeasuredcanassumeonlycertainseparated(counted)values.
© 2016 rjerz.com14
TheMeanofaProbabilityDistribution
• The mean is a typical value used to represent the central location of a probability distribution.
• The mean of a probability distribution is also referred to as its expected value.
© 2016 rjerz.com15
[ ( )]xP xµ =∑
2/21/16
6
Similarto“WeightedMean”
• Theweighted meanofasetofnumbersX1,X2,...,Xn,withcorresponding weights w1,w2,...,wn,iscomputed fromthe followingformula:
© 2016 rjerz.com16
1 1 2 2
1 2
n nw
n
w X w X w XXw w w+ + +
=+ + +
KK
TheVarianceandStandardDeviation
• Measurestheamount ofspreadinadistribution
• Thecomputational stepsare:1. Subtractthemeanfromeachvalue,andsquare
thisdifference.2. Multiplyeachsquareddifferencebyits
probability.3. Sumtheresultingproductstoarriveatthe
variance.
• Thestandard deviation isfound bytakingthesquarerootof thevariance.
© 2016 rjerz.com17
2 2[( ) ( )]x u P xσ = −∑Mean,Variance,andStandardDeviationExample
• JohnRagsdalesellsnewcarsforPelicanFord.JohnusuallysellsthelargestnumberofcarsonSaturday.HehasdevelopedthefollowingprobabilitydistributionforthenumberofcarsheexpectstosellonaparticularSaturday.
© 2016 rjerz.com18
2/21/16
7
MeanofaProbabilityDistributionExample
© 2016 rjerz.com19
VarianceandStandardDeviationExample
© 2016 rjerz.com20
BinomialProbabilityDistribution(discrete)
Characteristics:• Thereareonlytwo possible outcomes on aparticular trial ofanexperiment.
• Theoutcomes aremutually exclusive,• Therandom variableistheresult ofcounts.• Eachtrial isindependent ofanyothertrial• Examples:
• Yesorno• Trueorfalse• Onoroff• Correctorincorrect
© 2016 rjerz.com21
2/21/16
8
TreeDiagrams
© 2016 rjerz.com22
BinomialTree
© 2016 rjerz.com23
BinomialProbabilityFormula
Where• Cdenotes acombination.• n isthenumber oftrials• xisthe randomvariable defined asthenumber ofsuccesses.
• πisthe probability ofasuccesson eachtrial
© 2016 rjerz.com24
2/21/16
9
ExamplewithM&M’s
© 2016 rjerz.com25
Brown M&M (Binomial)
0.00
0.20
0.40
0.60
0.80
1.00
0 >0
2 Conditions
Prob
abili
ty
Question:
• What isthe probability that2out of4bagshavebrownM&M’s?• N=4,x=2,π = .86,
• How about 3out of4bagshavingbrownM&M’s?• N=4,x=3,π = .86
• How about between 2and3out of4bagshavingbrownM&M’s?• N=4,x=3?,π = .86
© 2016 rjerz.com26
Example:BinomialProbability
• Therearefiveflightsdaily fromPittsburghviaUSAirways intotheBradfordPennsylvaniaRegionalAirport.Supposetheprobabilitythatany flightarriveslateis.20.
• Whatistheprobabilitythatnoneoftheflightsarelatetoday?
© 2016 rjerz.com27
2/21/16
10
BinomialDistributionMeanandVariance
• Meanofabinomial distribution
• Variance ofabinomial distribution
© 2016 rjerz.com28
BinomialDist.– MeanandVariance:Example
• Fortheexampleregardingthenumberoflateflights,recallthatπ =.20andn=5.
• Whatistheaveragenumberoflateflights?
• Whatisthevarianceofthenumberoflateflights?
© 2016 rjerz.com29
BinomialDist.- MeanandVariance:AnotherSolution
© 2016 rjerz.com30
2/21/16
11
BinomialDistribution- Table• Fivepercentofthewormgearsproducedbyanautomatic, high-speedCarter-Bell millingmachine aredefective.What is theprobabilitythat outof sixgears selectedat random nonewillbedefective?Exactly one?Exactly two?Exactly three?Exactly four?Exactly five?Exactlysixoutofsix?
© 2016 rjerz.com31
Binomial – ShapesforVaryingπ(n constant)
© 2016 rjerz.com32
Binomial– ShapesforVaryingnwith(π constant)
© 2016 rjerz.com33
2/21/16
12
CumulativeBinomialProbabilityDistributions
• AstudyinJune 2003bytheIllinoisDepartment ofTransportation concluded that76.2percentoffront seatoccupants usedseatbelts. Asample of12vehicles isselected.What istheprobability thefrontseatoccupants in atleast7ofthe12vehiclesarewearing seatbelts?
© 2016 rjerz.com34
BinomialProbability- Excel
© 2016 rjerz.com35
CumulativeBinomialProbabilityDist.InExcel
© 2016 rjerz.com36