Presentation is loading. Please wait.

Presentation is loading. Please wait.

Continuous Probability Distributions

Similar presentations


Presentation on theme: "Continuous Probability Distributions"— Presentation transcript:

1 Continuous Probability Distributions
Chapter 06 Continuous Probability Distributions Dr. Halil İbrahim CEBECİ Statistics Lecture Notes

2 Probability Density Functions
a continuous random variable is one that can assume an uncountable number of values.  We cannot list the possible values because there is an infinite number of them.  Because there is an infinite number of values, the probability of each individual value is virtually 0. Thus, we can determine the probability of a range of values only. E.g. with a discrete random variable like tossing a die, it is meaningful to talk about P(X=5), say. In a continuous setting (e.g. with time as a random variable), the probability the random variable of interest, say task length, takes exactly 5 minutes is infinitesimally small, hence P(X=5) = 0 Statistics Lecture Notes – Chapter 07

3 Probability Density Functions
A function f(x) is called a probability density function (over the range 𝒂 ≤ 𝒙 ≤ 𝒃 if it meets the following requirements: 𝒇(𝒙) ≥ 𝟎 for all 𝒙 between 𝒂 and 𝒃, and The total area under the curve between 𝒂 and 𝒃 is 𝟏.𝟎 f(x) area=1 Statistics Lecture Notes – Chapter 07

4 P ( a ≤ x ≤ b ) = P ( a < x < b ) Probability Density Functions
Cumulative Distribution Function: The cumulative distribution function, 𝐹(𝑥), for a continuous random variable 𝑋 expresses the probability that 𝑋 does not exceed the value of 𝑥 f(x) P ( a x b ) = P ( a < x < b ) (Note that the probability of any individual value is zero) a b x Statistics Lecture Notes – Chapter 07

5 Uniform Distribution The uniform distribution is a probability distribution that has equal probabilities for all possible outcomes of the random variable f(x) Total area under the uniform probability density function is 1.0 x xmin xmax Statistics Lecture Notes – Chapter 07

6 Uniform Distribution f(x) = where
Uniform Probability Density Function: f(x) = where 𝑓(𝑥) = value of the density function at any 𝑥 value a = minimum value of 𝑥 b = maximum value of 𝑥 Statistics Lecture Notes – Chapter 07

7 Uniform Distribution The mean of a uniform distribution is
The variance is Statistics Lecture Notes – Chapter 07

8 Uniform Distribution To Calculate the probability of any interval, simply find the area under the curve. For example, to find the probability that X falls between 𝑥 1 and 𝑥 2 we use the following formula. 𝑃 𝑥 1 <𝑋< 𝑥 2 =𝑃 𝑥 1 ≤𝑋≤ 𝑥 2 = 𝑥 2 −𝑥 1 𝑏−𝑎 Statistics Lecture Notes – Chapter 07

9 Uniform Distribution Ex7.1 – The amount of gasoline sold daily at a service station is uniformly distributed with a minimum of 2000 galons and a maximum of 5000 gallons. Find the probability that daily sales will fall between 2500 and 3000 gallons. What is the probability that the station will sell at least 4000 gallons? What is the probability that the station will sell excatly 2500 gallons? Statistics Lecture Notes – Chapter 07

10 Uniform Distribution A7.1a – 𝑃 2500<𝑋<3000 = 𝑥 2 −𝑥 1 𝑏−𝑎 = 3000− −2000 =0.1667 A7.2a – 𝑃 𝑋>4000 = 𝑥 2 −𝑥 1 𝑏−𝑎 = 5000− −2000 =0.3333 A7.3a – 𝑃 𝑋=2500 =0 Statistics Lecture Notes – Chapter 07

11 Normal Distribution The normal distribution is the most important of all probability distributions. The probability density function of a normal random variable is given by: Where 𝑒 = the mathematical constant approximated by 𝜋 = the mathematical constant approximated by 𝜇 = the population mean 𝜎 = the population standard deviation 𝑥 = any value of the continuous variable,  < 𝑥 <  Statistics Lecture Notes – Chapter 07

12 Normal Distribution ‘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   Statistics Lecture Notes – Chapter 07

13 Normal Distribution 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 Statistics Lecture Notes – Chapter 07

14 Normal Distribution For a normal random variable 𝑋 with mean 𝜇 and variance 𝜎2 , i.e., 𝑋~𝑁(𝜇, 𝜎2), the cumulative distribution function is f(x) x0 x Statistics Lecture Notes – Chapter 07

15 Finding Normal Probabilities
Normal Distribution Finding Normal Probabilities x a μ b x a μ b x a μ b Statistics Lecture Notes – Chapter 07

16 Normal Distribution Any normal distribution (with any mean and variance combination) can be transformed into the standardized normal distribution (Z), with mean 0 and variance 1 Need to transform X units into Z units by subtracting the mean of X and dividing by its standard deviation f(Z) 1 Z Statistics Lecture Notes – Chapter 07

17 Normal Distribution If X is distributed normally with mean of 100 and standard deviation of 50, the 𝑍 value for 𝑋 = 200 is This says that 𝑋 = 200 is two standard deviations (2 increments of 50 units) above the mean of 100. Statistics Lecture Notes – Chapter 07

18 Normal Distribution 100 200 X 2.0 Z
Note that the distribution is the same, only the scale has changed. We can express the problem in original units (𝑋) or in standardized units (𝑍) 100 200 X (μ = 100, σ = 50) 2.0 Z (μ = 0, σ = 1) Statistics Lecture Notes – Chapter 07

19 What is P(Z > 1.6) ? Using The Normal Tables
1.6 P(Z > 1.6) = .5 – P(0 < Z < 1.6) = .5 – .4452 = .0548 Statistics Lecture Notes – Chapter 07

20 What is P(Z < -2.23) ? Using The Normal Tables
2.23 P(Z < -2.23) = P(Z > 2.23) = .5 – P(0 < Z < 2.23) = .0129 Statistics Lecture Notes – Chapter 07

21 What is P(Z < 1.52) ? Using The Normal Tables P(Z < 0) = .5
1.52 P(Z < 1.52) = .5 + P(0 < Z < 1.52) = = .9357 Statistics Lecture Notes – Chapter 07

22 What is P(0.9 < Z < 1.9) ? Using The Normal Tables
0.9 1.9 P(0.9 < Z < 1.9) = P(0 < Z < 1.9) – P(0 < Z < 0.9) =.4713 – .3159 = .1554 Statistics Lecture Notes – Chapter 07

23 Normal Distribution Ex7.2 - The time required to build a computer is normally distributed with a mean of 50 minutes and a standard deviation of 10 minutes. What is the probability that a computer is assembled in a time between 45 and 60 minutes? A7.2 - Algebraically speaking, what is 𝑷(𝟒𝟓 < 𝑿 < 𝟔𝟎) Statistics Lecture Notes – Chapter 07

24 Normal Distribution …mean of 50 minutes and a
standard deviation of 10 minutes… Statistics Lecture Notes – Chapter 07

25 𝑷(–.𝟓 < 𝒁 < 𝟎) + 𝑷(𝟎 < 𝒁 < 𝟏)
Normal Distribution We can break up 𝑷(–.𝟓 < 𝒁 < 𝟏) into: 𝑷(–.𝟓 < 𝒁 < 𝟎) + 𝑷(𝟎 < 𝒁 < 𝟏) The distribution is symmetric around zero, so we have: 𝑃(–.5 < 𝑍 < 0) = 𝑷(𝟎 < 𝒁 < .𝟓) Hence: 𝑷(–.𝟓 < 𝒁 < 𝟏) = 𝑷(𝟎 < 𝒁 < .𝟓) + 𝑷(𝟎 < 𝒁 < 𝟏) Statistics Lecture Notes – Chapter 07

26 Normal Distribution 𝑷(–.𝟓 < 𝒁 < 𝟏) = .𝟏𝟗𝟏𝟓 + .𝟑𝟒𝟏𝟒 = .𝟓𝟑𝟐𝟖
This table gives probabilities 𝑷(𝟎 < 𝒁 < 𝒛) First column = integer + first decimal Top row = second decimal place P(0 < Z < 0.5) P(0 < Z < 1) 𝑷(–.𝟓 < 𝒁 < 𝟏) = .𝟏𝟗𝟏𝟓 + .𝟑𝟒𝟏𝟒 = .𝟓𝟑𝟐𝟖 Statistics Lecture Notes – Chapter 07

27 Normal Distribution Finding the X value for a Known Probability:
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: Statistics Lecture Notes – Chapter 07

28 Normal Distribution Ex7.3 - 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 ? 8.0 .2000 Z Statistics Lecture Notes – Chapter 07

29 Probability Table (Portion)
Normal Distribution A7.3 – 1. Find the Z value for the known probability Standardized Normal Probability Table (Portion) z F(z) .82 .7939 .80 .20 .83 .7967 .84 .7995 .85 .8023 X ? 8.0 Z -0.84 Statistics Lecture Notes – Chapter 07

30 Normal Distribution A7.3 – 2. Convert to X units using the formula: So 20% of the values from a distribution with mean 8.0 and standard deviation 5.0 are less than 3.80 Statistics Lecture Notes – Chapter 07

31 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 The exponential random variable 𝑥 has a probability density function Where e= and 𝜆 parameter of the distribution Statistics Lecture Notes – Chapter 07

32 Exponential Distribution
Defined by a single parameter  (lambda) 𝜇=𝜎= 1 𝜆 If X is an exponential random variable, 𝑃 𝑋>𝑥 = 𝑒 −𝜆𝑥 𝑃 𝑋<𝑥 = 1−𝑒 −𝜆𝑥 𝑃 𝑥 1 <𝑋< 𝑥 2 =𝑃 𝑋< 𝑥 2 −𝑃 𝑥 1 <𝑋 = 𝑒 −𝜆 𝑥 1 − 𝑒 −𝜆 𝑥 2 Statistics Lecture Notes – Chapter 07

33 Exponential Distribution
Ex7.4 – The lifetime of an alkaline battery (measured in hours) is exponentailly distributed with 𝜆=0.05 What are the mean and standard deviation of the battery’s lifetime? Find the probability that a battery will last between 10 and 15 hours? What is the probability that a battery will last for more than 20 hours? Statistics Lecture Notes – Chapter 07

34 Exponential Distribution
A7.4a – Mean and standard deviation are the same and equal to 1 𝜆 𝜇=𝜎= 1 𝜆 = =20 ℎ𝑜𝑢𝑟𝑠 A7.4b – Let X donate the lifetime of a battery. The required probability is; 𝑃 10≤𝑋≤15 = 𝑒 −𝑜.𝑜5(10) − 𝑒 −0.05(15) = 𝑒 −0.5 − 𝑒 −0.75 = −0.4724 =0.1341 Statistics Lecture Notes – Chapter 07

35 Exponential Distribution
A7.4c – 𝑃 𝑋>20 = 𝑒 −0.05(20) = 𝑒 −1 =0.3679 Statistics Lecture Notes – Chapter 07

36 Exercises Q7.1 – Delta Airlines quotes a flight time of 2 hours, 5 minutes for its flights from Cincinnati to Tampa. Suppose we believe that actual flight times are uniformly distributed between 2 hours and 2 hours, 20 minutes Show the graph of the probability density function for flight time. What is the probability that the flight will be no more than 5 minutes late? What is the probability that the flight will be more than 10 minutes late? What is the expected flight time? Statistics Lecture Notes – Chapter 07

37 Exercises Q7.2 – The driving distance for the top 100 golfers on the PGA tour is between and yards (Golfweek, March 29, 2003). Assume that the driving distance for these golfers is uniformly distributed over this interval. a. Give a mathematical expression for the probability density function of driving distance. b. What is the probability the driving distance for one of these golfers is less than 290 yards? c. What is the probability the driving distance for one of these golfers is at least 300 yards? d. What is the probability the driving distance for one of these golfers is between 290 and 305 yards? e. How many of these golfers drive the ball at least 290 yards? Statistics Lecture Notes – Chapter 07

38 Exercises Q7.3 – A muffler company advertises that you will receive a rebate if it takes longer than 30 minutes to replace your muffler. Experience has shown that the time taken to replace a muffler is approximately normally distributed with a mean of 25 minutes and a standard deviation of 2.5 minutes. What proportion of customers receive a rebate? What proportion of mufflers take between 22 and 26 minutes to replace? What should the rebate-determining time of 30 minutes be changed to if the company wishes to provide only 1% of customers with a rebate? Statistics Lecture Notes – Chapter 07

39 Exercises Q7.4 – Records show that the playing time of major league baseball games is approximately normally distributed with a mean of 156 minutes and a standard deviation of 34 minutes. If one game is selected at random, find the probability that it will last: more than 3 hours? between 2 and 3 hours? less than 1.5 hours? Statistics Lecture Notes – Chapter 07

40 Exercises Q7.5 – The average stock price for companies making up the S&P 500 is $30, and the standard deviation is $8.20 (BusinessWeek, Special Annual Issue, Spring 2003). Assume the stock prices are normally distributed: a. What is the probability a company will have a stock price of at least $40? b. What is the probability a company will have a stock price no higher than $20? c. How high does a stock price have to be to put a company in the top 10%? Statistics Lecture Notes – Chapter 07

41 Exercises Q7.6 – The length of life of a certain brand of light bulb is exponentially distributed with a mean of 5,000 hours Find the probability that a bulb will burn out within the first 1,000 hours? Find the probability that a bulb will last more than 7,000 hours? Find the probability that the lifetime of a bulb will be between 2,000 and 8,000 hours? Statistics Lecture Notes – Chapter 07

42 Exercises Q7.7 – The time between arrivals of vehicles at a particular intersection follows an exponential probability distribution with a mean of 12 seconds a. Sketch this exponential probability distribution. b. What is the probability that the arrival time between vehicles is 12 seconds or less? c. What is the probability that the arrival time between vehicles is 6 seconds or less? d. What is the probability of 30 or more seconds between vehicle arrivals? Statistics Lecture Notes – Chapter 07


Download ppt "Continuous Probability Distributions"

Similar presentations


Ads by Google