Chapter 1 · Section 6 practice

SciPy Probability

Work from question 1 to 10. Edit your Python box, click Run Code, review the result, then click Submit attempt. Reference answers unlock after all ten attempts are submitted. This records completion, not correctness. Each box runs independently. Progress is saved in this browser.

Submitted: 0 / 10

1. Probability at the mean

Warm-up. Print the probability of a waiting time at most 8 minutes for normal mean 8, sd 2, to four decimals.

Write your answer, then run it.

2. Probability below a limit

Warm-up. Calculate P(X ≤ 10) for normal mean 8, sd 2. Print four decimals.

Write your answer, then run it.

3. Find the median cutoff

Warm-up. Calculate the 50th percentile for normal mean 8, sd 2. Print two decimals.

Write your answer, then run it.

4. Calculate the upper tail

Build your skills. Print P(X > 10) for normal mean 8, sd 2, as a percentage with one decimal.

Write your answer, then run it.

5. Calculate an interval

Build your skills. Print P(6 ≤ X ≤ 10) for normal mean 8, sd 2, as a percentage with one decimal.

Write your answer, then run it.

6. Find a service cutoff

Build your skills. For normal mean 28, sd 6, print the 95th percentile to two decimals with units. Explain its meaning in a comment.

Write your answer, then run it.

7. Check inverse functions

Build your skills. Find the 90th percentile for normal mean 28, sd 6; pass it into CDF. Print cutoff to two decimals and checked probability to four.

Write your answer, then run it.

8. Compare variability

Challenge. Compare P(X > 40) for normal models with the same mean 28 but sd 6 and sd 10. Print each percentage to two decimals and explain the result.

Write your answer, then run it.

9. Compare observations and a model

Challenge. Print the observed proportion of times above 40 and the modeled probability for mean 28, sd 6. Use four decimals and explain why they differ.

Write your answer, then run it.

10. Assess a proposed promise

Challenge. For normal mean 28, sd 6, calculate P(X ≤ 35) and the cutoff needed for 95% coverage. Print the first as a two-decimal percentage and the second to two decimals. Explain whether a 35-minute promise meets 95% under the model.

Write your answer, then run it.

Reference answers are locked until all 10 attempts are submitted.