1 Discrete Random Variables – Outline 1.Two kinds of random variables – Discrete – Continuous 2. Describing a DRV 3. Expected value of a DRV 4. Variance.

Slides:



Advertisements
Similar presentations
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Advertisements

Clear your desk for your quiz. Unit 2 Day 8 Expected Value Average expectation per game if the game is played many times Can be used to evaluate and.
Binomial random variables
Section 5.1 and 5.2 Probability
Chapter 4 Mathematical Expectation.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 16 Mathematics of Managing Risks Weighted Average Expected Value.
Take out a coin! You win 4 dollars for heads, and lose 2 dollars for tails.
Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions
Random Variables and Expectation. Random Variables A random variable X is a mapping from a sample space S to a target set T, usually N or R. Example:
4.4 Mean and Variance. Mean How do we compute the mean of a probability distribution? Actually, what does that even mean? Let’s look at an example on.
Copyright ©2011 Brooks/Cole, Cengage Learning Random Variables Chapter 8 1.
Random Variables A Random Variable assigns a numerical value to all possible outcomes of a random experiment We do not consider the actual events but we.
Probability Distributions
Expected Value.  In gambling on an uncertain future, knowing the odds is only part of the story!  Example: I flip a fair coin. If it lands HEADS, you.
 The Law of Large Numbers – Read the preface to Chapter 7 on page 388 and be prepared to summarize the Law of Large Numbers.
