Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions

Slides:



Advertisements
Similar presentations
Chapter 8 Counting Principles: Further Probability Topics Section 8.5 Probability Distributions; Expected Value.
Advertisements

1. Frequency Distribution & Relative Frequency Distribution 2. Histogram of Probability Distribution 3. Probability of an Event in Histogram 4. Random.
Chapter 7 Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Random Variables A random variable is a variable (usually we use x), that has a single numerical value, determined by chance, for each outcome of a procedure.
Statistics Chapter 3: Introduction to Discrete Random Variables.
Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by.
Probability Distributions Finite Random Variables.
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.
Business 90: Business Statistics
Random Variable (RV) A function that assigns a numerical value to each outcome of an experiment. Notation: X, Y, Z, etc Observed values: x, y, z, etc.
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.
Lecture Slides Elementary Statistics Twelfth Edition
Chris Morgan, MATH G160 February 3, 2012 Lecture 11 Chapter 5.3: Expectation (Mean) and Variance 1.
Probability Distributions: Finite Random Variables.
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.
Objective: Objective: Use experimental and theoretical distributions to make judgments about the likelihood of various outcomes in uncertain situations.
Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times.
Statistics 5.2.
MATH 1107 Elementary Statistics Lecture 8 Random Variables.
Chapter 5: Probability Distribution What is Probability Distribution? It is a table of possible outcomes of an experiment and the probability of each outcome.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
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.
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.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Chapter 16: Random Variables
Chapter 9 Review. 1. Give the probability of each outcome.
4.1 Probability Distributions Important Concepts –Random Variables –Probability Distribution –Mean (or Expected Value) of a Random Variable –Variance and.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 8.5 The student will be able to identify what is meant by a random variable.
Sections 5.1 and 5.2 Review and Preview and Random Variables.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
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.
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.
PROBABILITY AND STATISTICS WEEK 4 Onur Doğan. Random Variable Random Variable. Let S be the sample space for an experiment. A real-valued function that.
President UniversityErwin SitompulPBST 3/1 Dr.-Ing. Erwin Sitompul President University Lecture 3 Probability and Statistics
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
Chapter 4 Random Variables - 1. Outline Random variables Discrete random variables Expected value 2.
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
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.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U Authors: Gary Greer (with.
Computing Fundamentals 2 Lecture 7 Statistics, Random Variables, Expected Value. Lecturer: Patrick Browne
PROBABILITY DISTRIBUTIONS. Probability Distribution  Suppose we toss a fair coin 3 times. What is the sample space?  What is the probability for each.
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.
Week 5 Discrete Random Variables and Probability Distributions Statistics for Social Sciences.
Lesson 99 - Continuous Random Variables HL Math - Santowski.
Lesson 96 – Expected Value & Variance of Discrete Random Variables HL2 Math - Santowski.
16.6 Expected Value.
4.2 Random Variables and Their Probability distributions
Discrete Random Variables and Probability Distributions
Discrete and Continuous Random Variables
Discrete Probability Distributions
Chapter Four Random Variables and Their Probability Distributions
CHAPTER 6 Random Variables
Expected Value.
Random Variable, Probability Distribution, and Expected Value
Chapter 16.
Probability Vocabulary:
Discrete Distributions
Discrete Distributions
Discrete Distributions.
Discrete & Continuous Random Variables
Discrete Distributions
Discrete Random Variables: Basics
Discrete Random Variables: Basics
Discrete Random Variables: Basics
Presentation transcript:

Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions Chris Morgan, MATH G160 csmorgan@purdue.edu February 1, 2012 Lecture 10

Random Variables A random variable (RV) is a real valued function whose domain is a sample space. - We will usually denote random variables by X, Y, Z and their respective values by x, y, z

Random Variables Discrete Random Variables •Random variables that take on a finite (or countable) number of values. –Sum of two dice (2,3,4,…,12) –Number of children (0,1,2,…) –Number in attendance at the movies –Number of hired employees - Number of students coming to class Continuous Random Variables •Random variables that take on values in a continuum or infinitely many values. –Height –Weight –Time Time you can hold your breath Lifetime of your cell phone batter

Random Variables X P(x) 0 1/16 1 4/16 2 6/16 3 4/16 4 1/16 Toss a fair coin 4 times. Suppose we are interested in the random variable X = number of heads. Outcome Combination T T T T 4C0 T T T H 4C1 T H H T 4C2 T H H H 4C3 H H H H 4C4 X P(x) 0 1/16 1 4/16 2 6/16 3 4/16 4 1/16

Probability Mass Function (PMF) The values on the right of the table above are called the Probability Mass Function of the random variable X : The probability of x = the probability(X = one specific x) A probability mass function (p.m.f) is a function which describes the probabilities a discrete type random variable will take on for any given value. They can be used to calculate the probabilities corresponding to an event relating to a random variable.

Probability Mass Function (PMF) We can take the PMF, graph it, and display it in the form of a histogram.

Probability Mass Function (PMF) x f(x) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 9 10 11 12 P(X < 4) = P(3 < x < 8) = P(3 ≤ x ≤ 8) =

Probability Mass Function (PMF) x f(x) 2 1/36 3 2/36 4 3/36 5 4/36 6 5/36 7 6/36 8 9 10 11 12 P(x < 8 | x < 10) = P(x > 3) = P(4 < x < 7 | x < 9) =

Basic Properties of a PMF 1. (PMFs are nonnegative) 2. There are only finitely (or countably infinitely many) x’s for which: 3.

Fundamental Probability Formula How do you compute probabilities for a random variable X? Welll….. We have the PMF that tell us the probability that the random variable X takes on the specific value x. Sometimes, you may be interested in a whole range of possible values of X. For instance, the Pr(1 ≤ x≤ 3)

Example I toss a fair coin 4 times. What the probability of getting at most two most? P(x ≤ 2) = ? P(x ≥ 1) = 1 – P(x=0) = 1 - 1/16 = 15/16 X P(x) 0 1/16 1 4/16 2 6/16 3 4/16 4 1/16

Example I can also write this PMF as a function rather than a chart: X P(x) 0 1/16 1 4/16 2 6/16 3 4/16 4 1/16 For x = 0 For x = 1 For x = 2 For x = 3 For x = otherwise

Fundamental Probability Formula Suppose X is a discrete RV and that A is a set of real numbers. Then: In words: the sum of the probability mass function over all possible value you are interested in

Practice Problem #1 A partially eaten bag of M&M’s contains 2 red, 5 blue, and 3 green M&M’s. You and your buddy decide to place a bet. You will choose two M&M’s at random without replacement. For every red M&M you win $5, for every green M&M you win $1 and you do not win anything for a blue M&M. Let X be the amount of money you will win.

Practice Problem #1 [2 red, 5 blue, and 3 green M&M’s….pick two] Let X be the amount of money you will win. Begin by writing down the PMF: Colors X p(x) R and R 10 1/45 R and G 6 2*3 = 6/45 R and B 5 2*5 = 10/46 B and G 1 5*3 = 15/45 B and B 5C2 = 10/45 G and G 2 3C2 = 3/45

Practice Problem #1 What is the probability you will win at least five dollars? P(X ≥ 5) = 1/45 + 6/45 + 10/45 = 17/45 Colors X p(x) R and R 10 1/45 R and G 6 2*3 = 6/45 R and B 5 2*5 = 10/46 G and G 2 3C2 = 3/45 B and G 1 5*3 = 15/45 B and B 5C2 = 10/45

Practice Problem #1 If you win something, what is the probability it will be worth at least five dollars?? P(X ≥ 5 | X ≠ 0) =

Practice Problem #1b E(X)= E(X)2= E(X2)= X p(x) 10 1/45 6 6/45 5 10/46 15/45 10/45 2 3/45

Practice Problem #2a In a simple game, two fair coins are tossed and the payoff is to be determined from the outcome. The payoff strategy is as follows: Win $5 for each head, lose $10 for two tails. Let X denote your winnings if you play this game once.

Practice Problem #2a Win $5 for each head, lose $10 for two tails. Write out the PMF for x: X p(x) 2 heads 10 1/4 1 tail, 1 head 5 1/2 2 tails -10 ¼ E(X) = 10(1/4) + 5(1/2) – 10(1/4) = 2.5

Practice Problem #2b In a simple game, two fair coins are tossed and the payoff is to be determined from the outcome. The payoff strategy is as follows: Lose $5 for two tails Win $5 for two different Lose $10 for two heads Let X denote your winnings if you play this game once.

Practice Problem #2b Calculate the PMF for this payoff strategy: Calculate the expected payoff  E(X) = Which payoff would you rather play with, a or b, and why??