Chapter 3 Discrete Random Variables and Probability Distributions Chapter 3A Variables that are random; what will they think of next?

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
2 Discrete Random Variable. Independence (module 1) A and B are independent iff the knowledge that B has occurred does not change the probability that.
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
Discrete Probability Distributions
Engineering Statistics ECIV 2305 Chapter 2 Random Variables.
Review of Basic Probability and Statistics
Discrete Random Variables and Probability Distributions
Review.
Introduction to Probability and Statistics
Probability Distributions Finite Random Variables.
Chapter 5: Probability Concepts
Probability Distributions
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Eighth lecture Random Variables.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
Discrete Random Variables and Probability Distributions
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
NIPRL Chapter 2. Random Variables 2.1 Discrete Random Variables 2.2 Continuous Random Variables 2.3 The Expectation of a Random Variable 2.4 The Variance.
Discrete Probability Distributions A sample space can be difficult to describe and work with if its elements are not numeric.A sample space can be difficult.
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
Discrete Random Variable and Probability Distribution
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 4 Continuous Random Variables and their Probability Distributions Another one of life’s great adventures is about to begin. Chapter 4A.
Block 3 Discrete Systems Lesson 11 –Discrete Probability Models The world is an uncertain place.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
1 Lecture 7: Discrete Random Variables and their Distributions Devore, Ch
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}.
Prob1 INTRODUCTION to PROBABILITY. prob2 BASIC CONCEPTS of PROBABILITY  Experiment  Outcome  Sample Space Discrete Continuous  Event.
Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Slide 5-1 Chapter 5 Probability and Random Variables.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
1 Engineering Statistics - IE 261 Chapter 3 Discrete Random Variables and Probability Distributions URL:
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Random Variables Example:
Lesson Discrete Random Variables. Objectives Distinguish between discrete and continuous random variables Identify discrete probability distributions.
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Statistics and Probability Theory Lecture 12 Fasih ur Rehman.
Random Variables 2.1 Discrete Random Variables 2.2 The Expectation of a Random Variable 2.3 The Variance of a Random Variable 2.4 Jointly Distributed Random.
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Random Variables By: 1.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
3.1 Discrete Random Variables Present the analysis of several random experiments Discuss several discrete random variables that frequently arise in applications.
Math 4030 – 4a More Discrete Distributions
Random Variable 2013.
Random variables (r.v.) Random variable
Discrete Random Variables and Probability Distributions
Engineering Probability and Statistics - SE-205 -Chap 3
Simulation Statistics
Chapter 2 Discrete Random Variables
ETM 607 – Spreadsheet Simulations
Chapter 5 Statistical Models in Simulation
Probability Review for Financial Engineers
Chapter 2. Random Variables
Discrete Random Variables: Basics
Discrete Random Variables: Basics
Experiments, Outcomes, Events and Random Variables: A Revisit
Discrete Random Variables: Basics
Presentation transcript:

Chapter 3 Discrete Random Variables and Probability Distributions Chapter 3A Variables that are random; what will they think of next?

The Road Ahead today

A Random Variable (RV)  Variable whose observed value is determined by chance  Variable that takes on values in accordance with some probability distribution  Discrete Random Variables have a finite or countably infinite range  Numerical outcome from a random experiment A mapping from a sample space to a subset of the real numbers

Some Discrete Random Variables  The number of nonconforming solder connections on a printed circuit board.  In a voice communication system with 50 lines, the number of lines in use at a particular time.  A batch of 500 machined parts contains 10 that do not conform to customer requirements. Parts are selected successively, without replacement, until a nonconforming part is obtained. The RV is the number of parts selected.  The RV is the number of demands in a month for a product in inventory.  The RV is the number of customer arrivals per hour at a local bank.  The number of accidents per week observed in a factory.

The Mapping Illustrated – toss a pair of dice Let X = a random variable, the sum resulting from the toss of two fair dice; X = 2, 3, …, 12 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) (6,1) (6,2) (6,3) (6,4) (6,5) (6,6) S =

The Mapping Illustrated – toss a pair of dice 2(1,1)1 3(1,2), (2,1)2 4(1,3), (2,2), (3,1)3 5(1,4), (2,3), (3,2), (4,1)4 6(1,5), (2,4), (3,3), (4,2), (5,1)5 7(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)6 8(2,6), (3,5), (4,4), (5,3), (6,2)5 9(3,6), (4,5), (5,4), (6,3)4 10(4,6), (5,5), (6,4)3 11(5,6), (6,5)2 12(6,6)1 Total 36 X = RV, the outcome from rolling a pair of dice number of ways sample space

The Mapping Illustrated – toss a pair of dice Let X = a random variable, the sum resulting from the toss of two fair dice; X = 2, 3, …, 12 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) (6,1) (6,2) (6,3) (6,4) (6,5) (6,6) = S Pr{X = x} = f(x), f(x) is called the Probability Mass Function (PMF) f(x)