Introduction to Probability. Learning Objectives By the end of this lecture, you should be able to: – Define the term sample space and event space. Be.
1 Random Variables and Discrete probability Distributions SESSION 2.
Chapter 16: Random Variables
Expected Value (Mean), Variance, Independence Transformations of Random Variables Last Time:
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Expected value and variance; binomial distribution June 24, 2004.
Random Variables A random variable A variable (usually x ) that has a single numerical value (determined by chance) for each outcome of an experiment A.
1 CY1B2 Statistics Aims: To introduce basic statistics. Outcomes: To understand some fundamental concepts in statistics, and be able to apply some probability.
Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times.
1 Lecture 5 Binomial Random Variables Many experiments are like tossing a coin a fixed number of times and recording the up-face. * The two possible outcomes.
Chapter 11 Data Descriptions and Probability Distributions
Expected values and variances. Formula For a discrete random variable X and pmf p(X): Expected value: Variance: Alternate formula for variance:  Var(x)=E(X^2)-[E(X)]^2.
Random Variables A random variable is simply a real-valued function defined on the sample space of an experiment. Example. Three fair coins are flipped.
Probability Distributions
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Chapter 5.1 Probability Distributions.  A variable is defined as a characteristic or attribute that can assume different values.  Recall that a variable.
Outline Random processes Random variables Probability histograms
STA Lecture 61 STA 291 Lecture 6 Randomness and Probability.
DISCRETE PROBABILITY DISTRIBUTIONS
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Chapter 16: Random Variables
1 Lecture 6 Outline 1. Random Variables a. Discrete Random Variables b. Continuous Random Variables 2. Symmetric Distributions 3. Normal Distributions.
1 Parrondo's Paradox. 2 Two losing games can be combined to make a winning game. Game A: repeatedly flip a biased coin (coin a) that comes up head with.
Overview Of Probability Distribution. Standard Distributions  Learning Objectives  Be familiar with the standard distributions (normal, binomial, and.
Chapter 8: Introduction to Probability. Probability measures the likelihood, or the chance, or the degree of certainty that some event will happen. The.
Introducing probability BPS chapter 9 © 2006 W. H. Freeman and Company.
Outline Lecture 6 1. Two kinds of random variables a. Discrete random variables b. Continuous random variables 2. Symmetric distributions 3. Normal distributions.
WOULD YOU PLAY THIS GAME? Roll a dice, and win $1000 dollars if you roll a 6.
L56 – Discrete Random Variables, Distributions & Expected Values
Random Variables Learn how to characterize the pattern of the distribution of values that a random variable may have, and how to use the pattern to find.
Simulating Experiments Introduction to Random Variable.
Onur DOĞAN.  A small life insurance company has determined that on the average it receives 3 death claims per day. Find the probability that the company.
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Chapter 16 Week 6, Monday. Random Variables “A numeric value that is based on the outcome of a random event” Example 1: Let the random variable X be defined.
DISCRETE PROBABILITY MODELS
1 Binomial Random Variables Lecture 5  Many experiments are like tossing a coin a fixed number of times and recording the up-face.  The two possible.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
Lecture 7 Dustin Lueker.  Experiment ◦ Any activity from which an outcome, measurement, or other such result is obtained  Random (or Chance) Experiment.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
President UniversityErwin SitompulPBST 4/1 Dr.-Ing. Erwin Sitompul President University Lecture 4 Probability and Statistics
1 Lecture 6 Outline 1. Two kinds of random variables a. Discrete random variables b. Continuous random variables 2. Symmetric distributions 3. Normal distributions.
Multinomial Distribution World Premier League Soccer Game Outcomes.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
Copyright © 2009 Pearson Education, Inc. 6.3 Probabilities with Large Numbers LEARNING GOAL Understand the law of large numbers, use this law to understand.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Week 5 Discrete Random Variables and Probability Distributions Statistics for Social Sciences.
PROBABILITY! Let’s learn about probability and chance!
Lesson 96 – Expected Value & Variance of Discrete Random Variables HL2 Math - Santowski.
Multiple Choice Practice
STA 291 Spring 2008 Lecture 7 Dustin Lueker.
Advanced Placement Statistics Section 7.2: Means & Variance of a
Expected Value.
I flip a coin two times. What is the sample space?
Expected Value.
Presentation transcript:

1 Discrete Random Variables – Outline 1.Two kinds of random variables – Discrete – Continuous 2. Describing a DRV 3. Expected value of a DRV 4. Variance of a DRV 5. Examples Discrete Random Variables

2 Two kinds of random variables A.Discrete (DRV) Outcomes have countable values (can be listed) E.g., # of people in this room – Possible values can be listed: might be …51 or 52 or 53… Discrete Random Variables

3 Two kinds of random variables A.Discrete B.Continuous (CRV) Not countable Consists of points in an interval E.g., time till coffee break CRVs are the subject of next week’s lecture Discrete Random Variables

4 Describing a DRV We begin by defining the DRV of interest For example, if our experiment is to toss a fair coin twice, we could define the variable X as the # of heads that occurs in those two tosses. Discrete Random Variables

5 Describing a DRV To describe a DRV, we specify the possible values and their respective probabilities. For the coin-toss experiment, we have: PossibleProbability values Notes: P(x) ≥ 0, ∀ x. ∑p(x) = 1.0 Discrete Random Variables

6 Expected value of a DRV We can compute the average or “expected value” of a DRV This is the average value of X that we would find over many repetitions of the experiment It is a theoretical quantity based on the possible values and their probabilities Discrete Random Variables

7 Expected value of a DRV Example experiment: two tosses of a fair coin DRV: X = # of heads that occur Expected value of X: the mean # of heads that would occur over many repetitions of the experiment. Discrete Random Variables

8 Expected value of a DRV Expected value: μ = E(x) = ∑[x * p(x)] Variance: σ 2 = ∑[(x – μ) 2 * p(x)] Note: σ = √σ 2 Discrete Random Variables

9 Expected Value of a DRV For the coin toss: PossibleProbability values 0 ¼ 1 ½ 2 ¼ μ = (0 * ¼) + (1 * ½) + (2 * ¼) = 1 σ 2 = [(0-1) 2 * ¼] + [(1-1) 2 * ½] + [(2-1) 2 * ¼] = ½ Discrete Random Variables

10 Example 1 12 candidates apply for positions in a local law firm (8 men and 4 women). The firm decides that they only have enough money to hire 3 of the applicants. They decide to give each applicant an aptitude test and hire the 3 with the highest scores. Assume that law aptitude is randomly distributed in the population and that, on average, there are no differences between women and men. Let the random variable X be the number of women who score in the top 3 on the aptitude test. What is the distribution of X? Discrete Random Variables

11 Example 1 First, what is the DRV? X = # of women who score in the top 3 on the law aptitude test. Discrete Random Variables

12 Example 1 Second, what are the possible outcomes? 0, 1, 2, and 3 Do you see why? Discrete Random Variables

13 Example 1 Next, what are the probabilities of these outcomes? The question says that law aptitude is randomly distributed with no sex difference. Therefore, the probability that we get 0 women in the top 3 is: Discrete Random Variables ( (( ) ))

14 Discrete Random Variables Example ( (( ) )) Total # of ways of choosing 3 candidates out of 12 # of ways of choosing 3 men out of 8 # of ways of choosing 0 women out of 4

15 Example 1 The question says that law aptitude is randomly distributed with no sex difference. Therefore, the probability that we get 0 women in the top 3 is: = 56= Discrete Random Variables ( (( ) ))

16 Example 1 We compute the probabilities of other outcomes similarly. For P(x =1): =112= Discrete Random Variables ( (( ) ))

17 Example 1 P(X = 2): = 48= Discrete Random Variables ( (( ) ))

18 Example 1 P(X = 3): = 4= Discrete Random Variables ( (( ) ))

19 Example 1 XP(X) This is how we present the distribution. Discrete Random Variables These are the values that X can take These are the probabilities for each value of X

20 Example 2 In the game GAMBLE, a player flips a coin and the game ends when the first head occurs or after the fifth flip. However, the nature of the coin’s bias changes over successive flips, such that the true ratio of heads to tails is n:1 for a given flip, where n is the ordinal position of a given flip in the series of flips (for example, the ratio of heads to tails for the third flip would be 3:1). The player loses $20 if the game ends after the first flip. The player wins (n X $10) if the game ends after any of flips 2 through 5. Let X be the amount of money that can be won or lost playing the game one time (losses are represented by negative amounts). What is the Expected Value of X ? Discrete Random Variables

21 Example 2 First, what are the possible outcomes? X = amount of money that can be won or lost when playing the game once. Recall that the player loses $20 (X = -20) if the game ends on the first flip. Possible values (in dollars): X = -20, 20, 30, 40, or 50 Discrete Random Variables

22 Example 2 Next, what has to happen to produce each of these outcomes? We need to specify that in order to work out the probabilities. XWhat has to happen -20H 20T, H 30T, T, H 40T, T, T, H 50T, T, T, T, H or T, T, T, T, T Discrete Random Variables

23 Example 2 Now, what are the probabilities? To answer, we have to specify the probabilities of H on each flip – because the question tells us these probabilities keep changing. Discrete Random Variables

24 Example 2 Flip #Ratio H:TP(H) 11:1.5 22: : : :1.83 Discrete Random Variables Remember that the ratio of heads to tails is n:1 for the n th trial 2:1 means that out of every 3 flips, 2 will be heads and 1 will be tails – so we get P(heads) = 2/3 (=.67)

25 Example 2 We can now work out the probabilities: XP(X) * *.33* *.33*.25* *.33*.25*.20* *.33*.25*.20*.17 Discrete Random Variables This is P(heads) for flip #1This is P(tails) for flip #2

26 Example 2 X P(X) ΣP(X) = 1.00 Discrete Random Variables

27 Example 2 We’re not finished yet – the question asks: “What is the Expected Value of X?” µ = (-20)*.5 + (20)* (30)*.12375) + (40)* (50)*(.00825) = (Now we’re finished!) Discrete Random Variables

