Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
94 views4 pages

Discrete Random Variable

The document discusses discrete random variables and their probability distributions. It provides examples of probability distributions for the number of heads from coin flips and the number of tattoos students have. It also explains how to calculate cumulative probabilities by adding the individual probabilities.

Uploaded by

Lugabaluga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views4 pages

Discrete Random Variable

The document discusses discrete random variables and their probability distributions. It provides examples of probability distributions for the number of heads from coin flips and the number of tattoos students have. It also explains how to calculate cumulative probabilities by adding the individual probabilities.

Uploaded by

Lugabaluga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

11/19/2016

5.2DiscreteRandomVariables|STAT200

STAT200
ElementaryStatistics

5.2DiscreteRandomVariables
Printerfriendlyversion (https://onlinecourses.science.psu.edu/stat200/print/book/export/html/35)
Probabilitydistribution:Atable,graph,orformulathatgivestheprobabilityofagivenoutcome'soccurrence

ProbabilityDistribution
Foradiscreterandomvariable,itsprobabilitydistribution(alsocalledtheprobabilitydistributionfunction)is
anytable,graph,orformulathatgiveseachpossiblevalueandtheprobabilityofthatvalue.
Note:Thetotalofallprobabilitiesacrossthedistributionmustbe1,andeachindividualprobabilitymustbe
between0and1,inclusive.

Example
Whatifweflippedafaircoinfourtimes?Whatarethepossibleoutcomes
andwhatistheprobabilityofeach?
Figure1belowisaprobabilitydistributionforthenumberofheadsin4
flipsofacoin.GiventhatP(Heads)=.50,theprobabilityofnotflipping
headsatallis1/16,or.0625.In6.25%ofalltrials,wecanexpectthat
therewillbenoheads.ThismaybewrittenasP(X=0)=.0625.Similarly,theprobabilityofflipping
headsonceinfourtrialsis4/16,or.25.In25%ofalltrials,wecanexpectthatheadswillbeflipped
exactlyonce.ThismaybewrittenasP(X=1)=.25.
Thisprobabilitydistributioncouldbeconstructedbylistingall16possiblesequencesofheadsand
tailsforfourflips(i.e.,HHHH,HTHH,HTTH,HTTT,etc.),andthencountinghowmanysequences
thereareforeachpossiblenumberofheads.Or,insection5.4youwillseehowthesecouldbe
computedusingbinomialrandomvariabletechniques.
Figure1.ProbabilityDistributionforNumberofHeadsin4FlipsofaCoin
Heads

Probability

1/16

4/16

6/16

4/16

1/16

https://onlinecourses.science.psu.edu/stat200/node/35

1/4

11/19/2016

5.2DiscreteRandomVariables|STAT200

Example
Acensuswasconductedatauniversity.Allstudentswereaskedhow
manytattoostheyhad.
Figure2presentsaprobabilitydistributionforthediscretevariableof
numberoftattoosforeachstudent.Fromthistablewecanfindthat85%
ofstudentsinthepopulationdonothaveatattoo,12%ofstudentsinthe
populationhaveonetattoo,1.5%ofstudentsinthepopulationhavetwotattoos,andsoon.Thiscould
bewrittenasP(X=0)=.85,P(X=1)=.12,P(X=2)=.015,etc.

Figure2.ProbabiltyDistributionforNumberofTattoosEachStudentHasina
PopulationofStudents
Tattoos

Probability

.850

.120

.015

.010

.005

CumulativeProbabilities
Cumulativeprobability:Likelihoodofanoutcomelessthanorequaltoagivenvalueoccuring
Tofindacumulativeprobabilityweaddtheprobabilitiesforallvaluesqualifyingas"lessthanorequal"tothe
specifiedvalue.

Example
Supposewewanttoknowtheprobabilitythatthenumberofheadsinfourflipsislessthantwo.Ifwe
letXrepresentnumberofheadswegetonfourflipsofacoin,then:
Becausethisisadiscretedistribution,theprobabilityofflippinglessthantwoheadsisequalto
flippingoneorzeroheads:
P (X < 2) = P (X = 0 1)

Theprobabilityofflipping1headandtheprobabilityofflipping0headsaremutuallyexclusive
events.Thus,P (0 1) = P (X = 0) + P (X = 1)
WecanusethevaluesfromFigure1abovetosolvethisequation.

P (X = 0) + P (X = 1) = (1/16) + (4/16) = 5/16

Cumulativedistribution:Alistingofallpossiblevaluesalongwiththeprobabilityofthatvalueandalllower
valuesoccuring(i.e.,thecumulativeprobability)
https://onlinecourses.science.psu.edu/stat200/node/35

2/4

11/19/2016

5.2DiscreteRandomVariables|STAT200

Example
Cumulativeprobabilitiesarefoundbyaddingtheprobabilityuptoeachcolumnofthetable.InFigure
3wefindthecumulativeprobabilityforoneheadbyaddingtheprobabilitiesforzeroandone.The
cumulativeprobabilityfortwoheadsisfoundbyaddingtheprobabilitiesforzero,one,andtwo.We
continuewiththisprocedureuntilwereachthemaximumnumberofheads,inthiscasefour,which
shouldhaveacumulativeprobabilityof1.00because100%oftrialsmusthavefourorfewerheads.
Figure3.ProbabilityDistributionandCumulativeDistributionforNumberof
Headsin4Flips.
Heads

Probability

1/16

4/16

6/16

4/16

1/16

Cumulative
Probability

1/16

5/16

11/16

15/16

Example
Let'sconstructacumulativedistributionforthedataconcerningnumberoftattoos.
Figure4.ProbabilityDistributionandCumulativeDistributionforNumberof
TattoosEachStudentHasinaPopulationofStudents.
Tattoos

Probability

.850

.120

.015

.010

.005

Cumulative
Probability

.850

.970

.985

.995

Notethatthecumulativeprobabilityforthelastcolumnisalways1.Thatis,100%oftrialswillbelessthanor
equaltothemaximumvalue.
5.1RandomVariables(/stat200/node/142)

https://onlinecourses.science.psu.edu/stat200/node/35

up

5.3ExpectedValueofaDiscreteRandom
(/stat200/node/34)
Variable(/stat200/node/36)

3/4

11/19/2016

https://onlinecourses.science.psu.edu/stat200/node/35

5.2DiscreteRandomVariables|STAT200

4/4

You might also like