Probability Distributions: Finite Random Variables.

Slides:



Advertisements
Similar presentations
Discrete Random Variables To understand what we mean by a discrete random variable To understand that the total sample space adds up to 1 To understand.
Advertisements

Random Variables & Probability Distributions The probability of someone laughing at you is proportional to the stupidity of your actions.
MOMENT GENERATING FUNCTION AND STATISTICAL DISTRIBUTIONS
Binomial random variables
Segment 3 Introduction to Random Variables - or - You really do not know exactly what is going to happen George Howard.
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
Chapter 5 Probability Distributions. E.g., X is the number of heads obtained in 3 tosses of a coin. [X=0] = {TTT} [X=1] = {HTT, THT, TTH} [X=2] = {HHT,
Chapter 3 Section 3.3 Basic Rules of Probability.
Test 2 Stock Option Pricing
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.
Random variables Random experiment outcome numerical measure/aspect of outcome Random variable S outcome R number Random variable.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
Random Variables and Distributions Lecture 5: Stat 700.
1 Random Variables Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Probability Distributions Random Variables: Finite and Continuous A review MAT174, Spring 2004.
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
Discrete Random Variables: The Binomial Distribution
Joint Distribution of two or More Random Variables
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
Class 3 Binomial Random Variables Continuous Random Variables Standard Normal Distributions.
20/6/1435 h Sunday Lecture 11 Jan Mathematical Expectation مثا ل قيمة Y 13 المجموع P(y)3/41/41 Y p(y)3/4 6/4.
The Binomial Distribution Permutations: How many different pairs of two items are possible from these four letters: L, M. N, P. L,M L,N L,P M,L M,N M,P.
14/6/1435 lecture 10 Lecture 9. The probability distribution for the discrete variable Satify the following conditions P(x)>= 0 for all x.
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.
MTH3003 PJJ SEM I 2015/2016.  ASSIGNMENT :25% Assignment 1 (10%) Assignment 2 (15%)  Mid exam :30% Part A (Objective) Part B (Subjective)  Final Exam:
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.
Discrete probability Business Statistics (BUSA 3101) Dr. Lari H. Arjomand
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
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}.
Random Variables an important concept in probability.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 5 – Probability Mass Function Farinaz Koushanfar ECE Dept., Rice University Sept 8, 2009.
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Random Variable. Random variable A random variable χ is a function (rule) that assigns a number to each outcome of a chance experiment. A function χ acts.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Project 1 Lecture Notes. Table of Contents Basic Probability Word Processing Mathematics Summation Notation Expected Value Database Functions and Filtering.
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.
Random Variables an important concept in probability.
12/7/20151 Probability Introduction to Probability, Conditional Probability and Random Variables.
Probability Distributions
Review of Chapter
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.
Random Variables Example:
Probability Distributions, Discrete Random Variables
Probability and Distributions. Deterministic vs. Random Processes In deterministic processes, the outcome can be predicted exactly in advance Eg. Force.
Random Variables Probability distribution functions Expected values.
Chapter 4 Random Variables - 1. Outline Random variables Discrete random variables Expected value 2.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
9/14/1999 JHU CS /Jan Hajic 1 Introduction to Natural Language Processing Probability AI-Lab
Binomial Probability Theorem In a rainy season, there is 60% chance that it will rain on a particular day. What is the probability that there will exactly.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Chapter 5 Discrete Probability Distributions 1. Chapter 5 Overview 2 Introduction  5-1 Probability Distributions  5-2 Mean, Variance, Standard Deviation,
Lecture 21 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Discrete Random Variable Random Process. The Notion of A Random Variable We expect some measurement or numerical attribute of the outcome of a random.
Reference: (Material source and pages)
UNIT 8 Discrete Probability Distributions
Conditional Probability
Random Variable, Probability Distribution, and Expected Value
Probability distributions
Expected values and variances
Discrete & Continuous Random Variables
M248: Analyzing data Block A UNIT A3 Modeling Variation.
Random Variables Binomial and Hypergeometric Probabilities
Presentation transcript:

Probability Distributions: Finite Random Variables

Random Variables A random variable is a numerical value associated with the outcome of an experiment.  Examples: The number of heads that appear when flipping three coins The sum obtained when two fair dice are rolled In both examples, we are not as interested in the outcomes of the experiment as we are in knowing a number value for the experiment

Example—Flipping a Coin 3 Times Suppose that we flip a coin 3 times and record each flip. S = {HHH, HHT, HTH, HTT, THH, THT, TTT, TTT} Let X be a random variable that records the # of heads we get for flipping a coin 3 times.

Example (cont) The possible values our random variable X can assume:  X = x where x = {0, 1, 2, 3} Notice that the values of X are:  Countable, i.e. we can list all possible values  The values are whole numbers When a random variable’s values are countable the random variable is called a finite random variable. And when the values are whole #’s the random variable is discrete.

Probabilities Just as with events, we can also talk about probabilities of random variables. The probability a random variable assumes a certain value is written as  P(X =x) Notice that X is the random variable for the # of heads and x is the value the variable assumes.

Probabilities We can list all the probabilities for our random variable in a table. The pattern of probabilities for a random variable is called its probability distribution. For a finite discrete random variable, this pattern of probabilities is called the probability mass function ( p.m.f ). X=xX=xP(X=x)P(X=x) 01/8 13/8 2 31/8

