recall random variables
play

Recall: random variables A random variable X on a sample space is a - PowerPoint PPT Presentation

Recall: random variables A random variable X on a sample space is a function : that assigns to each sample point a real number . For each random variable, we should understand: The set of values it


  1. Recall: random variables β€’ A random variable X on a sample space Ξ© is a function π‘Œ: Ξ© β†’ ℝ that assigns to each sample point πœ• ∈ Ξ© a real number π‘Œ πœ• . β€’ For each random variable, we should understand: – The set of values it can take. – The probabilities with which it takes on these values. β€’ The distribution of a discrete random variable X 𝑏, Pr π‘Œ = 𝑏 . is the collection of pairs Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  2. Question You roll two dice. Let X be the random variable that represents the sum of the numbers you roll. What is the probability of the event X=6? 1/36 A. 1/9 B. 5/36 C. D. 1/6 E. None of the above. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  3. Question You roll two dice. Let X be the random variable that represents the sum of the numbers you roll. How many different values can X take on? 6 A. B. 11 C. 12 D. 36 E. None of the above. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  4. Question You roll two dice. Let X be the random variable that represents the sum of the numbers you roll. What is the distribution of X? A. Uniform distribution on the set of possible values. B. It satisfies Pr π‘Œ = 2 < Pr π‘Œ = 3 < β‹― < Pr π‘Œ = 12 . C. It satisfies Pr π‘Œ = 2 > Pr π‘Œ = 3 > β‹― > Pr π‘Œ = 12 . D. It satisfies Pr π‘Œ = 2 < Pr π‘Œ = 3 < β‹― < Pr π‘Œ = 7 and Pr π‘Œ = 7 > Pr π‘Œ = 8 > β‹― > Pr π‘Œ = 12 . E. None of the above is true. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  5. Independent RVs: definition β€’ Random variables π‘Œ and 𝑍 are independent i f Pr π‘Œ = 𝑦 ∩ 𝑍 = 𝑧 = Pr π‘Œ = 𝑦 β‹… Pr 𝑍 = 𝑧 for all values 𝑦 and 𝑧. β€’ Random variables π‘Œ 1 , π‘Œ 2 , … , π‘Œ π‘œ are mutually independent if for all subsets of 𝐽 βŠ† [π‘œ] and all values 𝑦 𝑗 , where 𝑗 ∈ 𝐽, Pr[∩ π‘—βˆˆπ½ π‘Œ 𝑗 = 𝑦 𝑗 ] = Pr π‘Œ 𝑗 = 𝑦 𝑗 . π‘—βˆˆπ½ Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  6. Question You roll one die. Let X be the random variable that represents the result. What value does X take, on average? 1/6 A. 3 B. 3.5 C. 6 D. E. None of the above. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  7. Random variables: expectation β€’ The expectation of a discrete random variable X over a sample space Ξ© is 𝐹 π‘Œ = πœ•βˆˆΞ© π‘Œ πœ• β‹… Pr πœ• . β€’ We can group together outcomes πœ• for which π‘Œ πœ• = 𝑏 : 𝐹 π‘Œ = 𝑏 β‹… Pr π‘Œ = 𝑏 , 𝑏 where the sum is over all possible values 𝑏 taken by X. β€’ The second equality is more useful for calculations. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  8. Example: random hats β€’ Example: permutations – π‘œ students exchange their hats, so that everybody gets a random hat – R.V. X: the number of students that got their own hats. – E.g., if students 1,2,3 got hats 2,1,3 then X=1. β€’ Distribution of X: Pr π‘Œ = 0 = 1 3 , Pr π‘Œ = 1 = 1 2 , Pr π‘Œ = 3 = 1 6 . β€’ What’s the expectation of X? Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  9. Example: roulette β€’ 38 slots: 18 black, 18 red, 2 green. β€’ If we bet $1 on red, we get $2 back if red comes up. What’s the expected value of our winnings? Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  10. Linearity of expectation β€’ Theorem. For any two random variables X and Y on the same probability space, 𝐹 π‘Œ + 𝑍 = 𝐹 π‘Œ + 𝐹 𝑍 . Also, for all 𝑑 ∈ ℝ , 𝐹 π‘‘π‘Œ = 𝑑 β‹… 𝐹 π‘Œ . Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  11. Indicator random variables β€’ An indicator random variable takes on two values: 0 and 1. β€’ Lemma. For an indicator random variable X, 𝐹 π‘Œ = Pr π‘Œ = 1 . Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  12. Question You have a coin with bias 3/4 (the bias is the probability of HEADS). Let X be the number of HEADS in 1000 tosses of your coin. You represent X as the sum: X = π‘Œ 1 + π‘Œ 2 + β‹― + π‘Œ 1000 . What is π‘Œ 1 ? A. 3/4. B. The number of HEADS. C. The probability of HEADS in toss 1. D. The number of heads in toss 1. E. None of the above. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

  13. Question You have a coin with bias 3/4 (the bias is the probability of HEADS). Let X be the number of HEADS in 1000 tosses of your coin. What is the expectation of X? A. 3/4. B. 4/3. C. 500. D. 750. E. None of the above. Sofya Raskhodnikova; Randomness in Computing 1/29/2020

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend