Discrete Random Variables

Similar documents
Some Discrete Distribution Families

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

Expectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41

Central Limit Theorem, Joint Distributions Spring 2018

Binomial Random Variables. Binomial Random Variables

4.2 Probability Distributions

Discrete Random Variables

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

STOR Lecture 7. Random Variables - I

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

Probability mass function; cumulative distribution function

4 Random Variables and Distributions

The Binomial Distribution

Probability Distributions for Discrete RV

Random variables. Discrete random variables. Continuous random variables.

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

Random Variables Handout. Xavier Vilà

CIVL Discrete Distributions

MA : Introductory Probability

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

Chapter 7 Study Guide: The Central Limit Theorem

Distribution of the Sample Mean

Expected Value of a Random Variable

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

Chapter 2: Random Variables (Cont d)

The Uniform Distribution

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

NORMAL RANDOM VARIABLES (Normal or gaussian distribution)

STATISTICS and PROBABILITY

Statistics 511 Additional Materials

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

Statistics, Their Distributions, and the Central Limit Theorem

Chapter 8: The Binomial and Geometric Distributions

4.2 Bernoulli Trials and Binomial Distributions

Statistics for Managers Using Microsoft Excel 7 th Edition

Uniform Probability Distribution. Continuous Random Variables &

Chapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance

Test 7A AP Statistics Name: Directions: Work on these sheets.

5.4 Normal Approximation of the Binomial Distribution

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence

Probability and Statistics

II. Random Variables

Mean of a Discrete Random variable. Suppose that X is a discrete random variable whose distribution is : :

Chapter 3 Discrete Random Variables and Probability Distributions

5.3 Statistics and Their Distributions

1. If four dice are rolled, what is the probability of obtaining two identical odd numbers and two identical even numbers?

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

Final review: Practice problems

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

5. In fact, any function of a random variable is also a random variable

Engineering Statistics ECIV 2305

Math 14 Lecture Notes Ch. 4.3

Continuous Random Variables: The Uniform Distribution *

CIVL Learning Objectives. Definitions. Discrete Distributions

Data Analysis and Statistical Methods Statistics 651

Unit 5: Sampling Distributions of Statistics

Unit 5: Sampling Distributions of Statistics

Chapter 4 Continuous Random Variables and Probability Distributions

6 Central Limit Theorem. (Chs 6.4, 6.5)

Tutorial 6. Sampling Distribution. ENGG2450A Tutors. 27 February The Chinese University of Hong Kong 1/6

Probability Models.S2 Discrete Random Variables

Discrete Random Variables

Discrete Random Variables

Statistical Methods in Practice STAT/MATH 3379

Math Week in Review #10. Experiments with two outcomes ( success and failure ) are called Bernoulli or binomial trials.

Statistics and Their Distributions

Chapter 3 Discrete Random Variables and Probability Distributions

Statistics and Probability

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

1. Covariance between two variables X and Y is denoted by Cov(X, Y) and defined by. Cov(X, Y ) = E(X E(X))(Y E(Y ))

Business Statistics 41000: Probability 4

Random Variable: Definition

STATS 200: Introduction to Statistical Inference. Lecture 4: Asymptotics and simulation

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

In a binomial experiment of n trials, where p = probability of success and q = probability of failure. mean variance standard deviation

INSTITUTE OF ACTUARIES OF INDIA EXAMINATIONS. 20 th May Subject CT3 Probability & Mathematical Statistics

Sampling and sampling distribution

Probability Distributions: Discrete

Normal Distribution. Notes. Normal Distribution. Standard Normal. Sums of Normal Random Variables. Normal. approximation of Binomial.

Mathematics of Randomness

Business Statistics 41000: Homework # 2

Central Limit Theorem 11/08/2005

Chapter 4 Continuous Random Variables and Probability Distributions

Central Limit Theorem

Problem Set 07 Discrete Random Variables

As you draw random samples of size n, as n increases, the sample means tend to be normally distributed.

VI. Continuous Probability Distributions

CS145: Probability & Computing

CS 237: Probability in Computing

Learning Goals: * Determining the expected value from a probability distribution. * Applying the expected value formula to solve problems.

ECEn 370 Introduction to Probability

Central Limit Theorem (cont d) 7/28/2006

Chapter 3 - Lecture 4 Moments and Moment Generating Funct

Random Variables and Applications OPRE 6301

Math 14 Lecture Notes Ch Mean

Transcription:

Discrete Random Variables ST 370 A random variable is a numerical value associated with the outcome of an experiment. Discrete random variable When we can enumerate the possible values of the variable (such as 0, 1, 2,... ), the random variable is discrete. Example: acceptance sampling Suppose that a sample of size 10 is drawn from a shipment of 200 items, of which some number are non-compliant; X is the number of non-compliant items in the sample. The possible values of X are 0, 1, 2,..., 10, so X is a discrete random variable. 1 / 15 Discrete Random Variables

