1 Lecture 7: Discrete Random Variables and their Distributions Devore, Ch. 3.1 - 3.3.

Slides:



Advertisements
Similar presentations
Discrete Random Variables and Probability Distributions
Advertisements

CS433: Modeling and Simulation
Random Variables ECE460 Spring, 2012.
DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
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 Discrete Random Variables and Probability Distributions
Chapter 2 Discrete Random Variables
Lec 18 Nov 12 Probability – definitions and simulation.
Continuous Random Variable (1). Discrete Random Variables Probability Mass Function (PMF)
Chapter 4 Discrete Random Variables and Probability Distributions
Discrete Random Variables and Probability Distributions
Probability Densities
Review.
Probability Distributions Finite Random Variables.
Prof. Bart Selman Module Probability --- Part d)
Probability Distributions
Statistics Lecture 7. Last day: Completed Chapter 2 Today: Discrete probability distributions Assignment 3: Chapter 2: 44, 50, 60, 68, 74, 86, 110.
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.
Eighth lecture Random Variables.
Chapter 5 Discrete Random Variables and Probability Distributions
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
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.
Week71 Discrete Random Variables A random variable (r.v.) assigns a numerical value to the outcomes in the sample space of a random phenomenon. A discrete.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Modeling and Simulation CS 313
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Probability Distributions - Discrete Random Variables Outcomes and Events.
Theory of Probability Statistics for Business and Economics.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
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}.
Chapter Four Random Variables and Their Probability Distributions
2.1 Introduction In an experiment of chance, outcomes occur randomly. We often summarize the outcome from a random experiment by a simple number. Definition.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
 Random variables can be classified as either discrete or continuous.  Example: ◦ Discrete: mostly counts ◦ Continuous: time, distance, etc.
1 Lecture 9: The Poisson Random Variable and its PMF Devore, Ch. 3.6.
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.
Topic 3 - Discrete distributions Basics of discrete distributions - pages Mean and variance of a discrete distribution - pages ,
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.
Random Variables Example:
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)
EQT 272 PROBABILITY AND STATISTICS
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Lecture 7 Dustin Lueker.  Experiment ◦ Any activity from which an outcome, measurement, or other such result is obtained  Random (or Chance) Experiment.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
1. 2 At the end of the lesson, students will be able to (c)Understand the Binomial distribution B(n,p) (d) find the mean and variance of Binomial distribution.
Random Variables By: 1.
Chapter5 Statistical and probabilistic concepts, Implementation to Insurance Subjects of the Unit 1.Counting 2.Probability concepts 3.Random Variables.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
4. Overview of Probability Network Performance and Quality of Service.
3.1 Discrete Random Variables Present the analysis of several random experiments Discuss several discrete random variables that frequently arise in applications.
Probability Distribution for Discrete Random Variables
MAT 446 Supplementary Note for Ch 3
ONE DIMENSIONAL RANDOM VARIABLES
3 Discrete Random Variables and Probability Distributions
ECE 313 Probability with Engineering Applications Lecture 7
Continuous Random Variable
Random variables (r.v.) Random variable
Discrete Random Variables and Probability Distributions
CHAPTER 2 RANDOM VARIABLES.
Expected Values.
Cumulative distribution functions and expected values
Chapter Four Random Variables and Their Probability Distributions
Statistics Lecture 12.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Presentation transcript:

1 Lecture 7: Discrete Random Variables and their Distributions Devore, Ch

Topics I.Random variables –Definition –Types of R.V.’s II.Probability distributions for discrete random variables –Probability mass function –Cumulative distribution (mass) function III.Expected values of discrete random variables –Expected values (r.v., function, rules) –Variance (r.v., rules)

I. Random variables Definition: A random variable (rv) is a rule that associates a value with each of the possible outcomes of an event –Example: if X is a rv that defines the number of heads that we may obtain when we flip 3 coins, then X can take 4 values: 0,1,2,3