28 Example 3 3. In a local basketball league, when a person is fouled they get to shoot two free throws. Over the years of playing in the league, Beth has calculated that every time she takes two free throws, she makes her first free throw 60% of the time. If she makes her first free throw, she makes the second one 70% of the time. If she misses the first one, she makes the second one only 40% of the time. Discrete Random Variables

29 Example 3 a) Let X be the # of free throws that Beth makes when she goes to the free throw line to shoot two free throws. What is the probability distribution for X? First, what are the possible outcomes? Beth could make 0, 1, or 2 free throws. Discrete Random Variables

30 Example 3 Secondly, how might these outcomes be achieved? OutcomeFirst throwSecond throw 0MissMiss 1HitMiss 1MissHit 2HitHit Discrete Random Variables

31 Example 3 Let’s define: Event A = Beth makes the free throw on the first attempt Event B = Beth makes the free throw on the second attempt We are given P(A) =.60P(B│A) =.70P(B’│A) =.30 P(B│A’) =.40 Discrete Random Variables

32 Example 3 Compute: For X = 0P(A’B’) = P(A’) * P(B’│A’) =.60 *.40 =.24 For X = 1P(AB’) = P(A) * P(B’│A) =.60 *.30=.18 Discrete Random Variables

33 Example 3 For X = 1P(A’B) = P(A’) * P(B│A’) =.40 *.40=.16 Thus, P(X = 1) = =.34 For X = 2P(AB) = P(A) * P(B│A) =.60 *.70=.42 Discrete Random Variables

34 Example 3 XP(X) μ = Σ(x* p(x)) = 0 * * *.42 = 1.18 σ 2 = Σ[(x-μ) 2 * p(x)] = [(0-1.18) 2 *.24] + [(1-1.18) 2 *.34] + [(2-1.18) 2 *.42] =.627 σ = √.627 =.792 Discrete Random Variables

35 Example 3 b) In the next game, Beth gets fouled twice. On both occasions, she gets to shoot two free throws. This is equivalent to taking a sample of size 2 from the distribution you created in part a) above. Let Y = the total # of free throws Beth makes in those 2 opportunities to shoot two free throws. What is the probability distribution of Y? Discrete Random Variables

36 Example 3 First, what are the possible outcomes? “a sample of size 2” means 2 trips to the free throw line, with two throws on each trip. Therefore, possible outcomes for Y are 0, 1, 2, 3, and 4. Discrete Random Variables

37 Example 3 Secondly, what the respective probabilities of these outcomes? To answer this question, we have to think about how each outcome might arise… Discrete Random Variables

38 Example 3 Y# hits first trip# hits second trip Discrete Random Variables P(Y = 1) will have two components P(Y = 2) will have three components

39 Example 3 – the probability distribution YComponent probabilitiesP(Y) 0.24 * (.24*.34) + (.34*.24) (.42*.24) + (.24*.42) + (.34*.34) (.34*.42) + (.42*.34) (.42*.42).1764 Σ = Discrete Random Variables