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

Similar documents
2) There is a fixed number of observations n. 3) The n observations are all independent

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

Chapter 8.1.notebook. December 12, Jan 17 7:08 PM. Jan 17 7:10 PM. Jan 17 7:17 PM. Pop Quiz Results. Chapter 8 Section 8.1 Binomial Distribution

STOR 155 Introductory Statistics (Chap 5) Lecture 14: Sampling Distributions for Counts and Proportions

***SECTION 8.1*** The Binomial Distributions

Chapter 3 - Lecture 5 The Binomial Probability Distribution

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

STOR Lecture 7. Random Variables - I

4.2 Bernoulli Trials and Binomial Distributions

Statistical Methods in Practice STAT/MATH 3379

Binomial Random Variables. Binomial Random Variables

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

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

X Prob

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

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

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

The Binomial and Geometric Distributions. Chapter 8

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

Probability Distributions for Discrete RV

STA Module 3B Discrete Random Variables

The Binomial distribution

Statistics 6 th Edition

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.

Math 243 Section 4.3 The Binomial Distribution

8.1 Binomial Distributions

Engineering Statistics ECIV 2305

6. THE BINOMIAL DISTRIBUTION

Chapter 6: Random Variables

Statistics Chapter 8

The Binomial Distribution

Chapter 6: Random Variables

Chapter 3 Discrete Random Variables and Probability Distributions

5.4 Normal Approximation of the Binomial Distribution

The Binomial Probability Distribution

Discrete probability distributions

What is the probability of success? Failure? How could we do this simulation using a random number table?

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

Name Period AP Statistics Unit 5 Review

Probability Models. Grab a copy of the notes on the table by the door

STA Rev. F Learning Objectives. What is a Random Variable? Module 5 Discrete Random Variables

4 Random Variables and Distributions

CS145: Probability & Computing

Chapter 16. Random Variables. Copyright 2010 Pearson Education, Inc.

MA : Introductory Probability

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 9: Solution. x P(x)

15.063: Communicating with Data Summer Recitation 3 Probability II

Discrete Random Variables

ASSIGNMENT 14 section 10 in the probability and statistics module

Discrete Probability Distributions

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

Chapter 5: Probability models

***SECTION 7.1*** Discrete and Continuous Random Variables

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Chapter 8: The Binomial and Geometric Distributions

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

Simple Random Sample

Some Discrete Distribution Families


Chapter 11. Data Descriptions and Probability Distributions. Section 4 Bernoulli Trials and Binomial Distribution

Binomal and Geometric Distributions

Chapter Learning Objectives. Discrete Random Variables. Chapter 3: Discrete Random Variables and Probability Distributions.

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

Probability & Statistics Chapter 5: Binomial Distribution

3. The n observations are independent. Knowing the result of one observation tells you nothing about the other observations.

HHH HHT HTH THH HTT THT TTH TTT

Central Limit Theorem 11/08/2005

Section 6.3 Binomial and Geometric Random Variables

Chapter 4 and 5 Note Guide: Probability Distributions

5.2 Random Variables, Probability Histograms and Probability Distributions

Statistics for Business and Economics: Random Variables (1)

Statistics, Measures of Central Tendency I

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Discrete Random Variables and Probability Distributions

Section Distributions of Random Variables

6 If and then. (a) 0.6 (b) 0.9 (c) 2 (d) Which of these numbers can be a value of probability distribution of a discrete random variable

Elementary Statistics Lecture 5

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

3. The n observations are independent. Knowing the result of one observation tells you nothing about the other observations.

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

Section Distributions of Random Variables

Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI

Opening Exercise: Lesson 91 - Binomial Distributions IBHL2 - SANTOWSKI

12. THE BINOMIAL DISTRIBUTION

12. THE BINOMIAL DISTRIBUTION

The Bernoulli distribution

6.1 Discrete & Continuous Random Variables. Nov 4 6:53 PM. Objectives

Chapter 8: Binomial and Geometric Distributions

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

Section 0: Introduction and Review of Basic Concepts

Lean Six Sigma: Training/Certification Books and Resources

Binomial Random Variable - The count X of successes in a binomial setting

Math 14 Lecture Notes Ch. 4.3

Chapter 3 Discrete Random Variables and Probability Distributions

Chapter 3 Discrete Random Variables and Probability Distributions

Statistics. Marco Caserta IE University. Stats 1 / 56

STA 220H1F LEC0201. Week 7: More Probability: Discrete Random Variables

Transcription:

