Docsity

Probability Distributions for Discrete and Continuous Random Variables, Study notes of Statistics

Toggle sidebar
bg1
Supplement to Stat 1100 with Johnson and Wichern
Nancy Pfenning
More on Chapter 6: Discrete Random Variables
We may specify the probability distribution f(x) = P(X=x) of a discrete random variable Xas the list
of its possible values xiand their associated probilities f(xi). This list can be used to find the probability
of specific values of X:
Example
Household size in the U.S. has the following distribution:
x f(x)
1 .251
2 .321
3 .171
4 .154
5 .067
6 .022
7 .014
The probability that a household has 3 people is P(X= 3) = f(3) = .171.
Often, we are interested in the probability that a random variable takes a value over an interval. We
define the cumulative distribution function F(x) as P(X≤x). On the probability density histogram,
whereas f(x) = P(X=x) is represented by the area of the single histogram bar over x,F(x) = P(X≤x)
is represented by the total area of all the bars to the left of (and including) the bar over x.
Example
Specify the cumulative distribution function F(x) for household size in the U.S. Sketch a prob-
ability histogram for f(x), and solve for the given probabilities, first using f(x), then using
F(x).
1. Find the probability of no more than 3 people.
2. Find the probability of fewer than 3 people.
3. Find the probability of more than 4 people.
4. Find the probability of between (and including) 2 and 4 people.
The probability histogram has a bar of height .251 over x= 1, a bar of height .321 over x= 2,
etc.
Next, to solve for Fof any x, we sum the values of f(x) up to and including the given x:
x F (x)
1 .251
2 .572
3 .743
4 .897
5 .964
6 .986
7 1.000
Now we solve for probabilities, using fand then F:
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Probability Distributions for Discrete and Continuous Random Variables and more Study notes Statistics in PDF only on Docsity!

Supplement to Stat 1100 with Johnson and Wichern

Nancy Pfenning

More on Chapter 6: Discrete Random Variables

We may specify the probability distribution f (x) = P (X = x) of a discrete random variable X as the list of its possible values xi and their associated probilities f (xi). This list can be used to find the probability of specific values of X:

Example

Household size in the U.S. has the following distribution:

x f (x)

The probability that a household has 3 people is P (X = 3) = f (3) = .171.

Often, we are interested in the probability that a random variable takes a value over an interval. We define the cumulative distribution function F (x) as P (X ≤ x). On the probability density histogram, whereas f (x) = P (X = x) is represented by the area of the single histogram bar over x, F (x) = P (X ≤ x) is represented by the total area of all the bars to the left of (and including) the bar over x.

Example

Specify the cumulative distribution function F (x) for household size in the U.S. Sketch a prob- ability histogram for f (x), and solve for the given probabilities, first using f (x), then using F (x).

  1. Find the probability of no more than 3 people.
  2. Find the probability of fewer than 3 people.
  3. Find the probability of more than 4 people.
  4. Find the probability of between (and including) 2 and 4 people.

The probability histogram has a bar of height .251 over x = 1, a bar of height .321 over x = 2, etc. Next, to solve for F of any x, we sum the values of f (x) up to and including the given x:

x F (x)

7 1.

Now we solve for probabilities, using f and then F :

  1. the probability of no more than 3 people: P (X ≤ 3) = P (X = 1) + P (X = 2) + P (X = 3) = f (1) + f (2) + f (3) = .251 + .321 + .171 = . 743 alternatively, P (X ≤ 3) = F (3) = .743.
  2. the probability of fewer than 3 people: P (X < 3) = f (1) + f (2) = .251 + .321 =. 572 alternatively, P (X < 3) = P (X ≤ 2) = F (2) = .572. [Note that P (X ≤ 3) and P (X < 3) are not the same.]
  3. the probability of more than 4 people: P (X > 4) = f (5) + f (6) + f (7) = .067 + .022 + .014 = .103. alternatively, P (X > 4) = 1 − P (X ≤ 4) = 1 − F (4) = 1 − .897 = .103.
  4. the probability of between (and including) 2 and 4 people: P (2 ≤ X ≤ 4) = f (2) + f (3) + f (4) = .321 + .171 + .154 =. 646 alternatively, P (2 ≤ X ≤ 4) = P (X ≤ 4) − P (X ≤ 1) = F (4) − F (1) =. 897 − .251 =. 646

