Chapter 4 Continuous Random Variables and Probability Distributions

Similar documents
Chapter 4 Continuous Random Variables and Probability Distributions

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

Statistics for Business and Economics

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

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

STAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

Chapter 5. Continuous Random Variables and Probability Distributions. 5.1 Continuous Random Variables

ECON 214 Elements of Statistics for Economists 2016/2017

Chapter 7 1. Random Variables

Continuous Probability Distributions & Normal Distribution

Central Limit Theorem, Joint Distributions Spring 2018

Continuous random variables

Data Analysis and Statistical Methods Statistics 651

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 10: Continuous RV Families. Prof. Vince Calhoun

CS 237: Probability in Computing

STAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

What was in the last lecture?

Continuous Distributions

Chapter 8 Statistical Intervals for a Single Sample

4 Random Variables and Distributions

2011 Pearson Education, Inc

Chapter ! Bell Shaped

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

Statistical Tables Compiled by Alan J. Terry

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Introduction to Business Statistics QM 120 Chapter 6

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 Distributions II

Chapter 7 Sampling Distributions and Point Estimation of Parameters

Normal distribution. We say that a random variable X follows the normal distribution if the probability density function of X is given by

Chapter 3 Discrete Random Variables and Probability Distributions

The Normal Distribution

Random Variable: Definition

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

SYSM 6304 Risk and Decision Analysis Lecture 2: Fitting Distributions to Data

ECON 214 Elements of Statistics for Economists

AP Statistics Chapter 6 - Random Variables

A continuous random variable is one that can theoretically take on any value on some line interval. We use f ( x)

Chapter 7: SAMPLING DISTRIBUTIONS & POINT ESTIMATION OF PARAMETERS

Statistics 431 Spring 2007 P. Shaman. Preliminaries

Chapter 3 Discrete Random Variables and Probability Distributions

Lecture 12. Some Useful Continuous Distributions. The most important continuous probability distribution in entire field of statistics.

Statistics (This summary is for chapters 17, 28, 29 and section G of chapter 19)

Section Introduction to Normal Distributions

The Normal Distribution. (Ch 4.3)

. (i) What is the probability that X is at most 8.75? =.875

Chapter 2: Random Variables (Cont d)

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

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

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.

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

Commonly Used Distributions

Department of Quantitative Methods & Information Systems. Business Statistics. Chapter 6 Normal Probability Distribution QMIS 120. Dr.

Statistics 511 Supplemental Materials

MAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw

Probability. An intro for calculus students P= Figure 1: A normal integral

Chapter 6 Continuous Probability Distributions. Learning objectives

STATISTICS and PROBABILITY

Business Statistics 41000: Probability 3

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

Standard Normal, Inverse Normal and Sampling Distributions

2. The sum of all the probabilities in the sample space must add up to 1

Tutorial 11: Limit Theorems. Baoxiang Wang & Yihan Zhang bxwang, April 10, 2017

Populations and Samples Bios 662

Basic Data Analysis. Stephen Turnbull Business Administration and Public Policy Lecture 4: May 2, Abstract

Lecture Stat 302 Introduction to Probability - Slides 15

University of California, Los Angeles Department of Statistics. Normal distribution

II. Random Variables

The Normal Distribution

Statistics 6 th Edition

Standard Normal Calculations

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

The Normal Distribution

Chapter 4 Probability Distributions

Discrete Random Variables

PROBABILITY DISTRIBUTIONS

VI. Continuous Probability Distributions

Chapter 4 Random Variables & Probability. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

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

Statistical Methods in Practice STAT/MATH 3379

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

Statistics for Business and Economics: Random Variables:Continuous

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

6. Continous Distributions

4.3 Normal distribution

MAS187/AEF258. University of Newcastle upon Tyne

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

Sampling Distribution

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

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

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

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER

Overview. Definitions. Definitions. Graphs. Chapter 4 Probability Distributions. probability distributions

Normal distribution Approximating binomial distribution by normal 2.10 Central Limit Theorem

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

6 Central Limit Theorem. (Chs 6.4, 6.5)

Statistical Intervals. Chapter 7 Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

Lecture 6: Chapter 6

Shifting and rescaling data distributions

Random Variables and Probability Functions

Transcription:

Chapter 4 Continuous Random Variables and Probability Distributions Part 2: More on Continuous Random Variables Section 4.5 Continuous Uniform Distribution Section 4.6 Normal Distribution 1 / 28

One more comment on the Poisson distribution... The Poisson gives you a long-term rate of events per unit (e.g. 3 error per page), and events are assumed to occur completely random. So, more units coincides with a higher expected number of events (e.g. 6 errors for every 2 pages). Example (Poisson and a specific time window ) The number of false fire alarms in a suburb of Houston averages 2.1 per day and follows a Poisson distribution. 1) What is the expected number of false fire alarms in 2 days? ANS: We are given the rate of occurrence as 2.1 per day. Assuming the false fire alarms occur at random over time, the expected number in 2 days is 2 2.1 = 4.2 2 / 28