Continuous random variable When the variable takes values in an entire interval, the random variable is continuous. Example: flash unit recharge time Suppose that a cell phone camera flash is chosen randomly from a production line; the time X that it takes to recharge is a positive real number; X is a continuous random variable. Presumably, there is some lower bound a > 0 that is the shortest possible recharge time, and similarly some upper bound b < that is the longest possible recharge time; however, we usually do not know these values, and we would just say that the possible values of X are {x : 0 < x < }. 2 / 15 Discrete Random Variables

Probability distribution ST 370 The probability distribution of a random variable X is a description of the probabilities associated with the possible values of X. The representation of a probability distribution is different for discrete and continuous random variables. Probability mass function For a discrete random variable, the simplest representation is the probability mass function (pmf) f X (x) = P(X = x) where x is any possible value of X. 3 / 15 Discrete Random Variables Probability distribution

Example: acceptance sampling Suppose one item is chosen at random from a shipment of 200 items, of which 5 are non-compliant. Let { 1 if the item is non-compliant, X = 0 if the item is compliant. We could say that X is the number of non-compliant items seen. The probability mass function of X is { 0.975 x = 0 f X (x) = 0.025 x = 1 A random variable like X that takes only the values 0 and 1 is called a Bernoulli random variable. 4 / 15 Discrete Random Variables Probability distribution

Example: Dice Suppose you roll a fair die, and the number of spots showing is X. Then X is a discrete random variable with probability mass function f X (x) = 1, x = 1, 2, 3, 4, 5, 6. 6 Because the probability is the same for all the possible values of X, it is called the discrete uniform distribution. Properties of the probability mass function They are probabilities: f X (x) 0. They cover all possibilities: x f X (x) = 1. 5 / 15 Discrete Random Variables Probability distribution

Cumulative distribution function ST 370 As an alternative to the probability mass function, the probability distribution of a random variable X can be defined by its cumulative distribution function (cdf) F X (x) = P(X x), < x <. In terms of the probability mass function: F X (x) = x i x f x (x i ), < x <. F X ( ) has a jump at each possible value x i of X, and the jump equals the corresponding probability f X (x i ), so the probability mass function can be obtained from the cumulative distribution function. 6 / 15 Discrete Random Variables Cumulative distribution function

Example: acceptance sampling 0 x < 0 F X (x) = 0.975 0 x < 1 1 x 1 curve(pbinom(x, 1,.025), from = -1, to = 2) 7 / 15 Discrete Random Variables Cumulative distribution function

Example: dice 0 x < 1 1/6 1 x < 2 F X (x) = 2/6 2 x < 3. 1 x 6 curve(pmax(0, pmin(1, floor(x)/6)), from = 0, to = 7) 8 / 15 Discrete Random Variables Cumulative distribution function

Mean and Variance ST 370 Mean value The mean value, or expected value, of a discrete random variable with probability mass function f X ( ) is µ X = E(X ) = x xf X (x). E(X ) is a weighted average of the possible values of X, each weighted by the corresponding probability. The expected value E(X ) is a typical value of the random variable X, in the same way that a sample mean x is a typical value of the sample x 1, x 2,..., x n. 9 / 15 Discrete Random Variables Mean and Variance

Example: acceptance sampling One item is chosen at random from a shipment of 200 items, of which 5 are non-compliant, and X is the number of non-compliant items seen: E(X ) = 0 f X (0) + 1 f X (1) = 0.025. For any Bernoulli random variable X, E(X ) = P(X = 1). 10 / 15 Discrete Random Variables Mean and Variance

Example: Dice Suppose you roll a fair die, and the number of spots showing is X : E(X ) = 1 f X (1) + 2 f X (2) + + 6 f X (6) = (1 + 2 + 3 + 4 + 5 + 6)/6 = 3.5. Note In these examples and in many others, the expected value is not one of the possible values of the random variable; this is not the paradox that it is sometimes made out to be! 11 / 15 Discrete Random Variables Mean and Variance

Variance Suppose that X is a random variable with expected value µ X. Then Y = (X µ X ) 2 is another random variable, and its expected value is E(Y ) = y = x yf Y (y) (x µ X ) 2 f X (x). 12 / 15 Discrete Random Variables Mean and Variance

The variance of X is E(Y ) = E[(X µ X ) 2 ]: σ 2 X = V (X ) = E [ (X µ X ) 2]. The standard deviation of X is σ X = σ 2 X. 13 / 15 Discrete Random Variables Mean and Variance

Example: acceptance sampling For any Bernoulli random variable X, µ X = P(X = 1) = p, say, so σ 2 X = (0 p) 2 P(X = 0) + (1 p) 2 P(X = 1) = p 2 (1 p) + (1 p) 2 p = p(1 p) and σ X = p(1 p). 14 / 15 Discrete Random Variables Mean and Variance

Example: Dice x x 3.5 (x 3.5) 2 f X (x) (x 3.5) 2 f X (x) 1 1-2.5 6.25 6 1.0417 1 2-1.5 2.25 6 0.3750 1 3-0.5 0.25 6 0.0417 1 4 0.5 0.25 6 0.0417 1 5 1.5 2.25 6 0.3750 1 6 2.5 6.25 6 1.0417 Total: 2.9168 So σ 2 X = 2.917 and σ X = 1.708. 15 / 15 Discrete Random Variables Mean and Variance