Chapter 7: Continuous Random Variables and Sampling Distribu-

tions

In Chapter 2, we introduced the concept of a density curve as an idealization of a density histogram. Now, a probability density curve for a continuous random variable is a smoothed-out version of a probability histogram. Discrete random variables, such as household size, have distinct possible values xi that can be specified in a list, along with their probabilities f (xi) = P (X = xi). They can be displayed with a probability histogram. Continuous random variables, such as height, have infinitely many possible values over an entire interval. The distribution of a continuous random variable is given by its probability density function f (x), a smooth curve with the following properties:

  1. The total area under the probability density curve is 1.
  2. P (a ≤ X ≤ b) =area under the probability density curve between a and b.
  3. f (x) ≥ 0 for all x (that is, density curves may not dip below the x axis).

Notice how these parallel the properties of the probability distribution function f (x) for discrete random variables, as stated at the end of Section 6.3. In many respects, continous random variables are analogous to discrete ones. One important difference, however, is that, because a continuous random variable has an infinite number of point values, the probability of any particular one of them occurring is actually zero! Thus, it only makes sense to talk about the probability of a continuous random variable taking a value over an interval. For discrete random variables, we had to be careful about whether there was strict inequality or not when solving for probabilities over intervals. [For X = household size, we found P (X ≤ 3) = .743, whereas P (X < 3) = .572.] For continuous random variables, we can afford to be careless about strict inequalities, since

P (a ≤ X ≤ b) = P (a < X ≤ b) = P (a ≤ X < b) = P (a < X < b)

for a continuous random variable X. The area under the curve between a and b remains the same, whether or not the endpoints are included.

(c) P (X ≤ 3) (d) P (X < 3) (e) P (X > 3) (f) P (X ≥ 3)

  1. Verify that

all x f^ (x) = 1.

  1. Specify F (x) = P (X ≤ x) with a list and then a formula; give an interpretation of F with respect to the probability histogram. Re-solve the probabilities in part (2), this time using F.
  2. Find E(X) = μ.
  3. Find V ar(X) = σ^2.
  4. Find σ.

Here are the solutions:

  1. The probability distribution function f is easily found:

x f (x) (^1 ) (^2 ) (^3 ) (^4 ) (^5 ) (^6 )

We see that f (x) = 16 for all integers x between 1 and 6. [f (x) is zero otherwise.] Its probability histogram is uniform: 6 bars of height 16 over the 6 values 1, 2, 3, 4, 5, 6.

  1. We can use f (x) to solve for the stated probabilities: (a) P (3 ≤ X ≤ 5) = f (3) + f (4) + f (5) = 36. (b) P (X = 3) = f (3) = 16. (c) P (X ≤ 3) = f (1) + f (2) + f (3) = (^36) (d) P (X < 3) = f (1) + f (2) = (^26) (e) P (X > 3) = f (4) + f (5) + f (6) = (^36) (f) P (X ≥ 3) = f (3) + f (4) + f (5) + f (6) = (^46)

all x f^ (x) =^

1 6 +^

1 6 +^

1 6 +^

1 6 +^

1 6 +^

1 6 = 1.

  1. The cumulative distribution function F is found to be x F (x) (^1 ) (^2 ) (^3 ) (^4 ) (^5 ) (^6 )

We see that F (x) = x 6 for all integers x between 1 and 6. [F (x) is zero for any x < 1, F (x) is one for any x ≥ 6.] F (x) is represented by the area of the histogram bars to the left of (and including) x. (a) P (3 ≤ X ≤ 5) = P (X ≤ 5) − P (X ≤ 2) = F (5) − F (2) = 56 − 26 = (^36)

(b) P (X = 3) = P (X ≤ 3) − P (X ≤ 2) = F (3) − F (2) = 36 − 26 = 16 [Note: this problem was much easier to solve using f !] (c) P (X ≤ 3) = F (3) = 36 [This, on the other hand, is easier to solve using F .] (d) P (X < 3) = P (X ≤ 2) = F (2) = (^26) (e) P (X > 3) = 1 − P (X ≤ 3) = 1 − F (3) = 1 − 36 = (^36) (f) P (X ≥ 3) = 1 − P (X ≤ 2) = 1 − F (2) = 1 − 26 = (^46)

  1. E(X) = μ =

all x xf^ (x) = 1^

6

6

6

6

6

6

  1. V ar(X) = σ^2 =

all x x

(^2) f (x) − μ 2

= 1^2

+ 2^2

+ 3^2

+ 4^2

+ 5^2

+ 6^2

  1. σ =

Thus, the number rolled on a die is about 3.5, give or take about 1.7.

Note: The cumulative distribution function F may at this point seem to be more trouble than it’s worth. This may be true in the discrete case, but in the continuous case F is found by integrating, rather than by summing. Once we have an expression for F , we are spared the work of integrating the density f every time we want to solve for a probability. The following formulas summarize our results for discrete random variables from Chapter 6.

Formulas for Discrete Random Variables

  1. Graph: the height of the probability histogram is f (x) = P (X = x) (the probability distribution).
  2. Probabilities: P (a ≤ X ≤ b) =

∑b x=a f^ (x).

  1. Law:

all x f^ (x) = 1.

  1. Cumulative Distribution Function: F (x) = P (X ≤ x) so P (X ≤ a) = F (a) =

all x ≤ a f^ (x). F (x) = 0 for x less than the lowest possible value of X and F (x) = 1 for x greater than the highest possible value.

  1. Mean: E(X) = μ =

all x xf^ (x).

  1. Variance: V ar(X) = σ^2 =

all x(x^ −^ μ)

(^2) f (x) = (∑ all x x

(^2) f (x))^ − μ 2

  1. Standard Deviation: σ =

V ar(X)

Note the similarities to the following:

Formulas for Continuous Random Variables

  1. Graph: the height of the probability density curve is f (x) (the probability density function).
  2. Probabilities: P (a ≤ X ≤ b) =

∫ (^) b x=a f^ (x)dx.

  1. Law:

−∞ f^ (x)dx^ = 1.

  1. Cumulative Distribution Function: F (x) = P (X ≤ x) so P (X ≤ a) = F (a) =

∫ (^) a −∞ f^ (x)dx for any specified value a; in general, F (x) =

∫ (^) x −∞ f^ (t)dt^ for any^ x. F (x) = 0 for x less than the lowest possible value of X and F (x) = 1 for x greater than or equal to the highest possible value.

(e) P (X > 3) =

3

1 5 dx^ =^

x 5

∣^5

3 =^

5 5 −^

3 5 =^

2 5

−∞ f^ (x)dx^ =^

0

1 5 dx^ =^

x 5

∣^5

0 =^

5 5 −^

0 5 = 1.

  1. F (x) = P (X ≤ x) is the area under the curve f (x) up to the point x. For x between 0 and 5, F (x) =

∫ (^) x

−∞

f (t)dt =

∫ (^) x

0

dt =

t 5

x

0

x 5

x 5

F (x) is zero for any x less than 0, and one for any x greater than or equal to 5. (a) P (3 ≤ X ≤ 4) = P (X ≤ 4) − P (X ≤ 3) = F (4) − F (3) = 45 − 35 = (^15) (b) P (X = 3) = 0 (c) P (X ≤ 3) = F (3) = (^35) (d) P (X < 3) = P (X ≤ 3) = F (3) = (^35) (e) P (X > 3) = 1 − P (X ≤ 3) = 1 − F (3) = 1 − 35 = 25.

  1. Mean: E(X) = μ =

−∞ xf^ (x)dx^ =^

0 x(^

1 5 )dx^ =^

1 10 x

2 ∣∣^5

0 =^

25 10 −^ 0 = 2.5. Because a uniform distribution is symmetric, 2.5 is also the median, or equal-area point.

  1. Variance: V ar(X) = σ^2 =

−∞

x^2 f (x)dx

− μ^2