One more comment on the Poisson distribution... Example (Poisson and a specific time window, cont.) 2) What is the probability that there will be at least 1 false fire alarm in 2 days? ANS: Let Y equal the number of false fire alarms in 2 days. Y follows a Poisson distribution with an expected number false fire alarms of 4.2. P (Y = y) = e 4.2 4.2 y y! for y = 0, 1, 2, 3... P (Y 1) = 1 P (Y < 1) = 1 P (Y = 0) = 1 e 4.2 = 0.9850 3 / 28

Continuous and Discrete Random Variables Continuous Random Variable Discrete Random Variable X can take on all possible values X can take on only distinct in an interval of real numbers. discrete values in a set. e.g. X [0, 1] e.g. X {0, 1, 2, 3,..., } Probability density function, f(x) Probability mass function, f(x) Cumulative distribution function, Cumulative distribution function, F (x) = P (X x) = x f(u)du F (x) = P (X x) = x f(x i x i) µ = E(X) = xf(x)dx µ = E(X) = x xf(x) σ 2 = V (X) = E(X µ) 2 σ 2 = V (X) = E(X µ) 2 = (x µ)2 f(x)dx = x (x µ)2 f(x) = E(X 2 ) [E(X)] 2 = E(X 2 ) [E(X)] 2 = x2 f(x)dx µ 2 = x x2 f(x) µ 2 4 / 28

Continuous Uniform Distribution The simplest continuous distribution X falls between a and b. It s uniformly distributed over the interval [a, b]. f(x) has a constant value, and f(x) = 1 b a This coincides with the area under the curve being 1. Example (Uniform(2,4)) pdf CDF f(x) 1.0 0.8 0.6 0.4 F(x) 1.0 0.8 0.6 0.4 0.2 0.2 0.0 0 1 2 3 4 5 6 0.0 0 1 2 3 4 5 6 x x 5 / 28

Continuous Uniform Distribution Definition (Continuous Uniform Distribution) A continuous random variable X with probability density function f(x) = 1 b a, a x b is a continuous uniform random variable. Definition (Mean and and Variance for Continuous Uniform Dist n) If X is a continuous uniform random variable over a x b µ = E(X) = (a+b) 2, and σ 2 = V (X) = (b a)2 12 6 / 28

Continuous Uniform Distribution Example (Uniform(0,20)) For the uniform probability density function described earlier with a = 0 and b = 20, f(x) = 1 20 = 0.05 for 0 x 20. Find E(X) and V (X) using the formulas. ANS: a = 0, b = 20 µ = E(X) = (0+20) 2 = 10 σ 2 = V (X) = (20 0)2 12 = 33.33 7 / 28

Continuous Uniform Distribution Example (Shampoo bottle volume) The volume, X, of shampoo filled into a container is uniformly distributed betwee 374 and 380 milliliters. 1) Find the cumulative distribution function (CDF) for X. 2) Use the CDF to find the volume of shampoo that is exceeded by 95% of all the volumes (i.e the threshold for the lowest 5%). ANS: 1) 2) 8 / 28

Normal Distribution f(x) x Perhaps the most widely used distribution of a random variable. Arises naturally in physical phenomena. Two parameters completely define a normal probability density function, µ and σ 2. µ is the expected value, or center of the distribution. σ 2 is the variance of the distribution, and quantifies spread. Symmetrical distribution. 9 / 28

Normal Distribution A normal distribution can occur anywhere along the real number line. It always has a bell-shape. The parameter µ tells us where it is centered, and where there s a high probability of X occurring. σ 2 tells us how spread-out the distribution is. Recall that the area under the curve must be a 1. 10 / 28

Normal Distribution: 68-95-99.7 Rule Special result of normal distribution: Recall: σ is the standard deviation of X, σ = V (X) 68% of the observations lie within 1 std. deviation of the mean. 95% of the observations lie within 2 std. deviation of the mean. 99.7% of the observations lie within 3 std. deviation of the mean. Very little area under the curve lies beyond 3σ away from the mean. 11 / 28

Normal Distribution: 68-95-99.7 Rule Example (Weight of contents in cereal box) A box of Quazar cereal states there are 15 oz. of cereal in a box. In reality, the amount of cereal in a box varies from box to box. Suppose the amount has a normal distribution with µ = 15 and σ 2 = 0.04. What percentage of boxes have between 14.6 oz and 15.4 oz. of cereal? ANS: 12 / 28

Normal Distribution (pdf) What about computing probabilities for values other than µ ± 1σ, µ ± 2σ, µ ± 3σ Definition (Normal distribution) A random variable X with probability density function f(x) = 1 2π σ e 1 2σ 2 (x µ)2 < x < is a normal random variable with parameters µ and σ, where < µ <, and σ > 0, and π = 3.14159... and e = 2.71828... Also, E(X) = µ and V (X) = σ 2 The notation N(µ, σ 2 ) will be used to denote the distribution. 13 / 28

14.0 14.5 15.0 15.5 16.0 x Normal Distribution Example (Weight of contents in cereal box) What percent of boxes contain less than 14.5 oz. of cereal? P (X 14.5) =F (14.5) = 14.5 f(x)dx 14.5 1 = e 1 2σ 2 (x µ)2 dx 2π σ 1 14.5 = e 1 2(0.04) (x 15)2 dx 2π (0.2) f(x) This can not be done in closed form, instead we ll use statistical tables (p.742 in book) to calculate. 14 / 28