Dr. Kim s Note (December 17 th ) The values taken on by the random variable X are random, but the values follow the pattern given in the random variable table. What is a typical value of a random variable X? The solution is given by the following definition: Mean of a Discrete Random variable Suppose that X is a discrete random variable whose distribution is Value of X Probability x1 p1 x2 p2 : : xk pk To find the mean of X, multiply each possible value by its probability, then add all the products: X x 1 p 1 x 2 p 2 x k p k k x i p i i1. 1 P a g e

This means that the average or expected value, µx of the random variable X is equal to the sum of all possible values of the variable, xi s, multiplied by the probabilities of each value happening. In our 2 tosses of a coin example, we can compute the average number of heads in 2 tosses by 0(1/4)+1(1/2)+2(1/4)=1. That is, the average number or expected number of heads in 2 tosses is one head. A more helpful way to implement this formula is to create the random variable table again, but now add an additional column to the table, and call it X*P(x). In this third column multiply the value of X by the probability. For example, X P(x) X*P(x) ---------------------------- 0 1/4 0 1 1/2 1/2 2 1/4 1/2 then, the average or expected value of X is found by adding up all the values in the third column to obtain 1. X 2 P a g e

Suppose that we toss a coin 3 times, let X be the number of heads in 3 tosses. The table is: X X P(x) X*P(x) ---------------------------- 0 1/8 0 1 3/8 3/8 2 3/8 6/8 3 1/8 3/8 =12/8=1.5. So the expected number of heads in three is one and a half heads. Figure Locating the mean of a discrete random variable on the probability histogram for (a) digits between 1 and 9 chosen at random; (b) digits between 1 and 9 chosen from that obey Benford s law. 3 P a g e

If p(x) is the pmf of X and h(x) is a function of X, then E[h(X)]= k i1 h(xi)p(xi). Var(X) = E(X 2 )-[E(X)] 2 Linear Functions of Random Variables Rules of Expected Value For any constant a, E(aX) = ae(x). For any constant b, E(X+b) = E(X) + b. So, E(aX+b) = ae(x) + b. Rules for Variance For any constants a or b, Var(aX +b) = a 2 Var(X). 4 P a g e

Mean and Variance of a Bernoulli Variable If X~Bernoulli(p), then EX = µx = p VarX = σ 2 X = p(1 p). The Binomial Distribution Binomial Distributions The distribution of the count X of successes is called the binomial distribution with parameters n and p. The parameter n is the number of observations, and p is the probability of a success on any single observation. The possible values of X are the integers from 0 to n. X~B(n, p). 5 P a g e

Example (a) Toss a balanced coin 10 times and count the number X of heads. There are n=10 tosses. Successive tosses are independent. If the coin is balanced, the probability of a head is p=0.5 on each toss. The number of heads we observe has the binomial distribution B(10, 0.5). Finding binomial probabilities: Tables We find cumulative binomial probabilities for some values for n and p by looking up probabilities in Appendix Table A.1 (pp.664) in the back of the book. The entries in the table are the cumulative probabilities P(X x) of individual outcomes for a binomial random variable X. Example A quality engineer selects an SRS of 10 switches from a large shipment for detailed inspection. Unknown to the engineer, 10% of the switches in the shipment fail to meet the specifications. What is the probability that no more than 1 of the 10 switches in the sample fails inspection? 6 P a g e

(Solution) Let X be the count of bad switches in the sample. The probability that the switches in the shipment fail to meet the specification is p=0.1 and sample size is n=10. Thus X~B(n=10, p=0.1). We want to calculate P ( X 1) P( X 0) P( X 1) Let s look at page 664 in the Table A.1 for this calculation, look n=10 and x=1 under p=0.10. Then we find P ( X 1) P( X 0) P( X 1) =.736. About 74% of all samples will contain no more than 1 bad switch. Figure Probability histogram for the binomial distribution with n=10 and p=0.1. 7 P a g e

Example Corinne is a basketball player who makes 75% of her free throws over the course of a season. In a key game, Corinne shoots 15 free throws and misses 6 of them. The fans think that she failed because she was nervous. Is it unusual for Corinne to perform this poorly? (Solution) Let X be the number of misses in 15 attempts. The probability of a miss is p=1-0.75=0.25. Thus, X~B(n=15, p=0.25). We want the probability of missing 5 or more. Let s look at page 664 in the Table A.1 for this calculation, look n=15 and x=5 under p=0.25. P( X 6) P( X 6) P( X 15) =1-P(X<6)=1-P(X 5)=1-.852=.148. Corinne will miss 6 or more out of 15 free throws about 15% of the time, or roughly one of every seven games. While below her average level, this performance is well within the range of the usual chance variation in her shooting. 8 P a g e

Binomial Mean and Standard Deviation If a count X has the binomial distribution B(n,p), then X n p X n p ( 1 p) Binomial formulas 9 P a g e