0

x^2 5

dx − 2. 52 =

x^3

5

0

  1. Standard Deviation: σ =

V ar(X) =

2 .08 = 1. 44. This is the “typical” distance of values of X from their mean 2.5.

In the discrete case, f (x) is the height of the probability histogram bars and F (x) gives probabilities by summing up areas of the bars. In the continuous case, f (x) is the height of the probability density curve and F (x) gives probabilities as areas under the curve—it is the integral of f. Conversely, f is the derivative of F!

Example

Show how f and F from our previous example are related. For x between 0 and 5,

If f (x) =

then F (x) =

∫ (^) x

−∞

f (t)dt =

∫ (^) x

0

dt =

t 5

x

0

x

If F (x) =

x then f (x) =

d dx

F (x) =

d dx

x =

Supplemental Exercises A

Before doing the exercises below, students should do 7.2 and 7.4 on page 333 of the textbook.

  1. Refer to the probability distribution in Exercise 6.83 on page 321 of your text.

(a) Solve for the following probabilities, using the probability distribution f : i. P (X < 2) ii. P (X ≤ 2) iii. P (X > 1) iv. P (0 < X ≤ 2) (b) Make a table with values of the cumulative distribution function F (x).

(c) Re-solve the probabilities in part (a), now using F.

  1. Refer to the probability distribution in Exercise 6.84 on page 321 of your text.

(a) Solve for the following probabilities, using the probability distribution f : i. P (X < 4) ii. P (X ≤ 4) iii. P (X > 4) iv. P (2 < X ≤ 4) (b) Make a table with values of the cumulative distribution function F (x). (c) Re-solve the probabilities in part (a), now using F.

  1. Imagine the probability density curve f (x) for the random variable X = age of people who died this year in the U.S. (A sketch might help.)

(a) Would the shape of f be left-skewed, fairly symmetric, or right-skewed? (b) Which is larger, mean age at death or median age at death (or should they be roughly the same)?

  1. Let X be the score on an exam where most students did quite well, but a few students did unusually poorly, and imagine the probability density curve f (x) for this random variable.

(a) Would the shape of f be left-skewed, fairly symmetric, or right-skewed? (b) Which is larger, mean score or median score (or should they be roughly the same)?

  1. Imagine the probability density curve f (x) for the random variable X = age of people who died of unnatural causes this year in the U.S. (A sketch might help.)

(a) Would the shape of f be left-skewed, fairly symmetric, or right-skewed? (b) Which is larger, mean age at death or median age at death (or should they be roughly the same)?

  1. Imagine the probability density curve f (x) for the random variable X = earnings last year of all graduates of Pitt’s business school.

(a) Would the shape of f be left-skewed, fairly symmetric, or right-skewed? (b) Which is larger, mean earnings or median earnings (or should they be roughly the same)?

  1. Imagine the probability density curve f (x) for the random variable X = trunk length of adult female African elephants.

(a) Would the shape of f be left-skewed, fairly symmetric, or right-skewed? (b) Which is larger, mean trunk length or median trunk length (or should they be roughly the same)? (c) What is the probability that a trunk will be exactly 4.41 feet long?

  1. Imagine the probability density curve f (x) for the random variable X = circumference of a sequoia tree in southern California.

(a) Would the shape of f be left-skewed, fairly symmetric, or right-skewed? (b) Which is larger, mean circumference or median circumference (or should they be roughly the same)? (c) What is the probability that a tree will measure precisely 30.027 feet in circumference?

  1. Which random variable would have a larger standard deviation—age of a randomly chosen Pitt student or age of a randomly chosen American?
  2. Which random variable would have a larger standard deviation—trunk length of a randomly chosen African elephant, or trunk length of a randomly chosen adult African elephant?
  1. (a) f should be normal, as is the case in general for physical characteristics. Therefore it should be symmetric. (b) Because of the symmetry of f , the mean should approximately equal the median. (c) For a continuous distribution such as this, the probability of any one particular value is zero.
  2. Age of Americans has more spread than age of college students, so its standard deviation would be larger.
  3. (a) f (x) is a horizontal line of height 101 between x = 5 and x = 15; it is zero otherwise. (b) P (10 ≤ X ≤ 12) =

