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
Uniform probability distribution (ASW, section 6.1) Normal probability distribution (ASW, section 6.2) Table – Appendix B and inside front cover Excel – Appendix 6.2 Bring the text to class on Wednesday, October 1. We will be using Table 1 of Appendix B of ASW. Notes for October 1, 2008

2 Probability density function
For a continuous random variable x, the probability that x takes on a specific value is zero. As a result, probabilities for values of x are assigned across an interval of values of x. The probability function f(x) that is used to assign these probabilities is termed the probability density function. If a variable x has probability density function f(x), the probability that x takes on values between a and b is the area under the graph of f(x) that lies between a and b (or the integral of f(x) over the range a to b).

3 Uniform probability distribution (ASW, 226)
This is a distribution where the probability density function f(x) has the same value across all the values of x for which it is non-zero.

4 Diagram of a uniform probability distribution
If x represents the variable being considered, the distribution has density f(x) = 1/(b – a) over the range from a to b and density of 0 elsewhere. f(x) 1/(b-a) x a b 4

5 Example – cost of travel
Suppose a firm reimburses employees at the rate of 40 cents per kilometre when an employee uses his or her own automobile for company travel. Over the past years, the number of kilometres reimbursed in this manner has been between 100,000 and 150, The probability distribution of anticipated annual travel costs for the firm is considered to be a uniform distribution over this range. At the lower bound of 100,000 km., the total cost would be $40,000 and at the upper bound of 150,000 km., the total cost would be $60,000. Since travel is not anticipated to be less than 100,000 km. nor greater than 150,000 km., cost is zero outside the lower and upper bound.

6 Uniform probability distribution for travel example
Let x be the anticipated total cost of annual travel for the firm in thousands of dollars. Then the uniform probability distribution is:

7 Uniform probability distribution of total expected travel cost for the firm
Let x represents the total anticipated annual travel costs in thousands of dollars, the distribution has density f(x) = 1/( ) = 1/20 over the range from 40 to 60 and density of 0 elsewhere. f(x) 1/20 x 40 60 Travel cost in thousands of dollars 7

8 Area of the distribution
f(x) x 40 60 1/20 Travel costs Note that the total area under the density function f(x) between 40 and 60 equals 1. Area = height x length = (1/20) x (60–40) = (1/20) x 20 = 1 and this equals the probability that some value within the range from 40 to 60 occurs.

9 Area and probability over an interval
f(x) x 40 50 60 1/20 Travel costs What is the probability that travel costs are between 40 and 50? Area under the curve between 40 and 50 = height x length = (1/20) x (50–40) = (1/20) x 10 = 0.5 and this is the required probability.

10 Expected value and variance for a uniform probability distribution
For the travel cost example: E(x) = ( )/2 = 50 Var(x) = (60–40)2/12 = Standard deviation of x is the square root of or 5.774

11 Firm’s anticipated travel costs
If the uniform distribution applies, then the firm might predict that travel costs will be $50,000 annually (the mean or expected value). However, there is variability in anticipated costs, with the standard deviation being $5,774. The probability that travel costs are within one standard deviation of the mean of $50,000 turns out to be This is the area under the line between 50, ,774 = 44,226 and 50, ,774 = 55,774. This is a distance of 11,548. The area under the line is (11,548/20,000) = Note that the area under the curve within two standard deviations of the mean is the whole distribution.

12 Features of a continuous probability distribution ASW (228)
For a continuous probability distribution, the probability for the random variable must be defined over an interval, not at a single value of the variable. The probability that the random variable takes on values within an interval is the area under the curve of the density function f(x) across that interval. (Or it equals the integral of f(x) from the lower to upper bounds of the interval). Also note that the total area under the curve of the density function equals one. Most continuous distributions do not have the linear or straight line characteristic of the uniform distribution, but will be nonlinear or curved. Tables of these distributions are often available. These tables give the required areas or probabilities.

13 Normal probability distribution
The normal probability distribution is the most common and important of the continuous probability distributions used in statistical and econometric work. Other names for the normal distribution are the bell curve, since it has a sort of bell shape, and the Gaussian distribution, after Gauss, who is considered to be the first to have described and used the distribution.

14 Formula and parameters for the normal distribution
There are many normal distributions, but any normal distribution can be described and graphed with two parameters (µ and σ) and the following formula. where µ is the mean of the normal distribution σ is the standard deviation of the normal distribution π is e is , the base of the natural logarithms

