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

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

The binomial distribution p314

Simple Random Sample

Binomial Random Variables. Binomial Random Variables

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

Review of the Topics for Midterm I

Chapter 8: Binomial and Geometric Distributions

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

6. THE BINOMIAL DISTRIBUTION

Chapter 5: Probability models

5.4 Normal Approximation of the Binomial Distribution

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

The Normal Probability Distribution

Math 14 Lecture Notes Ch The Normal Approximation to the Binomial Distribution. P (X ) = nc X p X q n X =

Lecture 7 Random Variables

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

Chapter 3 Discrete Random Variables and Probability Distributions

Lecture 9. Probability Distributions

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

STAT Chapter 7: Central Limit Theorem

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Lecture 9. Probability Distributions. Outline. Outline

STAT 241/251 - Chapter 7: Central Limit Theorem

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

1/2 2. Mean & variance. Mean & standard deviation

Chapter 6: Random Variables

MAKING SENSE OF DATA Essentials series

CHAPTER 6 Random Variables

ECO220Y Continuous Probability Distributions: Normal Readings: Chapter 9, section 9.10

MATH 118 Class Notes For Chapter 5 By: Maan Omran

Section 6.3 Binomial and Geometric Random Variables

Theoretical Foundations

Random Variable: Definition

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

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

2011 Pearson Education, Inc

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

The Binomial distribution

8.1 Binomial Distributions

Consider the following examples: ex: let X = tossing a coin three times and counting the number of heads

Chapter 5. Sampling Distributions

Math : Spring 2008

Midterm Exam III Review

The Bernoulli distribution

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

= 0.35 (or ˆp = We have 20 independent trials, each with probability of success (heads) equal to 0.5, so X has a B(20, 0.5) distribution.

MA 1125 Lecture 18 - Normal Approximations to Binomial Distributions. Objectives: Compute probabilities for a binomial as a normal distribution.

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

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

Business Statistics 41000: Probability 3

Statistics 6 th Edition

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

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

MA 1125 Lecture 12 - Mean and Standard Deviation for the Binomial Distribution. Objectives: Mean and standard deviation for the binomial distribution.

Discrete Probability Distribution

Chapter 3 Discrete Random Variables and Probability Distributions

Week 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4

MLLunsford 1. Activity: Central Limit Theorem Theory and Computations

AMS 7 Sampling Distributions, Central limit theorem, Confidence Intervals Lecture 4

Discrete Probability Distributions

PROBABILITY DISTRIBUTIONS

4.2 Bernoulli Trials and Binomial Distributions

The Binomial Probability Distribution

Lecture 8. The Binomial Distribution. Binomial Distribution. Binomial Distribution. Probability Distributions: Normal and Binomial

MidTerm 1) Find the following (round off to one decimal place):

5.2 Random Variables, Probability Histograms and Probability Distributions

1. Steve says I have two children, one of which is a boy. Given this information, what is the probability that Steve has two boys?

AMS7: WEEK 4. CLASS 3

Elementary Statistics Lecture 5


BIOL The Normal Distribution and the Central Limit Theorem

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

Counting Basics. Venn diagrams

Statistics and Probability

Section Distributions of Random Variables

Probability Distributions for Discrete RV

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

GOALS. Discrete Probability Distributions. A Distribution. What is a Probability Distribution? Probability for Dice Toss. A Probability Distribution

Part 10: The Binomial Distribution

Discrete Probability Distributions Chapter 6 Dr. Richard Jerz

15.063: Communicating with Data Summer Recitation 4 Probability III

CHAPTER 5 SAMPLING DISTRIBUTIONS

MA : Introductory Probability

Chapter 7 1. Random Variables

Chapter 4 Probability and Probability Distributions. Sections

No, because np = 100(0.02) = 2. The value of np must be greater than or equal to 5 to use the normal approximation.

Example 1: Identify the following random variables as discrete or continuous: a) Weight of a package. b) Number of students in a first-grade classroom

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

Discrete Probability Distributions

***SECTION 8.1*** The Binomial Distributions

CHAPTER 6 Random Variables

Chapter 8. Binomial and Geometric Distributions

Unit 5: Sampling Distributions of Statistics

Chapter 7. Sampling Distributions and the Central Limit Theorem

Unit 5: Sampling Distributions of Statistics

Chapter 9: Sampling Distributions

Example. Chapter 8 Probability Distributions and Statistics Section 8.1 Distributions of Random Variables

guessing Bluman, Chapter 5 2

12. THE BINOMIAL DISTRIBUTION

12. THE BINOMIAL DISTRIBUTION

Transcription:

Chapter 14: random variables p394 A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon. Consider the experiment of tossing a coin. Define a random variable as follows X = 1 if a H comes up = 0 if a T comes up. - This is an example of a Bernoulli r.v. Probability function of X x P(X = x) 0 1 q p p +q = 1 1

Probability distributions Each value of a random variable is an event, so each value has probability. List of values and probabilities called probability model. Tossing 3 coins: # heads 0 1 2 3 Prob. 1 3 3 1 8 8 8 8 2

Combining values of random variable: 3 coins: # heads 0 1 2 3 Prob. 1 3 3 1 8 8 8 8 How likely are we to get two or more heads? add up probs: 3/8+1/8=4/8=1/2 How likely to get at least one head? P(no heads)=1/8, so P(at least one)=1-1/8=7/8 or: P(1 or 2 or 3)=3/8+3/8+1/8=7/8 3

