Chapter 5: Probability models

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

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

Chapter 3 Discrete Random Variables and Probability Distributions

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

Chapter 8. Variables. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc.

Week 1 Variables: Exploration, Familiarisation and Description. Descriptive Statistics.

Binomial Random Variables. Binomial Random Variables

2011 Pearson Education, Inc

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

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

Math 361. Day 8 Binomial Random Variables pages 27 and 28 Inv Do you have ESP? Inv. 1.3 Tim or Bob?

AMS7: WEEK 4. CLASS 3

CH 5 Normal Probability Distributions Properties of the Normal Distribution

Business Statistics 41000: Probability 3

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

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

Section Introduction to Normal Distributions

Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a

Business Statistics 41000: Probability 4

ECON 214 Elements of Statistics for Economists 2016/2017

Topic 6 - Continuous Distributions I. Discrete RVs. Probability Density. Continuous RVs. Background Reading. Recall the discrete distributions

Introduction to Statistics I

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

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

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

MA : Introductory Probability

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

Statistics 6 th Edition

Chapter 3 Discrete Random Variables and Probability Distributions

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Bin(20,.5) and N(10,5) distributions

Discrete Probability Distribution

The Normal Probability Distribution

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

Statistical Methods in Practice STAT/MATH 3379

5.4 Normal Approximation of the Binomial Distribution

Chapter 6: Random Variables

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

MAKING SENSE OF DATA Essentials series

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

The binomial distribution p314

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

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

Chapter 6. The Normal Probability Distributions

MATH 118 Class Notes For Chapter 5 By: Maan Omran

Chapter 4 and 5 Note Guide: Probability Distributions

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

Statistics 511 Supplemental Materials

Statistics Chapter 8

4 Random Variables and Distributions

Probability Distributions II

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

ECON 214 Elements of Statistics for Economists

LECTURE 6 DISTRIBUTIONS

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

Discrete Probability Distributions

The Binomial and Geometric Distributions. Chapter 8

Statistics and Probability

Homework: Due Wed, Feb 20 th. Chapter 8, # 60a + 62a (count together as 1), 74, 82

Chapter 7 1. Random Variables

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

Chpt The Binomial Distribution


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

d) Find the standard deviation of the random variable X.

ECON 214 Elements of Statistics for Economists 2016/2017

PROBABILITY DISTRIBUTIONS

The normal distribution is a theoretical model derived mathematically and not empirically.

CHAPTER 8 PROBABILITY DISTRIBUTIONS AND STATISTICS

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

Midterm Exam III Review

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7

Statistics for Business and Economics

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1

15.063: Communicating with Data Summer Recitation 3 Probability II

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

Model Paper Statistics Objective. Paper Code Time Allowed: 20 minutes

Lecture 9. Probability Distributions. Outline. Outline

Probability Distributions for Discrete RV

guessing Bluman, Chapter 5 2

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

What was in the last lecture?

Discrete Random Variables

Theoretical Foundations

Lecture 9. Probability Distributions

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.

4.2 Bernoulli Trials and Binomial Distributions

Objective: To understand similarities and differences between geometric and binomial scenarios and to solve problems related to these scenarios.

Math 227 Elementary Statistics. Bluman 5 th edition

The Binomial Distribution

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

Chapter 4 Probability Distributions

The Binomial Distribution

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

Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI

Opening Exercise: Lesson 91 - Binomial Distributions IBHL2 - SANTOWSKI

Binomal and Geometric Distributions

The Binomial Probability Distribution

Lecture 6: Chapter 6

Chapter 7. Sampling Distributions and the Central Limit Theorem

Transcription:

Chapter 5: Probability models 1. Random variables: a) Idea. b) Discrete and continuous variables. c) The probability function (density) and the distribution function. d) Mean and variance of a random variable. 2. Probability models: a) Bernoulli. b) Geometric. c) Binomial. d) Normal. e) Normal approximation to the binomial distribution. Recommended reading: Capítulos 22 y 23 del libro de Peña y Romo (1997)

5.1: Random variables A function which places a numerical value on each possible result of an experiment is called a random variable. We use capital letters, e.g. X, Y, Z, to represent random variables and lower case letters, x, y, z, to represent particular values of these variables. Discrete random variables can only take a discrete set of possible values. Continuous random variables can take an infinite number of values within some continuous range.

The probability function for a discrete r.v.: is the function which associates the probability P(X=x) to each possible value x. The possible values of a discrete r.v. X and their respective probabilities are often displayed in a probability distribution table: X x 1 x 2... x n P(X=x i ) p 1 p 2... p n Every probability function satisfies p1 p2 p3 p n 1 The distribution function for a discrete r.v.: Let X be a r.v. The distribution function of X is the function which gives, for each x, the cumulative probability up to x, that is, F( x) P( X x)

Mean, variance and standard deviation of a discrete r.v. The mean or expectation of a discrete r.v., X, which takes values x 1,, x 2,...with probabilities p 1, p 2,... Is given by the following expression: x P( X x ) x p The variance is defined by the formula which can be calculated using 2 2 2 i i i xp i i i i i i ( x ) 2 2 i i The standard deviation is the root of the variance. Example: The probability distribution of the r.v. X is given in the following table: x i 1 2 3 4 5 p i 0.1 0.3? 0.2 0.3 p i What is P(X=3)? Calculate the mean and variance.