Bernoulli random variables A random variable (rv) whose values are only 0 or 1 is called a Bernoulli random variable –Common Notation: 0 – Fail (F); 1 – Success (S) –Example: Suppose X is a rv that indicates whether a user can login to a computer system, either all ports are busy (Fail) or there is at least one port free (Success), then X can take 2 values, 0 or 1: X (S)=1, X(F)=0

Discrete and Continuous R.V.’s A discrete R.V. has whole unit values either in a finite set or listed in an ascending infinite sequence (first element, second element, and so on) –Example: X is discrete R.V. defined to be: the # of pumps in use at a gas station A continuous R.V. takes any value in a given interval. It has an infinite (or nearly infinite) set of possible values in that interval. –Example: Z is a continuous R.V., defined as the speed at which a professional tennis player hits his/her first serve

Exercise 1 Let X = the number of nonzero digits in a randomly selected zip code. What are the possible values of X ? Give three possible outcomes and their associated X values

Different R.V.’s from the Same Sample Space Gas Station Example: –Two Stations: #1 ~ 6 pumps; #2 ~ 4 pumps Possible rv’s to study –T = Total # of pumps in use –X = difference between the # used at stations 1 and 2 –U = maximum # of pumps in use at either station –Z = # of stations having exactly 2 pumps in use

Probability Distributions We describe how the total probability of a RV is allocated among its possible values using the: –Probability mass function, PMF, for discrete RV’s, or –Probability density function, PDF, for continuous RV’s.

II. Probability distributions for discrete random variables Re-stated: for every possible value x of the random variable, the PMF specifies the probability of observing that value. The PMF, p(x), of a discrete R.V. is defined for every number x by:

Exercise 2: PMF The sample space of a random experiment is {a,b,c,d,e,f}, and each outcome is equally likely. A rv X is defined as follows: Determine the pmf of X p(0) p( ) Outcomeabcdef x

Exercise 3 Consider a group of five potential blood donors {A,B,C,D,E}. Only A and B have type O+. Suppose you take five blood samples, one from each individual, in random order. If RV Y = # of samples necessary to identify an O+ individual, define the PMF of Y.

Family of Probability Distributions When p(x) depends on a parameter, the collection of all probability distributions for different values of the parameter is called a family of probability distributions.

Probability Family Example The probability mass function of any Bernoulli random variable can be expressed in terms of a single parameter:

Cumulative Distribution Function The cumulative distribution function (CDF) F(x) of a discrete random variable X is defined by: Example: Determine the CDF for Y if its probability mass function is given by:

Exercise 4 We may derive the PMF from the CDF: –Suppose that X is the number of sick days taken by an employee. If the maximum number is 14, possible values range from 0 to 14. If

III. Expected values of discrete random variables The expected value or mean value of a discrete random variable X can be defined as: Where X can take values from the set D

Exercise 5 Let X be a discrete RV that equals the number of bits in error during a digital transmission. Suppose X can take values from 0 to 4. The PMF is defined as follows:

Expected Value of a Function of a Random Variable Let X be a discrete random variable with a set D of possible values. We can compute the expected value of any function h(X) by computing:

Exercise 6 Let X = the outcome when a fair die is rolled once. A gambler offers you the following 2 different options: –Do not roll the die and be paid nothing, or –Roll the die and be paid h(X)=$(1/X - 1/3.5), where X is the outcome of rolling the die once. Should you roll the die?

Rules of Expected Value E(X) is a “Linear Operator”, i.e.; –

Exercise 7 Use the rules for expected values to calculate:

Variance of x The variance of a discrete RV X, V(X), is:

Rules of Variance Two important rules of Variance: Variance of a function h(X):

Exercise 8 A computer store purchases 3 computers at $500 a piece. The computers will be sold at a price of $1000. The manufacturer will re- purchase any unsold computers from the computer store after a time period for $200 a piece. Let X be the # of computers sold at the end of the period.