Learning objectives
The uniform distribution is a continuous probability distribution and is concerned with events that are equally likely to occur. When working out problems that have a uniform distribution, be careful to note if the data are inclusive or exclusive of endpoints.
The data in element-41 are 55 smiling times, in seconds, of an eight-week-old baby.
| 10.4 | 19.6 | 18.8 | 13.9 | 17.8 | 16.8 | 21.6 | 17.9 | 12.5 | 11.1 | 4.9 |
| 12.8 | 14.8 | 22.8 | 20.0 | 15.9 | 16.3 | 13.4 | 17.1 | 14.5 | 19.0 | 22.8 |
| 1.3 | 0.7 | 8.9 | 11.9 | 10.9 | 7.3 | 5.9 | 3.7 | 17.9 | 19.2 | 9.8 |
| 5.8 | 6.9 | 2.6 | 5.8 | 21.7 | 11.8 | 3.4 | 2.1 | 4.5 | 6.3 | 10.7 |
| 8.9 | 9.4 | 9.4 | 7.6 | 10.0 | 3.3 | 6.7 | 7.8 | 11.6 | 13.8 | 18.6 |
The sample mean = 11.49 and the sample standard deviation = 6.23.
We will assume that the smiling times, in seconds, follow a uniform distribution between zero and 23 seconds, inclusive. This means that any smiling time from zero to and including 23 seconds is equally likely. The histogram that could be constructed from the sample is an empirical distribution that closely matches the theoretical uniform distribution.
Let X = length, in seconds, of an eight-week-old baby's smile.
The notation for the uniform distribution is
X ~ U(a, b) where a = the lowest value of x and b = the highest value of x.
The probability density function is f(x) = for a ≤ x ≤ b.
For this example, X ~ U(0, 23) and f(x) = for 0 ≤ X ≤ 23.
Formulas for the theoretical mean and standard deviation are
For this problem, the theoretical mean and standard deviation are
Notice that the theoretical mean and standard deviation are close to the sample mean and standard deviation in this example.
a. Refer to element-229. What is the probability that a randomly chosen eight-week-old baby smiles between two and 18 seconds?
P(2 < x < 18) = (base)(height) = (18 – 2) =
View original figure (external; image not reproduced in this text edition) Original figure description: This graph shows a uniform distribution. The horizontal axis ranges from 0 to 15. The distribution is modeled by a rectangle extending from x = 0 to x = 15. A region from x = 2 to x = 18 is shaded inside the rectangle.
b. Find the 90th percentile for an eight-week-old baby's smiling time.
b. Ninety percent of the smiling times fall below the 90th percentile, k, so P(x < k) = 0.90.
View original figure (external; image not reproduced in this text edition) Original figure description: This shows the graph of the function f(x) = 1/15. A horiztonal line ranges from the point (0, 1/15) to the point (15, 1/15). A vertical line extends from the x-axis to the end of the line at point (15, 1/15) creating a rectangle. A region is shaded inside the rectangle from x = 0 to x = k. The shaded area represents P(x < k) = 0.90.
c. Find the probability that a random eight-week-old baby smiles more than 12 seconds knowing that the baby smiles more than eight seconds.
c. This probability question is a conditional. You are asked to find the probability that an eight-week-old baby smiles more than 12 seconds when you already know the baby has smiled for more than eight seconds.
Find P(x > 12|x > 8) There are two ways to do the problem. For the first way, use the fact that this is a conditional and changes the sample space. The graph illustrates the new sample space. You already know the baby smiled more than eight seconds.
for 8 < x < 23
Write a new f(x): f(x) = = for 8 < x < 23.
P(x > 12|x > 8) = (23 − 12) =
View original figure (external; image not reproduced in this text edition) Original figure description: f(X)=1/15 graph displaying a boxed region consisting of a horizontal line extending to the right from point 1/15 on the y-axis, a vertical upward line from points 8 and 23 on the x-axis, and the x-axis. A shaded region from points 12-23 occurs within this area.
For the second way, use the conditional formula from Probability Topics with the original distribution.
P(A|B) =
For this problem, A is (x > 12) and B is (x > 8).
So, P(x > 12|x > 8) =
View original figure (external; image not reproduced in this text edition) Original figure description: This shows the graph of the function f(x) = 1/23. A horizontal line ranges from the point (0, 1/23) to the point (23, 1/23). A vertical line extends from the x-axis to the end of the line at point (23, 1/23) creating a rectangle. A shaded region occurs with vertical lines that extend from the horizontal axis to the graph at x = 8 and x = 12.
The amount of time, in minutes, that a person must wait for a bus is uniformly distributed between zero and 15 minutes, inclusive.
a. What is the probability that a person waits fewer than 12.5 minutes?
a. Let X = the number of minutes a person must wait for a bus. a = 0 and b = 15. X ~ U(0, 15). Write the probability density function. f (x) = = for 0 ≤ x ≤ 15.
Find P (x < 12.5). Draw a graph.
The probability a person waits fewer than 12.5 minutes is 0.8333.
View original figure (external; image not reproduced in this text edition)
Original figure description: This shows the graph of the function f(x) = 1/15. A horiztonal line ranges from the point (0, 1/15) to the point (15, 1/15). A vertical line extends from the x-axis to the end of the line at point (15, 1/15) creating a rectangle. A region is shaded inside the rectangle from x = 0 to x = 12.5.
b. On the average, how long must a person wait? Find the mean, μ, and the standard deviation, σ.
b. μ =
=
= 7.5. On the average, a person must wait 7.5 minutes.
σ = = 4.3. The standard deviation is 4.3 minutes.
c. Ninety percent of the time, the minutes a person must wait falls below what value?
c. Find the 90th percentile. Draw a graph. Let k = the 90th percentile.
k is sometimes called a critical value.
The 90th percentile is 13.5 minutes. Ninety percent of the time, a person must wait at most 13.5 minutes.
View original figure (external; image not reproduced in this text edition) Original figure description: f(X)=1/15 graph displaying a boxed region consisting of a horizontal line extending to the right from point 1/15 on the y-axis, a vertical upward line from an arbitrary point on the x-axis, and the x and y-axes. A shaded region from points 0-k occurs within this area. The area of this probability region is equal to 0.90.
Suppose the time it takes a nine-year old to eat a donut is between 0.5 and 4 minutes, inclusive. Let X = the time, in minutes, it takes a nine-year-old child to eat a doughnut. Then X ~ U(0.5, 4).
a. The probability that a randomly selected nine-year-old child eats a doughnut in at least two minutes is _______.
a. 0.5714
b. Find the probability that a different nine-year-old child eats a doughnut in more than two minutes given that the child has already been eating the doughnut for more than 1.5 minutes.
The second question has a conditional probability. You are asked to find the probability that a nine-year-old child eats a doughnut in more than two minutes given that the child has already been eating the donut for more than 1.5 minutes. Solve the problem two different ways (see example-170). You must reduce the sample space. First way: Since you know the child has already been eating the doughnut for more than 1.5 minutes, you are no longer starting at a = 0.5 minutes. Your starting point is 1.5 minutes.
Write a new f(x):
Find P(x > 2|x > 1.5). Draw a graph.
View original figure (external; image not reproduced in this text edition) Original figure description: f(X)=2/5 graph displaying a boxed region consisting of a horizontal line extending to the right from point 2/5 on the y-axis, a vertical upward line from points 1.5 and 4 on the x-axis, and the x-axis. A shaded region from points 2-4 occurs within this area.
b.
The probability that a nine-year-old child eats a donut in more than two minutes given that the child has already been eating the doughnut for more than 1.5 minutes is .
Second way: Draw the original graph for X ~ U(0.5, 4). Use the conditional formula
Ace Heating and Air Conditioning Service finds that the amount of time a repairman needs to fix a furnace is uniformly distributed between 1.5 and four hours. Let x = the time needed to fix a furnace. Then x ~ U(1.5, 4).
- Find the probability that a randomly selected furnace repair requires more than two hours.
- Find the probability that a randomly selected furnace repair requires less than three hours.
- Find the 30th percentile of furnace repair times.
- The longest 25 percent of furnace repair times take at least how long? (In other words: find the minimum time for the longest 25 percent of repair times.) What percentile does this represent?
- Find the mean and standard deviation
a. To find f(x): f (x) = = so f(x) = 0.4
P(x > 2) = (base)(height) = (4 – 2)(0.4) = 0.8
View original figure (external; image not reproduced in this text edition)
Original figure description: This shows the graph of the function f(x) = 0.4. A horiztonal line ranges from the point (1.5, 0.4) to the point (4, 0.4). Vertical lines extend from the x-axis to the graph at x = 1.5 and x = 4 creating a rectangle. A region is shaded inside the rectangle from x = 2 to x = 4.
b. P(x < 3) = (base)(height) = (3 – 1.5)(0.4) = 0.6
The graph of the rectangle showing the entire distribution would remain the same. However the graph should be shaded between x = 1.5 and x = 3. Note that the shaded area starts at x = 1.5 rather than at x = 0. Because X ~ U(1.5, 4), x cannot be less than 1.5.
View original figure (external; image not reproduced in this text edition)
Original figure description: This shows the graph of the function f(x) = 0.4. A horiztonal line ranges from the point (1.5, 0.4) to the point (4, 0.4). Vertical lines extend from the x-axis to the graph at x = 1.5 and x = 4 creating a rectangle. A region is shaded inside the rectangle from x = 1.5 to x = 3.
c. View original figure (external; image not reproduced in this text edition) Original figure description: This shows the graph of the function f(x) = 0.4. A horiztonal line ranges from the point (1.5, 0.4) to the point (4, 0.4). Vertical lines extend from the x-axis to the graph at x = 1.5 and x = 4 creating a rectangle. A region is shaded inside the rectangle from x = 1.5 to x = k. The shaded area represents P(x < k) = 0.3.
P (x < k) = 0.30
P(x < k) = (base)(height) = (k – 1.5)(0.4)
0.3 = (k – 1.5) (0.4); Solve to find k:
0.75 = k – 1.5, obtained by dividing both sides by 0.4
k = 2.25 , obtained by adding 1.5 to both sides
The 30th percentile of repair times is 2.25 hours. 30 percent of repair times are 2.5 hours or less.
d. View original figure (external; image not reproduced in this text edition) Original figure description: A graph with an x and an f(x) axis is shown. A box is drawn on the graph between 1.5 and 4 on the x axis, and 0 and 0.4 on the f(x) axis. The box is shaded blue from measurement k to 4. Text above the box says shaded area represents P(x>k)=0.25.
P(x > k) = 0.25
P(x > k) = (base)(height) = (4 – k)(0.4)
0.25 = (4 – k)(0.4); Solve for k:
0.625 = 4 − k,
obtained by dividing both sides by 0.4
−3.375 = −k,
obtained by subtracting four from both sides: k = 3.375
The longest 25 percent of furnace repairs take at least 3.375 hours (3.375 hours or longer).
Note: Since 25 percent of repair times are 3.375 hours or longer, that means that 75 percent of repair times are 3.375 hours or less. 3.375 hours is the 75th percentile of furnace repair times.
e. and
hours and hours
Chapter Review
If X has a uniform distribution where a < x < b or a ≤ x ≤ b, then X takes on values between a and b (may include a and b). All values x are equally likely. We write X ∼ U(a, b). The mean of X is . The standard deviation of X is . The probability density function of X is for a ≤ x ≤ b. The cumulative distribution function of X is P(X ≤ x) = . X is continuous.
View original figure (external; image not reproduced in this text edition)
Original figure description: The graph shows a rectangle with total area equal to 1. The rectangle extends from x = a to x = b on the x-axis and has a height of 1/(b-a).
The probability P(c < X < d) may be found by computing the area under f(x), between c and d. Since the corresponding area is a rectangle, the area may be found simply by multiplying the width and the height.
Formula Review
X = a real number between a and b (in some instances, X can take on the values a and b). a = smallest X, b = largest X
X ~ U(a, b)
The mean is
The standard deviation is
Probability density function: for
Area to the left of x: P(X < x) = (x – a)
Area to the right of x: P(X > x) = (b – x)
Area between c and d: P(c < x < d) = (base)(height) = (d – c)
Uniform: X ~ U(a, b) where a < x < b
- pdf: for a ≤ x ≤ b
- cdf: P(X ≤ x) =
- mean µ =
- standard deviation σ
- P(c < X < d) = (d – c)
References
McDougall, J. A. (1995). The McDougall program for maximum weight loss. New York: Plume
Use the following information to answer the next 10 questions. The data that follow are the square footage (in 1,000 feet squared) of 28 homes:
| 1.5 | 2.4 | 3.6 | 2.6 | 1.6 | 2.4 | 2.0 |
| 3.5 | 2.5 | 1.8 | 2.4 | 2.5 | 3.5 | 4.0 |
| 2.6 | 1.6 | 2.2 | 1.8 | 3.8 | 2.5 | 1.5 |
| 2.8 | 1.8 | 4.5 | 1.9 | 1.9 | 3.1 | 1.6 |
The sample mean = 2.50 and the sample standard deviation = 0.8302.
The distribution can be written as X ~ U(1.5, 4.5).
What type of distribution is this?
In this distribution, outcomes are equally likely. What does this mean?
It means that the value of x is just as likely to be any number between 1.5 and 4.5.
What is the height of f(x) for the continuous probability distribution?
What are the constraints for the values of x?
1.5 ≤ x ≤ 4.5
Graph P(2 < x < 3).
What is P(2 < x < 3)?
0.3333
What is P(x < 3.5| x < 4)?
What is P(x = 1.5)?
zero
What is the 90th percentile of square footage for homes?
Find the probability that a randomly selected home has more than 3,000 square feet given that you already know the house has more than 2,000 square feet.
0.6
Use the following information to answer the next eight exercises. A distribution is given as X ~ U(0, 12).
What is a? What does it represent?
What is b? What does it represent?
b is 12, and it represents the highest value of x.
What is the probability density function?
What is the theoretical mean?
six
What is the theoretical standard deviation?
Draw the graph of the distribution for P(x > 9).
View original figure (external; image not reproduced in this text edition)
Original figure description: This graph shows a uniform distribution. The horizontal axis ranges from 0 to 12. The distribution is modeled by a rectangle extending from x = 0 to x = 12. A region from x = 9 to x = 12 is shaded inside the rectangle.
Find P(x > 9).
Find the 40th percentile.
4.8
Use the following information to answer the next 12 exercises. The age of cars in the staff parking lot of a suburban college is uniformly distributed from six months (0.5 years) to 9.5 years.
What is being measured here?
In words, define the random variable X.
X = The age (in years) of cars in the staff parking lot
Are the data discrete or continuous?
The interval of values for x is ______.
0.5 to 9.5
The distribution for X is ______.
Write the probability density function.
f(x) = where x is between 0.5 and 9.5, inclusive.
Graph the probability distribution.
- Sketch the graph of the probability distribution.
View original figure (external; image not reproduced in this text edition)
Original figure description: This is a blank graph template. The vertical and horizontal axes are unlabeled.
- Identify the following values:
- Lowest value for : _______
- Highest value for : _______
- Height of the rectangle: _______
- Label for x-axis (words): _______
- Label for y-axis (words): _______
Find the average age of the cars in the lot.
μ = 5
Find the probability that a randomly chosen car in the lot was less than four years old.
- Sketch the graph, and shade the area of interest.
View original figure (external; image not reproduced in this text edition)
Original figure description: Blank graph with vertical and horizontal axes.
- Find the probability. P(x < 4) = _______
Considering only the cars less than 7.5 years old, find the probability that a randomly chosen car in the lot was less than four years old.
- Sketch the graph, shade the area of interest.
View original figure (external; image not reproduced in this text edition)
Original figure description: This is a blank graph template. The vertical and horizontal axes are unlabeled.
- Find the probability. P(x < 4|x < 7.5) = _______
- Check student’s solution.
What has changed in the previous two problems that made the solutions different?
Find the third quartile of ages of cars in the lot. This means you will have to find the value such that , or 75 percent, of the cars are at most (less than or equal to) that age.
- Sketch the graph, and shade the area of interest.
View original figure (external; image not reproduced in this text edition)
Original figure description: Blank graph with vertical and horizontal axes.
- Find the value k such that P(x < k) = 0.75.
- The third quartile is _______
- Check student's solution
- k = 7.25
- 7.25
Homework
For each probability and percentile problem, draw the picture.
Births are approximately uniformly distributed between the 52 weeks of the year. They can be said to follow a uniform distribution from one to 53 (spread of 52 weeks).
- X ~ _________
- Graph the probability distribution.
- f(x) = _________
- μ = _________
- σ = _________
- Find the probability that a person is born at the exact moment week 19 starts. That is, find P(x = 19) = _________
- P(2 < x < 31) = _________
- Find the probability that a person is born after week 40.
- P(12 < x|x < 28) = _________
- Find the 70th percentile.
- Find the minimum for the upper quarter.
A random number generator picks a number from one to nine in a uniform manner.
- X ~ _________
- Graph the probability distribution.
- f(x) = _________
- μ = _________
- σ = _________
- P(3.5 < x < 7.25) = _________
- P(x > 5.67)
- P(x > 5|x > 3) = _________
- Find the 90th percentile.
- X ~ U(1, 9)
- Check student’s solution
- where
- five
- 2.3
- 8.2
According to a study by Dr. John McDougall of his live-in weight loss program, the people who follow his program lose between six and 15 pounds a month until they approach trim body weight. Let’s suppose that the weight loss is uniformly distributed. We are interested in the weight loss of a randomly selected individual following the program for one month.
- Define the random variable. X = _________
- X ~ _________
- Graph the probability distribution.
- f(x) = _________
- μ = _________
- σ = _________
- Find the probability that the individual lost more than 10 pounds in a month.
- Suppose it is known that the individual lost more than 10 pounds in a month. Find the probability that he lost less than 12 pounds in the month.
- P(7 < x < 13|x > 9) = __________. State this result in a probability question, similarly to Parts g and h, draw the picture, and find the probability.
A subway train arrives every eight minutes during rush hour. We are interested in the length of time a commuter must wait for a train to arrive. The time follows a uniform distribution.
- Define the random variable. X = _______
- X ~ _______
- Graph the probability distribution.
- f(x) = _______
- μ = _______
- σ = _______
- Find the probability that the commuter waits less than one minute.
- Find the probability that the commuter waits between three and four minutes.
- Sixty percent of commuters wait more than how long for the train? State this result in a probability question, similarly to Parts g and h, draw the picture, and find the probability.
- X represents the length of time a commuter must wait for a train to arrive on the Red Line.
- X ~ U(0, 8)
- where ≤ x ≤ 8
- four
- 2.31
- 3.2
The age of a first grader on September 1 at Garden Elementary School is uniformly distributed from 5.8 to 6.8 years. We randomly select one first grader from the class.
- Define the random variable. X = _________
- X ~ _________
- Graph the probability distribution.
- f(x) = _________
- μ = _________
- σ = _________
- Find the probability that she is over 6.5 years old.
- Find the probability that she is between four and six years old.
- Find the 70th percentile for the age of first graders on September 1 at Garden Elementary School.
Use the following information to answer the next three exercises. The Sky Train from the terminal to the rental–car and long–term parking center is supposed to arrive every eight minutes. The waiting times for the train are known to follow a uniform distribution.
What is the average waiting time (in minutes)?
- zero
- two
- three
- four
d
Find the 30th percentile for the waiting times (in minutes).
- two
- 2.4
- 2.75
- three
The probability of waiting more than seven minutes given a person has waited more than four minutes is?
- 0.125
- 0.25
- 0.5
- 0.75
b
The time (in minutes) until the next bus departs a major bus depot follows a distribution with f(x) = where x goes from 25 to 45 minutes.
- Define the random variable. X = ________
- X ~ ________
- Graph the probability distribution.
- The distribution is ______________ (name of distribution). It is _____________ (discrete or continuous).
- μ = ________
- σ = ________
- Find the probability that the time is at most 30 minutes. Sketch and label a graph of the distribution. Shade the area of interest. Write the answer in a probability statement.
- Find the probability that the time is between 30 and 40 minutes. Sketch and label a graph of the distribution. Shade the area of interest. Write the answer in a probability statement.
- P(25 < x < 55) = _________. State this result in a probability statement, similarly to Parts g and h, draw the picture, and find the probability.
- Find the 90th percentile. This means that 90 percent of the time, the time is less than _____ minutes.
- Find the 75th percentile. In a complete sentence, state what this means. (See Part j.)
- Find the probability that the time is more than 40 minutes given (or knowing that) it is at least 30 minutes.
Suppose that the value of a stock varies each day from $16 to $25 with a uniform distribution.
- Find the probability that the value of the stock is more than $19.
- Find the probability that the value of the stock between $19 and $22.
- Find the upper quartile — 25 percent of all days the stock is above what value? Draw the graph.
- Given that the stock is greater than $18, find the probability that the stock is more than $21.
- The probability density function of X is .
P(X > 19) = (25 – 19) = = .View original figure (external; image not reproduced in this text edition)
Original figure description: A graph is shown. The x($) axis shown is measured from 14 to 26 in increments of two. A box is drawn on the graph between the measurements of 16 and 25, and up to 1/9 on the y axis. The box is shaded blue from 19 to 25. Text above the box states shaded area represents P(x>19)=2/3.
- P(19 < X < 22) = (22 – 19) = = .
View original figure (external; image not reproduced in this text edition)
Original figure description: A graph is shown. The x($) axis shown is measured from 14 to 26 in increments of two. A box is drawn on the graph between the measurements of 16 and 25 and up to 1/9 on the y axis. The box is shaded from 23 to 25. Text above the box states Shaded area represents P(19<x<22)=1/3.
- The area must be 0.25, and 0.25 = (width), so width = (0.25)(9) = 2.25. Thus, the value is 25 – 2.25 = 22.75.
- This is a conditional probability question. P(x > 21| x > 18). You can do this two ways:
- Draw the graph where a is now 18 and b is still 25. The height is =
So, P(x > 21|x > 18) = (25 – 21) = 4/7. - Use the formula: P(x > 21|x > 18) =
= = = .
- Draw the graph where a is now 18 and b is still 25. The height is =
A fireworks show is designed so that the time between fireworks is between one and five seconds, and follows a uniform distribution.
- Find the average time between fireworks.
- Find the probability that the time between fireworks is greater than four seconds.
The number of miles driven by a truck driver falls between 300 and 700, and follows a uniform distribution.
- Find the probability that the truck driver goes more than 650 miles in a day.
- Find the probability that the truck driver goes between 400 and 650 miles in a day.
- At least how many miles does the truck driver travel on the 10 percent of days with the highest mileage?
- P(X > 650) = = 0.125.
- P(400 < X < 650) = = 0.625
- 0.10 = , so width = 400(0.10) = 40. Since 700 – 40 = 660, the drivers travel at least 660 miles on the farthest 10 percent of days.
Glossary
- conditional probability
- the likelihood that an event will occur given that another event has already occurred