Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-1 Lesson 5: Continuous Probability Distributions.

Slides:



Advertisements
Similar presentations
Chapter 6 Continuous Random Variables and Probability Distributions
Advertisements

Continuous Random Variables and the Central Limit Theorem
Lecture note 6 Continuous Random Variables and Probability distribution.
Chapter 6 Continuous Random Variables and Probability Distributions
Ka-fu Wong © 2003 Chap 7- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
The Normal Probability Distribution
1 Business 90: Business Statistics Professor David Mease Sec 03, T R 7:30-8:45AM BBC 204 Lecture 18 = Start Chapter “The Normal Distribution and Other.
Chapter 5 Discrete and Continuous Probability Distributions
Chapter 6 The Normal Distribution and Other Continuous Distributions
Ch. 6 The Normal Distribution
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Continuous Random Variables and Probability Distributions
1 Business 90: Business Statistics Professor David Mease Sec 03, T R 7:30-8:45AM BBC 204 Lecture 19 = More of Chapter “The Normal Distribution and Other.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 6-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chapter 6 The Normal Distribution & Other Continuous Distributions
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 6-1 Chapter 6 The Normal Distribution & Other Continuous Distributions Statistics for.
Chapter 5 Continuous Random Variables and Probability Distributions
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Chap 6-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 6 Continuous Random Variables and Probability Distributions Statistics.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions Basic Business.
Ka-fu Wong © 2004 ECON1003: Analysis of Economic Data Lesson5-1 Lesson 5: Continuous Probability Distributions.
Ka-fu Wong © 2004 ECON1003: Analysis of Economic Data Lesson6-1 Lesson 6: Sampling Methods and the Central Limit Theorem.
Discrete and Continuous Probability Distributions.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution Business Statistics: A First Course 5 th.
Chapter 6 The Normal Distribution & Other Continuous Distributions
Chapter 4 Continuous Random Variables and Probability Distributions
Chap 6-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 6 The Normal Distribution Business Statistics: A First Course 6 th.
B AD 6243: Applied Univariate Statistics Understanding Data and Data Distributions Professor Laku Chidambaram Price College of Business University of Oklahoma.
Ch 7 Continuous Probability Distributions
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8 Continuous.
Chapter 6: Probability Distributions
Business Statistics: Communicating with Numbers
Theory of Probability Statistics for Business and Economics.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Lecture 4 The Normal Distribution. Lecture Goals After completing this chapter, you should be able to:  Find probabilities using a normal distribution.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 5-1 Introduction to Statistics Chapter 6 Continuous Probability Distributions.
Applied Quantitative Analysis and Practices LECTURE#11 By Dr. Osman Sadiq Paracha.
7- 1 Chapter Seven McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved THE Normal PROBABILITY DISTRIBUTION.
7- 1 Chapter Seven McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Ka-fu Wong © 2003 Chap 6- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Basic Business Statistics
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 6-1 The Normal Distribution.
Chap 5-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 5 Discrete and Continuous.
Continuous Random Variables and Probability Distributions
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 6-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions Basic Business.
Chap 6-1 Chapter 6 The Normal Distribution Statistics for Managers.
© 1999 Prentice-Hall, Inc. Chap Statistics for Managers Using Microsoft Excel Chapter 6 The Normal Distribution And Other Continuous Distributions.
5 - 1 © 2000 Prentice-Hall, Inc. Statistics for Business and Economics Continuous Random Variables Chapter 5.
1 Math 10 Part 4 Slides Continuous Random Variables and the Central Limit Theorem © Maurice Geraghty, 2015.
Chap 5-1 Discrete and Continuous Probability Distributions.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution Business Statistics, A First Course 4 th.
Yandell – Econ 216 Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Chapter 6 The Normal Distribution and Other Continuous Distributions
MECH 373 Instrumentation and Measurements
Chapter 6 Created by Bethany Stubbe and Stephan Kogitz.
Normal Distribution and Parameter Estimation
Analysis of Economic Data
STAT 206: Chapter 6 Normal Distribution.
Chapter 5 Continuous Random Variables and Probability Distributions
Chapter 6 Introduction to Continuous Probability Distributions
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 5 Normal Probability Distribution
Chapter 6 Continuous Probability Distributions
Chapter 5 Continuous Random Variables and Probability Distributions
The Normal Distribution
Presentation transcript:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-1 Lesson 5: Continuous Probability Distributions

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-2 Outline Continuous probability distributions Features of univariate probability distribution Features of bivariate probability distribution Marginal density and Conditional density Expectation, Variance, Covariance and Correlation Coefficient Importance of normal distribution The normal approximation to the binomial

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-3 Types of Probability Distributions Number of random variablesJoint distribution 1Univariate probability distribution 2Bivariate probability distribution 3Trivariate probability distribution …… nMultivariate probability distribution Probability distribution may be classified according to the number of random variables it describes.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-4 Continuous Probability Distributions A continuous random variable is a variable that can assume any value in an interval thickness of an item time required to complete a task temperature of a solution height, in inches These can potentially take on any value, depending only on the ability to measure accurately.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-5 Cumulative Distribution Function The cumulative distribution function, F(x), for a continuous random variable X expresses the probability that X does not exceed the value of x Let a and b be two possible values of X, with a < b. The probability that X lies between a and b is

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-6 Probability Density Function Let X be a random variable that takes any real values in an interval between a and b. The number of possible outcomes are by definition infinite. The main features of a probability density function f(x) are: P(X  (- , +  )) = P(X  (a,b)) = 1. P(X = x) = 0. f(x)  0 for all x and may be larger than 1. The probability that X falls into an subinterval (c,d) is and lies between 0 and 1.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-7 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly in segment A (which lies on a straight line)? Suppose the dart has equal chance to land on any point of the line. A 1. a b

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-8 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly in segment A (which lies on a straight line)? Suppose the dart has equal chance to land on any point of the line. A 0.5. a b 1/2

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-9 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly in segment A (which lies on a straight line)? Suppose the dart has equal chance to land on any point of the line. A a b 1/2 1/4

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-10 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly in segment A (which lies on a straight line)? Suppose the dart has equal chance to land on any point of the line. A a b 1/2 1/4 1/8

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-11 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly at a point A (which lies on a straight line)? Suppose the dart has equal chance to land on any point of the line. A 0!! a b 1/2 1/4 1/8

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-12 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly at a point A or a point B (which lie on a straight line)? Suppose the dart has equal chance to land on any point of the line. A 0!! Since A & B are mutually exclusive, P(A or B) = P(A) + P(B) =0. a b 1/2 1/4 1/8 B

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-13 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly at one of the single point on the line? Suppose the dart has equal chance to land on any point of the line. A 0!! Since for distinct points A & B are mutually exclusive, P(A or B) = P(A) + P(B) =0. P (one of the single point on the line) = 0 ????? a b 1/2 1/4 1/8 B

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-14 The probability concepts for the discrete case is not readily applicable…. Would like to modify the concept of discrete probability to fit into the case of continuous random variable! What do we know? P(X<k) should be proportional to (k-0) Try P(X<k) = (k-a)*c where c is a constant. P(X<b) = (b-a)*c implies c= 1/(b-a)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-15 The probability concepts for the discrete case is not readily applicable…. What is the probability that a dart randomly thrown will end up exactly in segment A (which lies on a straight line)? Suppose the dart has equal chance to land on any point of the line. A 0.5 = (b-a)/2 * c = 1/2. a b 1/2 C=1/(b-a) c is called the probability density. Probability is simply the area

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-16 The probability concepts for the discrete case is not readily applicable…. In discrete case, E(X) = ∑ X X P(X). In continuous case, P(X) =0 for any point of X. How do we compute E(X) then? Split the domain into n equal parts, so that the width of these n interval is dx=(b-a)/n. In each of these n intervals, the probability is well define. Then, take the left boundary value of each of this n intervals, multiply by the probability for the interval. Then, we have a weighted average similar to the discrete case. E(X)= a*dx*c + (a+dx)*dx*c+ (a+2dx)*dx*c+ … +(a+(n-1)dx)*dx*c a b c dx

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-17 The probability concepts for the discrete case is not readily applicable…. E(X)= a*dx*c + (a+dx)*dx*c+ (a+2dx)*dx*c+ … +(a+(n-1)dx)*dx*c a b c dx However, it is an approximation because a is only an approximate of the points within the interval (a, a+dx). Approximation improves if dx is made smaller, or n larger. That is, when dx is very very very closed to zero (but still positive), E(X)= lim n->  [a*dx*c + (a+dx)*dx*c +… +(a+(n-1)dx)*dx*c] = lim n->  ∑ i [x i *dx*c ] =lim dx->0 ∑ i [x i *dx*c ] xixi x i +dx

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-18 The probability concepts for the discrete case is not readily applicable…. What if we want to allow it more likely for the dart to end up in some segment of the line (say, the middle segment)? a b c2c2 c1c1 c1c1 1/4 3/4 We can do it as long as we have the areas added up to 1: ¼*c 1 + ½*c 2 + ¼*c 1 = 1.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-19 The probability concepts for the discrete case is not readily applicable…. What is we want to allow it is more likely for the dart to end up in some segment of the line (say, the middle segment)? a b c2c2 c1c1 c1c1 1/4 3/4 It is better to define the density “function” to allow the density to vary with x in a general way. f(x) = c 1 if x in (a, a+1/4) = c 2 if x in (a+1/4, a+3/4) = c 3 if x in (a+3/4, b)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-20 cd x f(x) Shaded area under the curve is the probability that X is between c and d Probability as an area

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-21 Probability Density Function The cumulative density function F(x 0 ) is the area under the probability density function f(x) from the minimum x value (a) up to x 0

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-22 Expectations for Continuous Random Variables The mean of X, denoted μ X, is defined as the expected value of X The variance of X, denoted σ X 2, is defined as the expectation of the squared deviation, (X - μ X ) 2, of a random variable from its mean

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-23 Linear Functions of Variables Let W = a + bX, where X has mean μ X and variance σ X 2, and a and b are constants Then the mean of W is E(W) = E(a+bX) = a + bE(X) = a + b μ X the variance is Var(W) = Var(a+bX) = b 2 Var(X) = b 2 σ X 2 the standard deviation of W is |b|σ X

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-24 An important special case of the previous results is the standardized random variable Z =( X- μ X ) /σ X which has a mean 0 and variance 1 Linear Functions of Variables

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-25 The Univariate Uniform Distribution If c and d are numbers on the real line, the random variable X ~ U(c,d), i.e., has a univariate uniform distribution if The mean and standard deviation of a uniform random variable x are

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-26 The Uniform Density

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-27 Learning exercise 4: Part-time Work on Campus A student has been offered part-time work in a laboratory. The professor says that the work will vary from week to week. The number of hours will be between 10 and 20 with a uniform probability density function, represented as follows: How tall is the rectangle? What is the probability of getting less than 15 hours in a week? Given that the student gets at least 15 hours in a week, what is the probability that more than 17.5 hours will be available?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-28 Learning exercise 4: Part-time Work on Campus How tall is the rectangle? (20-10)*h = 1 h=0.1 What is the probability of getting less than 15 hours in a week? 0.1*(15-10) = 0.5 Given that the student gets at least 15 hours in a week, what is the probability that more than 17.5 hours will be available? 0.1*( ) = /0.5 = 0.5 P(hour>17.5)/P(hour>15)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-29 The Normal Distribution Continuous Probability Distributions Uniform Normal Exponential

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-30 ‘Bell Shaped’ Symmetrical Mean, Median and Mode are Equal Location is determined by the mean, μ Spread is determined by the standard deviation, σ The random variable has an infinite theoretical range: +  to   Mean = Median = Mode x f(x) μ σ Normal Distribution N( ,  2 ) The normal probability distribution is asymptotic. That is the curve gets closer and closer to the X-axis but never actually touches it.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-31 The Normal Distribution N( ,  2 ) The normal distribution closely approximates the probability distributions of a wide range of random variables Distributions of sample means approach a normal distribution given a “large” sample size Computations of probabilities are direct and elegant The normal probability distribution has led to good business decisions for a number of applications Sum of normal random variables remain normal. Normal distribution is completely characterized by two parameters, mean and variance.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-32 N( ,  2 ) x x x (a) (b) (c) Changing  shifts the location of the distribution. Changing  2 changes the dispersion.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-33 The Normal Probability Distribution The random variable X ~ N( ,  2 ), i.e., has a univariate normal distribution if for all x on the real line (- ,+  )  and  are the mean and standard deviation,  = … and e = is the base of natural or Naperian logarithms.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-34 Normal Distribution Probability Probability is the area under the curve! c d X f(X)f(X) A table may be constructed to help us find the probability

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-35 Moments of Standard Normal Random Variables N(0,  ) Mean=0 Variance =1 Skewness = 0 Kurtosis = 3 Excess kurtosis =0

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-36 Infinite Number of Normal Distribution Tables Normal distributions differ by mean & standard deviation. Each distribution would require its own table. X f(X)f(X)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data The Standard Normal Probability Distribution -- N(0,1) The standard normal distribution is a normal distribution with a mean of 0 and a standard deviation of 1. It is also called the z distribution. A z-value is the distance between a selected value, designated X, and the population mean , divided by the population standard deviation, . The formula is:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data The Standard Normal Probability Distribution Any normal random variable can be transformed to a standard normal random variable Suppose X ~ N(µ,  2 ) Z=(X-µ)/  ~ N(0,1) P(X<k) = P [(X-µ)/  < (k-µ)/  ]

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-39 Standardize the Normal Distribution 0  = 1 Z Because we can transform any normal random variable into standard normal random variable, we need only one table! Normal Distribution Standardized Normal Distribution X  

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-40 Standardizing Example Z 0.12 Normal distribution N(5,100)  = 5,  = 10 Standardized Normal Distribution N(0,1)  = 0,  = 1 X 5 6.2

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-41 Obtaining the Probability Z 0  = Z Standardized Normal Probability Table (Portion) Probabilities Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-42 Example P(3.8  X  5) Z Normal Distribution Standardized Normal Distribution Shaded Area Exaggerated X  = 5  =

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-43 Example (2.9  X  7.1) Z.21 Normal Distribution Standardized Normal Distribution 5  = X Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-44 Example P(X  8) Z 0.30 Normal Distribution Standardized Normal Distribution X  = 5  = 10 8 Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-45 Example P(7.1  X  8) 0.30 Z.21 Normal Distribution Standardized Normal Distribution  = 5  = X Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-46 Normal Distribution Thinking Challenge You work in Quality Control for GE. Light bulb life has a normal distribution with µ= 2000 hours &  = 200 hours. What’s the probability that a bulb will last between 2000 & 2400 hours? less than 1470 hours?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-47 Solution P(2000  X  2400) Z Normal Distribution.4772 Standardized Normal Distribution X  = 2000  = P(2000<X<2400) = P [(2000-µ)/  <(X-µ)/  < (2400-µ)/  ] = P[(X-µ)/  < (2400-µ)/  ] – P [(X-µ)/  < (2000-µ)/  ] = P[(X-µ)/  < (2400-µ)/  ] – 0.5 Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-48 Solution P(X  1470) Z Normal Distribution Standardized Normal Distribution X  = 2000  = P(X<1470) = P [(X-µ)/  < (1470-µ)/  ] Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-49 Finding Z Values for Known Probabilities Z Z  Z = 0  Z = Standardized Normal Probability Table (Portion) What Is Z Given P(Z) = ? Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-50 Finding X Values for Known Probabilities Z  Z = 0  Z = 1.31 X  = 5  = 10 ? Normal DistributionStandardized Normal Distribution.1217 Shaded Area Exaggerated

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-51 EXAMPLE 1 The bi-monthly starting salaries of recent MBA graduates follows the normal distribution with a mean of $20,000 and a standard deviation of $2,000. What is the z-value for a salary of $24,000?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-52 EXAMPLE 1 continued A z-value of 2 indicates that the value of $24,000 is 2 standard deviation above the mean of $20,000. A z-value of – 1.50 indicates that $17,000 is 1.5 standard deviation below the mean of $20,000. What is the z-value of $17,000 ?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-53 Areas Under the Normal Curve About 68 percent of the area under the normal curve is within one standard deviation of the mean.  ±  P(  -  < X <  +  ) = About 95 percent is within two standard deviations of the mean.  ± 2  P(  - 2  < X <  + 2  ) = Practically all is within three standard deviations of the mean.  ± 3  P(  - 3  < X <  + 3  ) =

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-54 EXAMPLE 2 The daily water usage per person in New Providence, New Jersey is normally distributed with a mean of 20 gallons and a standard deviation of 5 gallons. About 68 percent of those living in New Providence will use how many gallons of water? About 68% of the daily water usage will lie between 15 and 25 gallons.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-55 EXAMPLE 2 continued What is the probability that a person from New Providence selected at random will use between 20 and 24 gallons per day? P(20<X<24) =P[(20-20)/5 < (X-20)/5 < (24-20)/5 ] =P[ 0<Z<0.8 ] The area under a normal curve between a z-value of 0 and a z-value of 0.80 is We conclude that percent of the residents use between 20 and 24 gallons of water per day.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-56 How do we find P(0<z<0.8) P(0<z<0.8) = P(z<0.8) – P(z<0) = – 0.5 = P(z<c) c P(0<z<c) c 0 P(0<z<0.8) =

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-57 EXAMPLE 2 continued What percent of the population use between 18 and 26 gallons of water per day? Suppose X ~ N(µ,  2 ) Z=(X-µ)/  ~ N(0,1) P(X<k) = P [(X-µ)/  < (k-µ)/  ]

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-58 How do we find P(-0.4<z<1.2) P(z<c) c P(0<z<c) c 0 P(-0.4<z<1.2) = P(-0.4<z<0) + P(0<z<1.2) =P(0<z<0.4) + P(0<z<1.2) = = P(-0.4<z<1.2) = P(z<1.2) - P(z<-0.4) = P(z 0.4) = P(z<1.2) – [1- P(z<0.4)] = – [ ] = P(-0.4<z<0) =P(0<z<0.4) because of symmetry of the z distribution.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-59 Steps to find the X value for a known probability: 1. Find the Z value for the known probability 2. Convert to X units using the formula: Finding the X value for a Known Probability

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-60 Finding the X value for a Known Probability Example: Suppose X is normal with mean 8.0 and standard deviation 5.0. Now find the X value so that only 20% of all values are below this X X ? Z ? 0

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-61 Find the Z value for 20% in the Lower Tail 20% area in the lower tail is consistent with a Z value of Standardized Normal Probability Table (Portion) X ? Z Find the Z value for the known probability zF(z)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson Convert to X units using the formula: Finding the X value So 20% of the values from a distribution with mean 8.0 and standard deviation 5.0 are less than 3.80

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-63 EXAMPLE 3 Professor Mann has determined that the scores in his statistics course are approximately normally distributed with a mean of 72 and a standard deviation of 5. He announces to the class that the top 15 percent of the scores will earn an A. What is the lowest score a student can earn and still receive an A?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-64 Example 3 continued To begin let k be the score that separates an A from a B. 15 percent of the students score more than k, then 35 percent must score between the mean of 72 and k. Write down the relation between k and the probability: P(X>k) = 0.15 and P(X k) = 0.85 Transform X into z: P[(X-72)/5) < (k-72)/5 ] = P[z < (k-72)/5] P[0<z < s] = = 0.35 X72 k Z 0 ?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-65 Example 3 continued Find s from table: P[0<z<1.04]=0.35 Compute k: (k-72)/5=1.04 implies K=77.2 Those with a score of 77.2 or more earn an A. X Z

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-66 How do we know that the data are likely drawn from normal? 1.Check the moments Skewness =0 Excess Kurtosis = 0 (For instance, refer to section 16.7 “Tests for Skewness and Excess Kurtosis”, p.567 of Estimation and Inference in Econometrics by Davidson and MacKinnon) 2.Normal probability plot 1.Suppose we have n observations in the sample. Sort them in ascending order. Compute the empirical z value (i.e., (x-m x )/s x ) 2.Generate a column 0.5, 1.5, …..,[ 0.5+(n-1)]. Call this column U. 3.Generate another column p(z) = U/n. 4.Generate another column theoretical z = NORMSINV(p(z)) 5.Plot empirical z against the theoretical z. 6.If the data has normal distribution, the plot should be a straight line.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-67 Normal Probability Plot (The data are generated from a normal distribution.)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-68 Normal Probability Plot (The data are generated from a uniform distribution.)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-69 The Normal Approximation to the Binomial The normal distribution (a continuous distribution) yields a good approximation of the binomial distribution (a discrete distribution) for large values of n (number of trials). The normal probability distribution is generally a good approximation to the binomial probability distribution when n  and n(1-  ) are both greater than 5. Why can we approximate binomial by normal? Because of the Central Limit Theorem.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-70 Normal Distribution Approximation for Binomial Distribution Recall the binomial distribution: n independent trials probability of success on any given trial = P Random variable X: X i =1 if the i th trial is “success” X i =0 if the i th trial is “failure”

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-71 Normal Distribution Approximation for Binomial Distribution The shape of the binomial distribution is approximately normal if n is large The normal is a good approximation to the binomial when nP(1 – P) > 9 Standardize to Z from a binomial distribution:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-72 Normal Distribution Approximation for Binomial Distribution Let X be the number of successes from n independent trials, each with probability of success P. If nP(1 - P) > 9,

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-73 Binomial Approximation Example 40% of all voters support ballot proposition A. What is the probability that between 76 and 80 voters indicate support in a sample of n = 200 ? E(X) = µ = nP = 200(0.40) = 80 Var(X) = σ 2 = nP(1 – P) = 200(0.40)(1 – 0.40) = 48 ( note: nP(1 – P) = 48 > 9 )

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-74 The Exponential Distribution Used to model the length of time between two occurrences of an event (the time between arrivals) Examples: Time between trucks arriving at an unloading dock Time between transactions at an ATM Machine Time between phone calls to the main operator

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-75 The Exponential Distribution The exponential random variable T (t>0) has a probability density function Where is the mean number of occurrences per unit time t is the length of time until the next occurrence e = T is said to follow an exponential probability distribution

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-76 The Exponential Distribution Defined by a single parameter, its mean (lambda) The cumulative distribution function (the probability that an arrival time is less than some specified time t) is where e = mathematical constant approximated by = the population mean number of arrivals per unit t = any value of the continuous variable where t > 0

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-77 Exponential Distribution Example Example: Customers arrive at the service counter at the rate of 15 per hour. What is the probability that the arrival time between consecutive customers is less than three minutes? The mean number of arrivals per hour is 15, so = 15 Three minutes is.05 hours P(arrival time <.05) = 1 – e - X = 1 – e -(15)(.05) = So there is a 52.76% probability that the arrival time between successive customers is less than three minutes

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-78 Joint Cumulative Distribution Functions Let X 1, X 2,...X k be continuous random variables Their joint cumulative distribution function, F(x 1, x 2,...x k ) defines the probability that simultaneously X 1 is less than x 1, X 2 is less than x 2, and so on; that is

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-79 Joint Cumulative Distribution Functions The cumulative distribution functions F(x 1 ), F(x 2 ),...,F(x k ) of the individual random variables are called their marginal distribution functions The random variables are independent if and only if

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-80 Features of a Bivariate Continuous Distribution Let X 1 and X 2 be a random variables that takes any real values in a region (rectangle) of (a,b,c,d). The number of possible outcomes are by definition infinite. The main features of a probability density function f(x 1,x 2 ) are: f(x 1,x 2 )  0 for all (x 1,x 2 ) and may be larger than 1. The probability that (X 1,X 2 ) falls into a region (rectangle) or (p,q,r,s) is and lies between 0 and 1. P((X 1,X 2 )  (a,b,c,d)) = 1. P((X 1,X 2 ) = (x 1,x 2 ) ) = 0.

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-81 The Bivariate Uniform Distribution If a, b, c and d are numbers on the real line,, the random variable (X 1,X 2 ) ~ U(a,b,c,d), i.e., has a bivariate uniform distribution if

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-82 The Marginal Density The marginal density functions are:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-83 The Conditional Density The conditional density functions are:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-84 The Expectation (Mean) of Continuous Probability Distribution For univariate probability distribution, the expectation or mean E(X) is computed by the formula: For bivariate probability distribution, the the expectation or mean E(X) is computed by the formula:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-85 Conditional Mean of Bivariate Discrete Probability Distribution For bivariate probability distribution, the conditional expectation or conditional mean E(X|Y) is computed by the formula: Unconditional expectation or mean of X, E(X)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-86 Expectation of a linear transformed random variable If a and b are constants and X is a random variable, then E(a) = a E(bX) = bE(X) E(a+bX) = a+bE(X)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-87 The Variance of a Continuous Probability Distribution For univariate continuous probability distribution If a and b are constants and X is a random variable, then Var(a) = 0 Var(bX) = b 2 Var(X) Var(a+bX) = b 2 Var(X)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-88 The Covariance of a Bivariate Discrete Probability Distribution Covariance measures how two random variables co-vary. If a and b are constants and X is a random variable, then Cov(a,b) = 0 Cov(a,bX) = 0 Cov(a+bX,Y) = bCov(X,Y)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-89 Correlation coefficient The strength of the dependence between X and Y is measured by the correlation coefficient:

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-90 Variance of a sum of random variables If a and b are constants and X and Y are random variables, then Var(X+Y) = Var(X) + Var(Y) + 2Cov(X,Y)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-91 Variance of a sum of random variables If a and b are constants and X and Y are random variables, then Var(aX+bY) =a 2 Var(X) + b 2 Var(Y) + 2abCov(X,Y)

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-92 Sums of Random Variables Let X 1, X 2,...X k be k random variables with means μ 1, μ 2,... μ k and variances σ 1 2, σ 2 2,..., σ k 2. Then, the mean of their sum is the sum of their means

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-93 Sums of Random Variables Let X 1, X 2,...X k be k random variables with means μ 1, μ 2,... μ k and variances σ 1 2, σ 2 2,..., σ k 2. Then: If the covariance between every pair of these random variables is 0, then the variance of their sum is the sum of their variances However, if the covariances between pairs of random variables are not 0, the variance of their sum is

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-94 Differences Between Two Random Variables For two random variables, X and Y The mean of their difference is the difference of their means; that is If the covariance between X and Y is 0, then the variance of their difference is If the covariance between X and Y is not 0, then the variance of their difference is

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-95 Linear Combinations of Random Variables A linear combination of two random variables, X and Y, (where a and b are constants) is The mean of W is

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-96 Linear Combinations of Random Variables The variance of W is Or using the correlation, If both X and Y are joint normally distributed random variables then the linear combination, W, is also normally distributed

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-97 Example Two tasks must be performed by the same worker. X = minutes to complete task 1; μ x = 20, σ x = 5 Y = minutes to complete task 2; μ y = 20, σ y = 5 X and Y are normally distributed and independent What is the mean and standard deviation of the time to complete both tasks?

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson5-98 Example X = minutes to complete task 1; μ x = 20, σ x = 5 Y = minutes to complete task 2; μ y = 30, σ y = 8 What are the mean and standard deviation for the time to complete both tasks? Since X and Y are independent, Cov(X,Y) = 0, so The standard deviation is

Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson END - Lesson 5: Continuous Probability Distributions