Probability Histogram for the Random Variable X

Probability Mass Function

Example #1  Let x = a discrete random variable, the number of accidents per week in the Axe E. Dentt manufacturing plant.  Given: Pr(X = 0) = f(0) = 1/15 Pr(X = 1) = f(1) = 2/15 Pr(X = 2) = f(2) = 3/15 Pr(X = 3) = f(3) = 4/15 Pr(X = 4) = f(4) = 5/15

Example #2  Let x = a discrete random variable, the number of days to receive a package from a Website distributor when requesting expedited delivery.

Example #3  Let x = a discrete random variable, the number of units produced before a reject occurs. The probability of a reject occurring is 1/5. note: Find: Pr{X  10} Pr{20  X  30} Pr{X  15} geometric series

3-3 Cumulative Distribution Function (CDF) Definition

Example #3 revisited Find: Pr{X  10} = F(10) = Pr{20  X  30} = F(30) – F(20) = ( ) – ( ) = =.0103 Pr{X  15} = 1 – F(14) = 1 – ( ) =.8 14 =.04398

Problem 3-28 Determine the cumulative distribution function of the following R.V.’s [P(x i ) = 1/6 for all x i ]: Outcome a b c d e f x F(x) 1.0 2/3 1/ Don’t confuse discrete with integer!

Problem 3-35 Verify the following function is a CDF & determine the PMF & requested probabilities: P(X < 3) = P(1 < X < 2) = P(X < 2) = P(X > 2) = PMF: f(0) = F(0) = 0 f(1) = F(1) – F(0) =.5 f(2) = F(2) – F(1) = = 0 f(3) = F(3) – F(2) = 1 –.5 =.5 1.5

Example 3-8

Figure 3-4 Cumulative distribution function for Example 3-8.

A Fish Tale – A Transition to the next concept These probability distributions are great. But what if my boss wants to know how many fish I will sell today? I need one number not a entire distribution. Let Z = a discrete random variable, the number of fish sold in one day.

The Mean Number of Fish Let Z = a discrete random variable, the number of fish sold in one day. Expect to sell 1.6 fish on the average!

3-4 Mean and Variance of a Discrete Random Variable Definition

Mean of a discrete R.V. The mean of a discrete R.V. uses the probability of each discrete observation to weight that observation:

Variance of a discrete R.V. The variance of a discrete R.V. X also uses probability to weight each observation. We don’t do many derivations, but it needs to be clear to you how we get from line two to line three. Try it!

Problem 3-40 Determine the mean and variance P(x i =1/6) for all i: Outcome a b c d e f x = 0(1/3) + 1.5(1/3) + 2(1/6) + 3(1/6) = 4/3 = 0 2 (1/3) (1/3) (1/6) (1/6) – (4/3) 2 = 1.139

First Two Moments do not Determine Distribution  The mean is the first moment.  The variance is the second central moment – second moment about the mean.  Two entirely different distributions can have identical mean and variance.  Very often though the first two moments give sufficient information to do effective modeling.

Yet Another Problem Determine the mean & variance of:

3-4 Mean and Variance of a Discrete Random Variable Figure 3-5 A probability distribution can be viewed as a loading with the mean equal to the balance point. Parts (a) and (b) illustrate equal means, but Part (a) illustrates a larger variance.

3-4 Mean and Variance of a Discrete Random Variable Figure 3-6 The probability distribution illustrated in Parts (a) and (b) differ even though they have equal means and equal variances.

Example 3-11

3-4 Mean and Variance of a Discrete Random Variable Expected Value of a Function of a Discrete Random Variable Unless the function is linear

A Derivation

More on Expected Values  It costs Axe E. Dent $700 a week to maintain a safety officer and another $340 for each accident that the safety officer must process. What is the expected weekly cost?  Let x = a discrete random variable, the number of accidents per week in the Axe E. Dentt manufacturing plant.  Let Y = a discrete random variable, the weekly cost of maintaining a safety officer. Y = X E[Y] = E[X]

But Look Here

Keep Looking… A most important lesson has been learned here today..25(1) +.2 (.5) +.15 (.333) +.1 (.25) +.3 (.2) =.485

What about the Variance?

Yet another insight…  Analogous to the mean’s being the center of gravity of a distribution of mass, the variance represents, in terminology of mechanics, the moment of inertia. The moment of inertia of an object about a given axis describes how difficult it is to change its angular motion about that axis.

Bonus Topic  Let X = a random variable, the number of points scored with first down and ten yards to go, at discrete points on the playing field.  Number of outcomes is 103 touchdown +7 field goal + 3 safety -2 opponent’s touchdown -7 turning the ball over to the opponent at any of 99 possible points on the field

More of that bonus  Based upon a study of 2,852 first-and-ten plays by Virgil Carter and Robert Machol:

Next Class  Theoretical Discrete Distributions Uniform Binomial Geometric Poisson  and so much more… ENM 500 students hurrying to class.