15 Some characteristics of the normal distribution
The curve is entirely described by µ, the mean, and σ, the standard deviation, using the formula above. The curve peaks at the mean, µ, so the mode also equals µ. The distribution is symmetric about the centre, µ, so the median is also µ. The distribution is not skewed. The tails of the distribution never quite reach the horizontal axis, but get closer and closer to this axis the further away from the centre x is. This characteristic means that the distribution is said to be asymptotic to the horizontal axis. The probability that a normally distributed variable x takes on values in the range from a to b is the area under f(x) between a and b. The total area under the curve is 1; the area under the curve to the left of centre is 0.5 and the area right of centre is 0.5.

16 Reasons for using the normal distribution
Describes some characteristics of populations. Eg. Height, weight, and perhaps weight of packaged foods and travel time to work. Some consider intelligence and ability to be normally distributed. Grades for a large number of students across classes are often normally distributed. Characteristics such as incomes, wealth, assets and debts, farm size, and stock prices are usually not normal. But it is sometimes possible to transform these to the normal. The normal provides an approximation to probabilities such as the binomial when n is large, is the limiting distribution of the t distribution, and forms the basis for other distributions. Many statistics obtained from random samples have a normal distribution. In particular, when n is large, the sample means from randomly selected samples haves a normal distribution (ASW, 271).

17 Standard normal distribution (z)
Each μ and σ define a different normal distribution for a variable x. But any normally distributed variable can be transformed into the standard normal variable (and vice-versa). The standard normal variable has a mean of zero and a standard deviation of 1 and is usually referred to as z. Any normally distributed variable x can be transformed into the standard normal variable z by using the transformation The inverse transformation is

18 Some probabilities for z
P(z < -1) = P(z > 1) = 1 – = P(z < -1.57) = P(z > 0.43) = 1 – = P (-1.37 < z < 1.75) = – = P (1.32 < z < 2.36) = – = P (-1 < z <1) = – = P (-2 < z < 2) = – =

19 z values for areas Area of 0.05 in the right tail of the distribution is obtained by finding the z where the cumulative probability reaches = 0.95, that is, at z = 1.64 or z = For this area, z = is often used. Area of in each tail of the distribution, or a total of 0.05 in the two tails. The cumulative probability first reaches at z = By symmetry, the z value in the right tail is a The interval (-1.96, 1.96) contains 95% of the distribution leaving a total of 5% in the two tails of the distribution. Total area of 0.01 in the two tails is given by the area to the left of z = and to the right of z = The above z values will be used extensively later in the semester.

20 Normal distribution of grades?
Grade (x) Per cent of grades <50 7.5 50-60 16.3 60-70 26.6 70-80 30.0 80-90 16.6 90+ 3.0 Total 100.0 For this distribution, μ = 69 and σ = 14

21 Calculations for two intervals of grade distribution
1. Grade less than x = 50? z = (x-μ)/σ = (50 – 69)/14 = and the cumulative probability is If exactly normal, 8.7% of grades would be less than 50, whereas 7.5% actually were less than Grade of 80 to 90? For x = 90, z = (x-μ)/σ = (90 – 69)/14 = Cum P = For x = 80, z = (x-μ)/σ = (80 – 69)/14 = Cum P = Area between these values is – = or 14.8%, which is a little less than the 16.6% who received grades between 80 and 90.

22 Comparing actual and normal distributions
Grade (x) Actual per cent of grades Per cent if normally distributed <50 7.5 8.7 50-60 16.3 17.4 60-70 26.6 26.7 70-80 30.0 25.7 80-90 16.6 14.8 90+ 3.0 6.7 Total 100.0 And the actual distribution is close to the normal distribution, especially for grades up to Note that fewer grades of 90 or more were awarded than if the distribution was exactly normal.

23 If grades are normally distributed with μ = 69 and σ = 14, what grade is required to:
1. Be in the upper 5% of all grades? Upper 5% or 0.05 begins where the cumulative probability reaches = 0.95 and this is at z = Rearranging the formula z = (x-μ)/σ to solve for x gives x = μ + (zσ) = 69 + (1.645 x 14) = or x = Not be in the lower 20% for all grades? The cumulative probabilities first reach 0.20 at z = Using the same formula as above to transform this z into an x gives x = μ + (zσ) = 69 + (-0.84 x 14) = 69 – or x = and a grade of 58 would ensure that one is not in the lower 20% or one-fifth of the distribution.

24 Additional notes Note that the z value is equivalent to the number of standard deviations the value of the normal variable is from the mean (ASW, 238). Most of the distribution is within 3 standard deviations or 3 z values of the mean. That is, the probability of any normal variable being more than 3 z values from the mean is Excel can be used to obtain normal probabilities. See ASW, 255. We will study section 6.3 of the text, normal approximation of binomial probabilities, when we study sections 7.6 and 8.4 of the text. Skip section 6.4.

25 Next day Sampling and sampling distributions – ASW, chapter 7.
Begin interval estimation – ASW, chapter 8.


Download ppt "Continuous probability distributions"

Similar presentations


Ads by Google