The mean of a random variable p394 Here's a random variable, called X: Value of X 2 3 4 5 Probability 0.1 0.2 0.4 0.3 Mean not (2+3+4+5)/4=3.5 because 4 and 5 more likely than 2 or 3. Have to account for more likely values when adding up: times by probability: 2(0.1)+3(0.2)+4(0.4)+5(0.3)=0.2+0.6 +1.6+1.5=3.9. (Weighted average, weights sum to 1.) Median is value of X where summed-up probabilities first pass 0.5: 3 too small (total 0.1+0.2=0.3), 4 is right (0.1+0.2+0.4=0.7), so median 4. Mean a little smaller than median: leftskewed. 4

The variance of a r. v. P397 - The variance of a r. v. is an average of the squared deviations ( X µ ) 2 X - Variance of a discrete r. v. is Var( X ) = ( x µ ) 2P( x) - The standard deviation of a r. v. is the positive square root of its variance. - Examples 5

Continuous random variables So far: our random variables discrete: set of possible values, like 1,2,3,..., probability for each. Recall normal distribution: any decimal value possible, can't talk about probability of any one value, just eg. less than 10, between 10 and 15, greater than 15. Normal random variable example of continuous. Finding mean and SD of continuous random variable involves calculus :-( but if we are given mean/sd, work as above. 6

Probability Models p 405 The Binomial Model Example: A biased coin (P(H) = p = 0.6) ) is tossed 5 times. Let X be the number of H s. Fine P(X = 2). This X is a binomial r. v. 7

The binomial setting 1. There are a fixed number n of observations. 2. The n observations are independent. 3. Each observation falls into one of just two categories (successes and failures) 4. The probability of a success (call it p) is the same for each observation. Probability function of the binomial dist. If X has a B(n, p), P( X = x) = nc x(1 ) n x x p p for n= 0,1,, n 8

Binomial table The link to Statistical Tables on course website includes table of binomial distribution probabilities. In here, find chance of exactly k successes in n trials with success prob p. Ex. The probability that a certain machine will produce a defective item is 1/5. If a random sample of 6 items is taken from the output of this machine, what is the probability that there will be 5 or more defectives in the sample? 9

Ex There are 20 multiple-choice questions on an exam, each having responses a, b, c, d and e. Each question is worth 5 points. And only one response per question is correct. Suppose that a student guesses the answer to question and her guesses from question to question are independent. It the student needs at least 40 points to pass the test. What is the probability that the student will pass the test? Ans. X~B(20, 0.2). P(X>=8) = 0.0322, adding the entries 8 through 20 in the appropriate of the binomial table What is the expected (mean) score for this student. (later) Ans. 20 x 0.2 = 4 and expected score =5 x 4= 20 10

Suppose n=8 and p=0.7. What is the probability of exactly 7 successes? 7 or more successes? Idea: count failures instead of successes. P(success)=0.7 means P(failure)=1-0.7=0.3 7 successes = 8-7=1 failure. so look up n=8, p=0.3, k=1 prob=0.1977 which is answer we want. 7 or successes = 7, 8 successes P(failure)=1-0.7=0.3 7, 8 successes = 1, 0 failures prob we want is 0.1977+0.0576=0.2553. 11

Mean and Variance of a binomial r. v. p If X has a Bin(n, p) mean np = and SD= np(1 p) Example 12

Binomial Distribution: Binomial trials=5, Probability of success=0.5 Probability Mass 0.05 0.10 0.15 0.20 0.25 0.30 0 1 2 3 4 5 Number of Successes 13

Binomial Distribution: Binomial trials=20, Probability of success=0.9 Probability Mass 0.00 0.05 0.10 0.15 0.20 0.25 13 14 15 16 17 18 19 20 Number of Successes Binomial Distribution: Binomial trials=30, Probability of success=0.2 Probability Mass 0.00 0.05 0.10 0.15 0 2 4 6 8 10 12 14 Number of Successes 14

Binomial Distribution: Binomial trials=500, Probability of success=0.4 Probability Mass 0.00 0.01 0.02 0.03 170 180 190 200 210 220 230 Number of Successes 15

How does the shape depend on p? p<0.5, skewed right; p>0.5, skewed left; p=0.5, symmetric What happens to the shape as n increases? shape becomes normal What does this suggest to do if n is too large for the tables? If n too large for tables, try normal approximation to binomial. Compute mean and SD of binomial, then pretend binomial actually normal: 16

Normal approximation for counts and proportions p415 Draw a SRS of size n from a large population having population p of success. Let X be the count of success in the sample and pˆ = X / n the sample proportion of successes. When n is large, the sampling distributions of these statistics are approximately normal: X is approx. N( np, np(1 p)) Works if n large and p not too far from 0.5 As a rule of thumb, we will use this approximation for values of n and p that satisfy np 10 and n(1 p) 10. can relax this a bit if p close to 0.5. 17

According to government data, 21% of American children under the age of six live in households with incomes less than the official poverty level. A study of learning in early childhood chooses an SRS of 300 children. (a) What is the mean number of children in the sample who come from poverty-level households? What is the standard deviation of this number? (b) Use the normal approximation to calculate the probability that at least 80 of the children in the sample live in poverty. Be sure to check that you can safely use the approximation. (a) µ = (300)(0.21) = 63, σ = ( 300)(0.21)(0.79) = 7.0548. (b) np = 63 and n(1 p) = 237 are both more than 10, so we may approximate using the normal distribution: P(X 80) = P(Z 2.41) = 0.0080, or with the continuity correction: P(X 79.5) = P(Z 2.34) = 0.0096. 18