10

1 10 dx^ =^

1 10 x

∣^12

10 =^

12 10 −^

10 10 =^

2 10 =^.^2. (c)

−∞ f^ (x)dx^ =^

−∞ 0 dx^ +^

5

1 10 dx^ +^

15 0 dx^ = 0 +^

1 10 x

∣^15

5 + 0 =^

1 10 (15^ −^ 5) = 1 (d) F (x) =

∫ (^) x −∞ f^ (t)dt^ =^

∫ (^) x 5

1 10 dt^ =^

1 10 t

∣x 5 =^

1 10 x^ −^

5 10 =^

1 10 x^ −^

1 2 for^ x^ between 5 and 15.^ F^ (x) = 0 for x < 5 and F (x) = 1 for x ≥ 15. (e) μ =

−∞ xf^ (x)dx^ =^

5

1 10 xdx^ =^

1 20 x

2 ∣∣^15

5 =^

225 20 −^

25 20 =^

200 20 = 10. Since f is symmetric, the median must also be 10. (f)

V ar(X) =

−∞

x^2 f (x)dx

− μ^2

5

x^2 dx

x^3

15

5

(g) σ =

25 3 =^ √^5 3 = 2.^89

Chapter 7 Supplement B

More on Continuous Random Variables and Their Probability Distributions

Recall: To solve for probabilities involving a continuous random variable X, we may either integrate its probability density curve f (x) over the appropriate interval:

P (a ≤ X ≤ b) =

∫ (^) b

a

f (x)dx

or work with the cumulative distribution function F (x), which is the integral of f :

F (x) =

∫ (^) x

−∞

f (t)dt so P (a ≤ X ≤ b) = F (b) − F (a)

It follows that f is the derivative of F :

f (x) =

d dx

F (x)

To find the mean, variance, and standard deviation of X, we also need to perform integration. Last time we presented Formulas for Continuous Random Variables, which we will utilize when solving for probabilities, means, and standard deviations. Before working through more examples, we should review some basics for derivatives and integrals of some common elementary functions: d dx

kxn^ = nkxn−^1 ∫ kxndx =

k n + 1

xn+1^ + C

The latter holds for n 6 = −1. You may recall that

x−^1 dx = ln x; however, this result will not be required in our examples.

Example

If F (x) = 3x^2 − 2 x^3 for 0 ≤ x ≤ 1, find f (x). f (x) = (^) dxd [3x^2 − 2 x^3 ] = 6x − 6 x^2 , also defined for 0 ≤ x ≤ 1.

Example

If f (x) = 6x − 6 x^2 for 0 ≤ x ≤ 1, find P (0 ≤ X ≤ 12 ).

