Skip to main content
Statistics LibreTexts

5.3: The Uniform Distribution

  • Page ID
    14650
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    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 is inclusive or exclusive of endpoints.

    The mathematical statement of the uniform distribution is

    \(f(x) = \frac{1}{b-a}\) for \(a \leq x \leq b\)

    where \(a =\) the lowest value of \(x\) and \(b =\) the highest value of \(x\).

    Formulas for the theoretical mean and standard deviation are

    \(\mu=\frac{a+b}{2}\) and \(\sigma=\sqrt{\frac{(b-a)^{2}}{12}}\)

    Exercise \(\PageIndex{1}\)

    The data that follow are the number of passengers on 35 different charter fishing boats. The sample mean = 7.9 and the sample standard deviation = 4.33. The data follow a uniform distribution where all values between and including zero and 14 are equally likely. State the values of \(a\) and \(b\). Write the distribution in proper notation, and calculate the theoretical mean and standard deviation.

    1 12 4 10 4 14 11
    7 11 4 13 2 4 6
    3 10 0 12 6 9 10
    5 13 4 10 14 12 11
    6 10 11 0 11 13 2

    Table 5.1

    Example \(\PageIndex{2}\)

    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?

    Answer

    a. Let \(X\) = the number of minutes a person must wait for a bus. \(a = 0\) and \(b = 15\). \(X \sim U(0, 15)\). Write the probability density function. \(f(x) = \frac{1}{15-0}=\frac{1}{15}\) for \(0 \leq x \leq 15\).

    Find \(P(x < 12.5)\). Draw a graph.

    \[P(x<k)=\text { (base) (height) }=(12.5-0)\left(\frac{1}{15}\right)=0.8333\nonumber\]

    The probability a person waits less than 12.5 minutes is 0.8333.

    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.Figure 5.11

    b. On the average, how long must a person wait? Find the mean, \(\mu\), and the standard deviation, \(\sigma\).

    Answer

    b. \(\mu=\frac{a+b}{2}=\frac{15+0}{2}=7.5\). On the average, a person must wait 7.5 minutes.

    \(\sigma=\sqrt{\frac{(b-a)^{2}}{12}}=\sqrt{\frac{(15-\theta)^{2}}{12}}=4.3\). The Standard deviation is 4.3 minutes.

    c. Ninety percent of the time, the time a person must wait falls below what value?

    Note

    This asks for the 90th percentile.

    Answer

    c. Find the 90th percentile. Draw a graph. Let \(k =\) the 90th percentile.

    \(P(x<k)>
    \(0.90=(k)\left(\frac{1}{15}\right)\)

    \(k=(0.90)(15)=13.5\)

    The 90th percentile is 13.5 minutes. Ninety percent of the time, a person must wait at most 13.5 minutes.

    c9489e57396fd3375c42c526d5602ce6609a8f1c.jpgFigure \(\PageIndex{12}\)

    Exercise \(\PageIndex{2}\)

    The total duration of baseball games in the major league in the 2011 season is uniformly distributed between 447 hours and 521 hours inclusive.

    1. Find \(a\) and \(b\) and describe what they represent.
    2. Write the distribution.
    3. Find the mean and the standard deviation.
    4. What is the probability that the duration of games for a team for the 2011 season is between 480 and 500 hours?

    This page titled 5.3: The Uniform Distribution is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax.