MATH 20: PROBABILITY Expected Value of Discrete Random Variables Xingru Chen xingru.chen.gr@dartmouth.edu XC 2020
Important Distributions Hypergeometric Discrete Uniform Distribution Distribution π π = 1 $ &"$ % !"% β π, π, π, π¦ = π & ! Negative Binomial Binomial Distribution Distribution π π, π, π = π π£ π¦, π, π π π $ π !"$ = π¦ β 1 π β 1 π $ π %"$ Geometric Poisson Distribution Distribution π π = π = π $ π π = π = π !"# π π! π "' XC 2020
Average Score of a Pre-employment Psychometric Test poor good 1 2 3 4 5 6 7 8 9 10 10 Scot Sc ott Su Summers Ra Raven Darkh kholme Av Average Ki Kitty Pr Pryde He Henry Ha Hank McCoy Bobby Drake ke Er Eric Leh Lehns nser err Je Jean Gr Grey Em Emma Fr Frost Charles Xa Xavier Ja James Logan Howlett XC 2020
1 2 3 4 5 6 7 8 9 10 10 Average π Sc Scot ott Su Summers 5 + 7 + 6 + 2 + 4 + 7 + 9 + 6 + 10 + 2 Ra Raven Darkh kholme 10 = 5.8 Ki Kitty Pr Pryde He Henry Ha Hank McC McCoy 2Γ2 + 4 + 5 + 2Γ6 + 2Γ7 + 9 + 10 = 5.8 Bobby Drake ke 10 Eric Er Leh Lehns nser err Jean Je Gr Grey 5 Γ2 + 1 1 10 Γ4 + 1 5 Γ6 + 1 5 Γ7 + 1 10 Γ9 Emma Em Fr Frost + 1 Charles Xa Xavier 10 Γ10 = 5.8 James Ja Logan Howlett Ho Av Average π # frequencyΓvalue !β# XC 2020
Expected Value Β§ Let π be a numerica cally-val valued discrete random variable with sample space Ξ© and distribution function π(π¦) . The expected value πΉ(π) is de fi ned by πΉ π = β !β$ π¦π(π¦) , provided this sum con olutely . converges abs bsol Β§ The expected value πΉ(π) is often referred to as the mean, and can be denoted by π for short. Β§ If the above sum does not converge absolutely, then we say π does not have an expected value. | # π¦π π¦ | < β ! !β$ XC 2020
Law of Large Numbers The Law of Large Numbers can help us justify frequency concept of probability and the interpretation of expected value as the average value to be expected in experiments repeated a large number of times. Expect cted value π(π) # π¦π(π¦) !β$ Average π Av # frequencyΓvalue !β# XC 2020
Example 1 Tos oss a coi coin head or tail π π¦ = 1 2 πΉ π = β― XC 2020
Example 2 Rol oll a dice ce 1, 2, 3, 4, 5, or 6 π π¦ = 1 6 πΉ π = β― XC 2020
Example 3 Suppose that we fl ip a coin until a head fi rst appears, and if the number of tosses equals π , then we are paid π dollars. What is the expected value of the payment? Expect cted value π(π) # π¦π(π¦) !β$ () () () %*' % π 1 (1 π 1 ππ %*' π = # # 2) = # = 2 2 2 %&' %&' %&' (1/2 + 1/4 + 1/8 + β― ) + (1/4 + 1/8 + 1/16 + β― ) + (1/8 + 1/16 + β― ) + β― = 1 + 1/2 + 1/4 + 1/8 + β― = 2 XC 2020
Example 3 (continued) Suppose that we fl ip a coin until a head fi rst appears, and if the number of tosses equals π , 2 % dollars. What then we are paid is the expected value of the payment? Expect cted value π(π) # π¦π(π¦) !β$ () () () % 2 % 1 2 % π %*' π = # # = # 1 = +β 2 %&' %&' +&' | # π¦π π¦ | < β ! !β$ XC 2020
Example 4 Consider the general Bernoulli trial process. As usual, we let π = 1 if the outcome is a success and 0 if it is a failure. Expect cted value π(π) Ber Bernoulli t tria ial # π¦π(π¦) π, π = 1 !β$ π π¦ = K 1 β π, π = 0 1Γπ + 0Γ 1 β π = π XC 2020
Binomia Bin ial π π, π, π = π π π , π %*, πΉ π = ππ Ge Geometric πΉ π = 1 π π = π = π %*' π π Po Poisson π π = π = π , πΉ π = π π! π *- Negative Ne binomi omial πΉ π = π π π£ π¦, π, π = π¦ β 1 π β 1 π , π !*, π Hy Hyper ergeo eomet etric ic , .*, πΉ π = π π ! %*! β π, π, π, π¦ = . π % XC 2020
Binomial Distribution and Poisson Distribution Bi Binomial Dist stribution π π, π, π = π π π $ π !"$ Poisson Po Distribution π π = π = π $ π! π "' π = -/ = % , π’ = 1 , π β β XC 2020
Bin Binomia ial π π, π, π = π π π , π %*, πΉ π = ππ Expect cted value π(π) # π¦π(π¦) !β$ % % % π π π π π! π π , π %*, = # π π , π %*, = # π! π β π ! π , π %*, # π ,&0 ,&' ,&' % % (π β 1)! π β 1 (π β 1)! π β π ! π ,*' π %*, = ππ # π β 1 π ,*' π %*, = # ππ ,&' ,&' %*' π β 1 π 1 π %*'*1 = ππ = ππ # π 1&0 XC 2020
Po Poisson π π = π = π , πΉ π = π π! π *- Expect cted value π(π) # π¦π(π¦) !β$ () () π π , π π , π! π *- = # π! π *- # ,&0 ,&' () π ,*' (π β 1)! π *- = # π ,&' () π 1 π! π *- = π = π # 1&0 XC 2020
Expectation of Functions of Random Variables Β§ If π is a discrete random variable with sample space Ξ© and distribution function π(π¦) , and if π: Ξ© β π is a function, then πΉ π(π) = β !β$ π(π¦)π(π¦) , provided the series converges absolutely. Expect cted value π(π) Expect cted value π π(π) # π¦π(π¦) # π(π¦)π(π¦) !β$ !β$ XC 2020
Example 1 Tos oss a coi coin head or tail π π¦ = 1 2 π π = K1, π = Head 0, π = Tail πΉ π π = β― XC 2020
Fixed Points Β§ Since a permutation is a one-to-one mapping of the set onto itself, it is of interest to ask how many points (elements) are mapped onto themselves. Such points are called fi fixed po points of the mapping. 2 2 2 1 3 1 2 3 1 3 1 3 2 2 3 1 1 3 XC 2020
Example 2 2 Let π be the number of fi xed points in a random permutation of the set {π, π, π} . To fi nd the 1 2 3 expected value of π , it is helpful to consider the 1 3 basic random variable associated with this experiment, namely the random variable π which 1 3 2 represents the random permutation. 2 1 3 Ra Random pe perm rmutation 3! = 6 possible outcomes 2 3 1 π π¦ = 1 3 1 2 6 3 2 1 πΉ π = β― XC 2020
Example 2 2 Let π be the number of fi xed points in a random permutation of the set {π, π, π} . To fi nd the 1 2 3 expected value of π , it is helpful to consider the 1 3 basic random variable associated with this experiment, namely the random variable π which 1 3 2 represents the random permutation. Random Ra pe perm rmutation 2 1 3 3! = 6 possible outcomes 2 3 1 π π¦ = 1 6 3 1 2 πΉ π = 3 1 6 + 1 1 6 + 1 1 6 + 0 1 6 + 0 1 6 + 1 1 3 2 1 6 = 1 XC 2020
The Sum of Two Random Variables Β§ Let π and π be random variables with fi nite expected values. Then πΉ(π + π) = πΉ(π) + πΉ(π) , and if π is any constant, then πΉ(ππ) = ππΉ(π) . Β§ It can be shown that the expected value of the sum of any fi nite number of random variables is the sum of the expected values of the individual random variables. πΉ π ' + π 2 + β― + π % = πΉ π ' + πΉ π 2 + β― + πΉ(π % ) . Mu Mutual independence ce of of the summands is not ot ! ne needed. XC 2020
Linearity πΉ(π + π) = πΉ(π) + πΉ(π) πΉ(ππ) = ππΉ(π) . πΉ(ππ + π) = ππΉ(π) + π XC 2020
Proof Let the sample spaces of π and π be denoted by Ξ© ( and Ξ© ) , and suppose that Ξ© ( = π¦ # , π¦ * , β― Consider the random variable π + π to be the result of applying the function π π¦, π§ = π¦ + π§ to the joint random and variable (π, π) . Then according to the Expectation of Functions of Random Variables, we have Ξ© ) = π§ # , π§ * , β― . πΉ π + π = ? ? π¦ + + π§ $ π(π = π¦ + , π = π§ $ ) . π(π = π¦ " , π = π§ ! ) + $ ! = π(π = π¦ " ) = ? ? π¦ + π(π = π¦ + , π = π§ $ ) + ? ? π§ $ π(π = π¦ + , π = π§ $ ) + $ + $ . π(π = π¦ " , π = π§ ! ) = ? π¦ + π(π = π¦ + ) + ? π§ $ π(π = π§ $ ) " + $ = π(π = π§ ! ) = πΉ π + πΉ(π) . XC 2020
Bin Binomia ial π π, π, π = π π π , π %*, πΉ π = ππ Expect cted value π(π) 3 4 5 1 2 # π¦π(π¦) !β$ β β β β β π + = K1, success 0, failure 2 A single Bernoulli trial πΉ π + = 1Γπ + 0Γ 1 β π = π β πΉ π π Bernoulli trials = πΉ π ' + π 2 + β― + π % = ππ XC 2020
Recommend
More recommend