Normal Distribution: Standard Normal N(0, 1) There is an infinite number of distinct normal distributions (any µ and σ 2 define one). But, we only need one statistical table to compute probabilities for EVERY normal. This is because every normal distribution can be shifted and scaled (i.e. stretched or shrunk) to look like the Standard Normal Distribution (shown below). 15 / 28

Normal Distribution: Standard Normal N(0, 1) Definition (Standard Normal Distribution) A normally distributed random variable with µ = 0 and σ 2 = 1 is a standard normal random variable and is denoted as Z. We say Z is distributed N(0, 1), or Z N(0, 1). The cumulative distribution function, F (x), of a standard normal random variable is denoted as Φ(z) = P (Z z) 16 / 28

Normal Distribution: Standard Normal N(0, 1) The Standard Normal Distribution Φ(1.5) = P (Z 1.5) = 0.93319 Appendix A Table III on p.742-743 in book. Table for determining probabilities for Z: 17 / 28

Normal Distribution: Standard Normal N(0, 1) Example (Standard Normal Distribution) Find P (Z 1.52) = Φ(1.52). ANS: : See Table III. Find row and column for Z=1.52 P (Z 1.52) = 0.93574 The table provides cumulative distributions. These are areas under the normal curve of f(x) to the left of a given z-value. 18 / 28

Normal Distribution: Standard Normal N(0, 1) Example (Standard Normal Distribution) Find P (Z 1.25) = Φ( 1.25). ANS: : From Table III, P (Z 1.25) = 0.10565 19 / 28

Normal Distribution: Standard Normal N(0, 1) Example (Standard Normal Distribution) Find P (Z > 1.26). ANS: P (Z > 1.26) = 1 P (Z 1.26) = 1 0.89616 = 0.10384 20 / 28

Normal Distribution: Standard Normal N(0, 1) Example (Standard Normal Distribution) Find P ( 1.25 Z 0.37). ANS: : P ( 1.25 Z 0.37) = P (Z 0.37) P (Z 1.25) = 0.64431 0.10565 = 0.53866 21 / 28

Normal Distribution: Standardizing How do we compute probabilities for our cereal example? For X N(15, 0.2 2 ), how do we use the table to find P (X 14.5)? We first shift the random variable to be centered at 0 (i.e. subtract the mean). X = X µ = X 15 Then, we scale it to have a standard deviation of 1 (i.e. divide by the standard deviation). X = X σ = X 15 σ After this shift and scale phrased as subtract the mean, divide by the standard deviation, then this new variable X = X µ σ is a Z random variable, or a standard normal random variable, or a N(0, 1) random variable. 22 / 28

Normal Distribution: Standardizing Definition (Standardizing a Normal Random Variable) If X is a normal random variable with E(X) = µ and V (X) = σ 2, then the random variable, then Z = X µ σ is a normal random variable with E(Z) = 0 and V (Z) = 1. That is, Z is a standard normal random variable. Z represents the distance X is from its mean in terms of the number of standard deviations. 23 / 28

Normal Distribution: Standardizing Let X N(10, 2 2 ) {i.e. X is not a std. normal r.v. } X µ Subtract the mean, divide by the standard deviation Z = σ ( X µ P (X 13) = P σ = P (Z 1.5) ) 13 10 2 = 0.9332 {from table III} 24 / 28

Normal Distribution: Standardizing Standardizing to Calculate a Probability Suppose X is a normal random variable with mean µ and variance σ 2 or X N(µ, σ 2 ), then P (X x) = P ( X µ σ ) x µ σ = P (Z z) where Z is a standard normal random variable, and z = (x µ) σ is the z-value obtained by standardizing X. Then, we obtain probabilities from Z table or Table III. Again, there are an infinite number of normal distributions, but we only need one table since any N(µ, σ 2 ) can be related to the N(0, 1). 25 / 28

Normal Distribution: Standardizing Example (Weight of contents in a cereal box, cont.) Back to the cereal example... What percent of boxes contain less than 14.5 oz. of cereal? Recall that the amount in a cereal box is normally distributed with mean 15 oz. and standard deviation of 0.2 oz. ANS: 26 / 28

Normal Distribution: Using the table in reverse Example (Weight of contents in a cereal box, cont.) Find the cereal box amount (in oz.) at which 20% of the cereal boxes have less than this much cereal. (Find the threshold at which 20% of the boxes fall below this amount). ANS: Recall, X N(15, 0.2 2 ) <sketch here> First, find the probability 0.20 in the middle of the Z-table. Find the z-value that coincides with this probability (by finding a row and column). Continued next slide... 27 / 28

Normal Distribution: Using the table in reverse Example (Weight of contents in a cereal box, cont.) The z-value goes where the? is at: P (Z? ) = 0.20 P (Z 0.84) = 0.20 z-value= 0.84 Unstandardize the z-value to get the x-value: z = x µ σ x = µ + zσ x = 15 + ( 0.84)0.2 x = 14.832 28 / 28