P (0 ≤ X ≤

0

6 x − 6 x^2 dx

= (3x^2 − 2 x^3 )

(^12)

0

− [3(0)^2 − 2(0)^3 ] =

Example

If f (x) = 18 (x + 1) for 2 ≤ x ≤ 4, find P (3 ≤ X ≤ 4).

P (3 ≤ X ≤ 4) =

3

(x + 1)dx =

x^2 +

x

4

3

Exponential random variables arise in many situations. Recall that (^) dxd ex^ = ex^ and

exdx = ex^ +C. Because of the chain rule, it follows that d dx

e−kx^ = −ke−kx ∫ −ke−kxdx = e−kx^ + C

Example

The waiting time X (in days) until a certain brand of watch must be reset is a continuous random variable with probability density function f (x) = 1201 e−^ 120 x for x > 0. [Otherwise f (x) is zero.] What is the probability of needing to be reset between 1 month (30 days) and 2 months ( days)?

P (30 ≤ X ≤ 60) =

30

e−^ 120 x = −e−^ 120 x

60

30

= −e−^ 12060

  • e−^ 12030

= e−^ 12030 − e−^ 12060 =. 7788 − .6065 =. 1723

In general, for positive a and b, (^) ∫ b

a

ke−kxdx = e−ka^ − e−kb

If a is 0, remember that e^0 = 1. If b is ∞, remember that e−∞^ = 0. Using integration by parts, it can be shown that an exponential random variable X with probability density function ke−kx^ for x > 0 and k > 0 has the following mean, variance, and standard deviation:

E(X) = μ =

k

; V ar(X) = σ^2 =

k^2

; σ =

k

  1. Here we use f to solve for probabilities: (a)

P (X < 41) =

0

20 , 000(x + 100)−^3 dx = − 10 , 000(x + 100)−^2

41

0

= − 10 , 000(141)−^2 + 10, 000(100)−^2 = −

Thus, 41 days is the median shelf-life; the area under f (x) is .5 on either side of x = 41. (b)

P (X < 100) =

0

20 , 000(x + 100)−^3 dx = − 10 , 000(x + 100)−^2

100

0

= − 10 , 000(200)−^2 + 10, 000(100)−^2 = −

Thus, 34 of the area under f is to the left of x = 100. (c)

P (X > 200) =

200

20 , 000(x + 100)−^3 dx = − 10 , 000(x + 100)−^2

∞

200

= lim x→∞ − 10 , 000(x + 100)−^2 + 10, 000(300)−^2 = 0 +

[Note that as x gets infinitely large, (x + 100)−^2 = (^) (x+100)^12 goes to zero.] (d)

P (100 < X < 200) =

100

20 , 000(x + 100)−^3 = − 10 , 000(x + 100)−^2

200

100

= − 10 , 000(300)−^2 + 10, 000(200)−^2 = −

−∞

f (x)dx =

0

20 , 000(x + 100)−^3 dx = − 10 , 000(x + 100)−^2

∞

0

  1. Now we use F to solve for probabilities:

(a)

P (X < 41) = P (X ≤ 41) = F (41) = 1 − 10 , 000(41 + 100)−^2 = 1 −

(b)

P (X < 100) = P (X ≤ 100) = F (100) = 1− 10 , 000(100+100)−^2 = 1−

(c)

P (X > 200) = 1−P (X ≤ 200) = 1−F (200) = 1−[1− 10 , 000(200+100)−^2 ] =

(d)

P (100 < X < 200) = F (200)−F (100) = [1− 10 , 000(200+100)−^2 ]−[1− 10 , 000(100+100)−^2 ]

E(X) = μ =

−∞

xf (x)dx =

0

20 , 000 x(x + 100)−^3 dx

This type of integral may be solved using the technique of substitution, or with integration by parts. These skills will not be required in this course, but solutions are presented here for students who wish to review. (a) Using substitution to simplify the expression being raised to a power: Let u = x + 100. Then x = u − 100, and dudx = 1 means dx = du. We adjust the limits of integration as follows: when x = 0, u = 100; as x → ∞, u → ∞. ∫ (^) ∞

0

20 , 000 x(x+100)−^3 dx =

100

20 , 000(u−100)u−^3 du =

100

(20, 000 u−^2 − 2 , 000 , 000 u−^3 )du

= − 20 , 000 u−^1

∞

100

  • 1, 000 , 000 u−^2

∞

100

= lim u→∞

u

  • 20, 000(100)−^1 + lim u→∞

u^2

− 1 , 000 , 000(100)−^2

The mean shelf-life is 100 hours. Because of the extreme right-skewness of the density function f (x), the mean is much larger than the median, 41. (b) Using the integration by parts formula

udv = uv −

vdu: Take u = 20, 000 x, dv = (x + 100)−^3 dx, du = 20, 000 dx, v = − 12 (x + 100)−^2. Then

E(X) = − 10 , 000 x(x + 100)−^2

∞

0

0

10 , 000(x + 100)−^2 dx

= − 10 , 000 lim x→∞

x (x + 100)^2

  • 10, 000(0)(0 + 100)−^2 − 10 , 000(x + 100)−^1

∞

0

= 0 + 0 − 10 , 000 lim x→∞

x + 100

+ 10, 000(0 + 100)−^1 =

Similar calculations can be used to find the variance and standard deviation. They turn out to be infinite, which may not be entirely realistic, but we must remember that such models are merely idealizations which provide fairly reasonable answers to most questions.

Important: Writing “french” instead of “French” on a history paper is just a minor mistake. Confusing “f (x)” (the probability density function) and “F (x)” (the cumulative distribution function) in statistics is a major mistake. In a sense, they are opposites: F is the integral of f , f is the derivative of F.

Supplemental Exercises B

  1. A random variable X has cumulative distribution function F (x) = 161 (x^2 + 2x − 8) for 2 < x < 4. Find the probability that X takes a value

(a) less than 2.

(c) Find the expected proportion of non-respondents. Does the charity have good reason to hope that a majority of those who received their mailing will respond? (d) Which is larger, the mean or the median? (e) Find V ar(X) and σ.

  1. The tread wear X (in thousands of kilometers) for a certain brand of tire has probability density function f (x) = 301 e−^ 30 x for x > 0.

(a) What is the probability of lasting between 27 and 36 thousand kilometers? (b) What is the expected tread wear of such a tire? (c) What is the standard deviation of tread wear?

  1. The reservations manager for a large airline finds that the waiting time X in minutes between phone calls to the reservation center has probability density function f (x) = 2e−^2 x^ for x ≥ 0.

(a) What is the probability that the waiting time will be between 1 and 2 minutes? (b) What is the mean waiting time? (c) What is the standard deviation of waiting time? (d) What is the median waiting time?

Solutions to Odd-Numbered Supplemental Exercises B

  1. (a) P (X < 2 .5) = F (2.5) = 161 (2. 52 + 2(2.5) − 8) ≈. 20 (b) P (X > 3) = 1 − P (X ≤ 3) = 1 − F (3) = 1 − 161 (3^2 + 2(3) − 8) ≈ 1 − .44 =. 56 (c) P (2. 5 < X < 3) = F (3) − F (2.5) ≈. 44 − .20 =. 24 (d) P (X < 1) = 0 since we can assume F to be 0 below x = 2. (e) P (X < 5) = 1 since X must be between 2 and 4.
  2. (a) f (x) = 420x^19 − 420 x^20 for 0 < x < 1 (b) f (x) = 12 e−^

(^12) x for 0 ≤ x < ∞ (c) f (x) = 18x−^3 for x > 3.

  1. F (x) =

∫ (^) x −∞ f^ (t)dt^ =^

∫ (^) x − 4

1 8 dt^ =^

1 8 t

∣x − 4 =^

1 8 x^ +^

1 2 for^ −^4 < x <^ 4.^ F^ (x) is zero for^ x^ ≤^ 4, one for^ x^ ≥^ 4.

  1. (a) P (X < 1 .71) =

1

4 15 x

(^3) dx = 1 15 x

4 ∣∣^1.^71

1 ≈^.^57 −.07 =^ .50. Since^ X^ is less than 1.71 approximately half of the time, 1.71 is roughly the median. (b)

−∞ f^ (x)dx^ =^

1

4 15 x

(^3) dx = 1 15 x

4 ∣∣^2

1 =^

16 − 1 15 = 1 (c) μ =

−∞ xf^ (x)dx^ =^

1

4 15 x

(^4) dx = 4 75 x

5 ∣∣^2

1 =^

128 − 4 75 ≈^1.^653 (d) The mean 1.653 is less than the median 1.71; the distribution is somewhat left-skewed. (e)

V ar(X) =

−∞

x^2 f (x)dx

− μ^2

1

x^5 dx − (1.653)^2 ≈

x^6

2

1

− 2 .73 = 2. 8 − 2 .73 =. 07 pounds

σ =

.07 = .26 pounds, about one fourth of a pound, or 4 ounces. This seems high for a product like boxes of cereal, whose weight should conform more closely to the target weight.

  1. Note that f (x) is of the form ke−kx^ with k = 301.

(a)

P (27 < X < 36) =

27

e−^ 30 x dx = e−^ 301 (27)^ − e−^ 301 (36)^ ≈. 41 − .30 =. 11

(b) μ = (^) k^1 = (^1) /^130 = 30 thousand kilometers

(c) σ = (^) k^1 = 30 thousand kilometers.