Probability Mass Function We consider this table to be a function because each value of the random variable has exactly one probability associated with it. Because of this we use function notation to say: X=xX=xP(X=x)P(X=x) 01/8 13/8 2 31/8

Properties of Probability Mass Function Because the p.m.f is a function it has a domain and range like any other function you’ve seen:  Domain: {all whole # values random variable}  Range:  Sum:

Representing the p.m.f. Because the p.m.f function uses only whole # values in its domain, we often use histograms to show pictorially the distribution of probabilities. Here is a histogram for our coin example:

Things to notice: The height of each rectangle corresponds to P(X=x) The sum of all heights is equal to 1

Cumulative Distribution Function The same probability information is often given in a different form, called the cumulative distribution function, c.d.f. Like the p.m.f. the c.d.f. is a function which we denote as F x (x) (upper case F) with the following properties:  Domain: the set of all real #s  Range: 0≤ F x (x) ≤1  F x (x) = P(X≤x)  As x →∞, F x (x) →1 AND As x →-∞, F x (x) →0

Graphing the c.d.f. Let’s graph the c.d.f. for our coin example. According to our definitions from the previous slide:  Domain: the set of all real #s  Range: 0≤ F x (x) ≤1  F x (x) = P(X≤x)

Graphing (cont) Here’s the p.m.f. : Because the domain for the cdf is the set of all real numbers, any value of x that is less than zero would mean that F x (x) is 0 since there is no way for a flip of three coins to have less than 0 heads. The probability is zero! Also, because the number of heads we can get is always at most 3, F x (x) = 1 when x ≥ 3. X=x0123 P(X=x)1/83/8 1/8

Graphing (cont) Now we need to look at what happens for the other values. If 0≤ x <1, then F x (x) = P(X ≤ x) = P(X=0) = 1/8 If 1≤ x <2, then F x (x) = P(X ≤ x) = P(X=1) +P(X=0)= 1/8+3/8=4/8 If 2≤ x <3, then F x (x) = P(X ≤ x) = P(X=2)+P(X=1) +P(X=0)= 1/8+3/8+3/8=7/8

The c.d.f. All of the previous information is best summarized with a piece-wise function:

The graph of the c.d.f.

Things to notice The graph is a step-wise function. This is typically what you will see for finite discrete random variables. Domain: the set of all real #s Range: 0≤ F x (x) ≤1 F x (x) = P(X≤x) As x →∞, F x (x) →1 AND As x →-∞, F x (x) →0 At each x-value where there is a jump, the size of the jump tells us the P(X=x). Because of this, we can write a p.m.f. function from a c.d.f. function and vice-versa

Expected Value of Finite Discrete Random Variable Expected Value of a Discrete Random Variable is Note, this is the sum of each of the heights of each rectangle in the p.m.f., multiplied by the respective value of X in the pmf.

Example Box contains four $1 chips, three $5 chips, two $25 chips, and one $100 chip. Let X be the denomination of a chip selected at random. The p.m.f. of X is displayed below. X$1.00$5.00$25.00$ f X (X)

Questions What is P(X=25)? What is P(X≤25)? What P(X≥5)? Graph the c.d.f. What is the E(X)?

Answers

Answer(CDF)

Expected Value $ $ $ $ Sum1.0$16.90

Bernoulli Random Variables Bernoulli Random Variables are a special case of discrete random variables In a Bernoulli Trial there are only two outcomes: success or failure

Bernoulli Random Variable Let X stand for the number of successes in n Bernoulli Trials, X is called a Binomial Random Variable Binomial Setting: 1.You have n repeated trials of an experiment. 2. On a single trial, there are two possible outcomes, success or failure. 3.The probability of success is the same from trial to trial. 4.The outcome of each trial is independent. Expected Value of a Binomial R.V. is E(X)=np, p is probability of success

Loaded Coin Suppose you have a coin that is biased towards heads. Let’s suppose that on any given flip of the coin your get heads about 60% of the time and tails 40% of the time. Let X be the random variable for the number of heads obtained in flipping the coin three times.

Loaded Coin S = {HHH, HHT, HTH, HTT, THH, THT, TTT, TTT} A “success” in this experiment will be the occurrence of a head and a “failure” will be when we get a tail. Because getting a head is more likely now, we need to look at what the probability is for getting each of the outcomes in our sample space.

Loaded coin For example: What is the probability of getting HHH? Because each trial or flip is independent, we can say that: Similarly, we can also ask what the probabilities are for other outcomes in our experiment.

Loaded Coin OutcomeProbability HHH(0.60)(0.60)(0.60)=0.216 HHT(0.60)(0.60)(0.40)=0.144 HTH(0.60)(0.40)(0.60)=0.144 HTT(0.60)(0.40)(0.40)=0.096 THH(0.40)(0.60)(0.60)=0.144 THT(0.40)(0.60)(0.40)=0.096 TTH(0.40)(0.40)(0.60)=0.096 TTT(0.40)(0.40)(0.40)=0.064

Loaded Coin: p.m.f. X=xP(X=x)

Loaded Coin: Graph of pmf

Your Turn! Graph the cdf of our biased coin example Excel: BINOMDIST