5.2: Probability models Discrete models Continuous models Bernoulli trials and the geometric and binomial distributions The normal distribution and related distributions

Bernoulli trials and the geometric and binomial distributions A Bernoulli model is an experiment with the following characteristics: In each trial, there are only two possible results, success and failure. The result obtained in each trial is independent of the previous results. The probability of success is constant, P(success) = p, and does not change from one trial to the next.

The geometric distribution Suppose we have a Bernoulli model. What is the distribution of the number of failures, F, before the first success? P(F=0) = P(0 failures before the 1st success) = p P(F=1) = P(failure, success) = (1-p)p P(F=2) = P(failure, failure, success) = (1-p) 2 p P(F=f) = P( f failures before the 1st success) = (1-p) f p for f = 0, 1, 2, The distribution of F is called the geometric distribution with parameter p. E[F] = (1-p)/p V[X] = (1-p)/p 2

The binomial distribution Suppose we have a Bernoulli model. What is the distribution of the number of successes, X, in n trials? n r P( Obtener r éxitos) P( X r ) p (1 p) r for r = 0,1,2,, n. The distribution of X is called the binomial distribution with parameters n and p. nr E[X] = np V[X] = np(1-p)

EXAMPLE Calculate the probability that in a family with 4 children, 3 of them are boys. EXAMPLE The probability that a student has to repeat the year is 0,3. We pick a student at random. What is the probability that the first repeater is the 3rd student we pick? We choose 20 students at random. What is the chance that there are exactly 4 repeaters? EXAMPLE On average, 4% of the votes in an election are null. Calculate the expected number of null votes in a town with an electorate of 1000.

Calculation with Excel Binomial probabilities are tough to calculate by hand except in the simple cases of zero or 1 successes or failures. In Excel it is much easier!

Example (Test) Of all the charities in España, 30% are charities dedicated to children. If 50 Spanish charities are chosen at random how many of them are expected to be dedicated to children?

Example (Test) On average, one in every ten members of the CCOO union is a delegate. a) In interviews with CCOO members, what is the probability that the first delegate will be the second person interviewed? b) There are 4 CCOO members in La Chimbomba. What is the chance that none of them are delegates? c) In a sample of 100 CCOO members, what is the expected number of delegates?

DENSITY FUNCTION OF A CONTINUOUS R.V.: The density function of a continuous r.v. satisfies the following conditions: It only takes non-negative values, f(x) 0. The area under the curve is equal to 1. Distribution function. As with discrete variables, the distribution function gives the cumulative probability up to x, that is: F( x) P( X x) The c.d.f. satisfies the conditions: It takes the value 0 for any x below the minimum possible value of the variable. It takes the value 1 for all points over the maximum possible value of the variable.

The normal or gaussian distribution Many variables have a bell shaped density. Examples: Weights of a population of the same age and sex. Heights of the same population. The grades in a course (urban myth). To say that a continuous variable X, has a normal distribution with mean and standard deviation, we write: X ~ N(, 2 )

The standard normal distribution The normal distribution with mean 0 and standard deviation 1 is called the standard normal distribution. There are tables which allow us to calculate the probabilities for this distribution, N(0,1). If we have a normal r.v., X with mean and standard deviation we can convert this to a standard, N(0,1) r.v. using the transformation: Z X

Examples Let Z ~ N(0,1). Calculate the following probabilities P(Z < -1) P(Z > 1) P(-1,5 < Z < 2) Calculate the 90%, 95%, 97,5% and 99% percentiles of the standard normal distribution. (These values are useful in the next chapter) Let X ~ N(2,4). Calculate the following probabilities P(X < 0) P(-1 < X < 1)

It is easier to do the calculations with Excel Calculation with Excel with the standard normal or directly with the original distribution.

Approximation of the binomial distribution using a normal When n is large enough, the binomial distribution, X~B(n, p), looks like a normal distribution, N np, np(1 p) The approximation is usually considered to be good if np > 5 and n(1-p) > 5. EXAMPLE We throw a fair coin in the air 400 times. What is the probability of getting between 180 and 210 heads?

The exact solution using Excel for the binomial distribution is 0,833. The estimated solution using the normal approximation is 0,819. This can be improved with a continuity correction and then the exact and approximate solutions are equal to 3 decimal places, but if we have Excel, why should we use an approximation? We will see in the next chapter.

Example (Test) According to the last CIS survey, the mean level of satisfaction with Mariano Rajoy is 3,09 with standard deviation 2,5. If these evaluations follow a normal distribution and a person is chosen at random, then the probability that they give Rajoy a rating of less than 3,09 is: a) 0,5. b) 0. c) 1.236 d) 1.

Example (Test) The inflation rate follows a normal distribution with mean 1 and variance 4. Which of the following Excel formulas gives the probability that inflation will be negative?

Example: (Exam) The following table records the ratings of the government ministers in the last CIS survey: a) Supposing that the ratings of Chacón in Spain follow a normal distribution with mean 4,55 and standard deviation 2,6, calculate the probability that a Spaniard rates her below 4,55. b) For a set of three Spanish people, what is they probability that they all rate her below 5?* c) The lowest mean rated minister is González Sinde. If her ratings are normally distributed, calculate the probability that a randomly chosen Spaniard rates her exactly 5. *See the next slide.