← Math quizzes

From OpenStax

Full Hypothesis Test Examples Quiz

12 questions math Grades 9-12

The question sheet

Reveal any answer as you study
  1. In the Jeffrey swimming example, what is the alternative hypothesis?

    • Ha: μ ≠ 16.43
    • Ha: μ > 16.43
    • Ha: μ < 16.43
    • Ha: μ = 16.43
    Reveal answer

    Answer: Ha: μ < 16.43

    Source evidence

    PDF page 401: Ha: μ < 16.43 For Jeffrey to swim faster, his time will be less than 16.43 seconds. The "<" tells you this is left-tailed. Determine the distribution needed: ̄ Random variable: X = the mean time to swim the 25-yard freestyle. Distribution for the test statistic: The sample size is less than 30 and we do not know the population standard deviation so this is a t-test. and the -

  2. In the Jeffrey swimming example, why is a t-test used?

    • Population is uniform
    • Sample size is exactly 30
    • Sample size < 30 and unknown σ
    • σ is known
    Reveal answer

    Answer: Sample size < 30 and unknown σ

    Source evidence

    PDF page 401: Ha: μ < 16.43 For Jeffrey to swim faster, his time will be less than 16.43 seconds. The "<" tells you this is left-tailed. Determine the distribution needed: ̄ Random variable: X = the mean time to swim the 25-yard freestyle. Distribution for the test statistic: The sample size is less than 30 and we do not know the population standard deviation so this is a t-test. and the -

  3. For 14 degrees of freedom at the 0.05 column, what is the critical t-value?

    • 1.761
    • 2.575
    • 2.08
    • 1.96
    Reveal answer

    Answer: 1.761

    Source evidence

    PDF page 401: Our step 2, setting the level of significance, has already been determined by the problem, .05 for a 95 % significance level. It is worth thinking about the meaning of this choice. The Type I error is to conclude that Jeffrey swims the 25-yard freestyle, on average, in less than 16.43 seconds when, in fact, he actually swims the 25-yard freestyle, on average, in 16.43 seconds. (Reject the null hypothesis when the null hypothesis is true.) For this case the only concern with a Type I error would seem to be that Jeffery’s dad may fail to bet on his son’s victory because he does not have appropriate confidence in the effect of the goggles. To find the critical value we need to select the appropriate test statistic. We have concluded that this is a t-test on the basis of the sample size and that we are interested in a population mean. We can now draw the graph of the t-distribution and mark the critical value. For this problem the degrees of freedom are n-1, or 14. Looking up 14 degrees of freedom at the 0.05 column of the t-table we find 1.761. This is the critical value and we can put this on our graph. Step 3 is the calculation of the test statistic using the formula we have selected. We find that the calculated test statistic is 2.08, meaning that the sample mean is 2.08 standard deviations away from the hypothesized mean of 16.43. -

  4. In the Jeffrey example, what was the calculated test statistic?

    • -3.07
    • -2.08
    • 1.761
    • 0.60
    Reveal answer

    Answer: -2.08

    Source evidence

    PDF page 401: Our step 2, setting the level of significance, has already been determined by the problem, .05 for a 95 % significance level. It is worth thinking about the meaning of this choice. The Type I error is to conclude that Jeffrey swims the 25-yard freestyle, on average, in less than 16.43 seconds when, in fact, he actually swims the 25-yard freestyle, on average, in 16.43 seconds. (Reject the null hypothesis when the null hypothesis is true.) For this case the only concern with a Type I error would seem to be that Jeffery’s dad may fail to bet on his son’s victory because he does not have appropriate confidence in the effect of the goggles. To find the critical value we need to select the appropriate test statistic. We have concluded that this is a t-test on the basis of the sample size and that we are interested in a population mean. We can now draw the graph of the t-distribution and mark the critical value. For this problem the degrees of freedom are n-1, or 14. Looking up 14 degrees of freedom at the 0.05 column of the t-table we find 1.761. This is the critical value and we can put this on our graph. Step 3 is the calculation of the test statistic using the formula we have selected. We find that the calculated test statistic is 2.08, meaning that the sample mean is 2.08 standard deviations away from the hypothesized mean of 16.43. -

    PDF page 401: = = -2.08 tc = s .8 n 15

  5. In the Jeffrey example, the p-value of 0.0187 compared to α = 0.05 led to which conclusion?

    • Retest required
    • Cannot accept the null
    • No conclusion possible
    • Accept the null
    Reveal answer

    Answer: Cannot accept the null

    Source evidence

    PDF page 402: Step 4 has us compare the test statistic and the critical value and mark these on the graph. We see that the test statistic is in the tail and thus we move to step 4 and reach a conclusion. The probability that an average time of 16 minutes could come from a distribution with a population mean of 16.43 minutes is too unlikely for us to accept the null hypothesis. We cannot accept the null. Step 5 has us state our conclusions first formally and then less formally. A formal conclusion would be stated as: “With a 95% level of significance we cannot accept the null hypothesis that the swimming time with goggles comes from a distribution with a population mean time of 16.43 minutes.” Less formally, “With 95% significance we believe that the goggles improves swimming speed” If we wished to use the p-value system of reaching a conclusion we would calculate the statistic and take the additional step to find the probability of being 2.08 standard deviations from the mean on a t-distribution. This value is .0187. Comparing this to the α-level of .05 we see that we cannot accept the null. The p-value has been put on the graph as the shaded area beyond -2.08 and it shows that it is smaller than the hatched area which is the alpha level of 0.05. Both methods reach the same conclusion that we cannot accept the null hypothesis.

  6. In the salad dressing example, why is it a two-tailed test?

    • Sample too small
    • Over- or under-filling both bad
    • Only over-filling matters
    • Only under-filling matters
    Reveal answer

    Answer: Over- or under-filling both bad

    Source evidence

    PDF page 404: Solution 9.10 STEP 1: Set the Null and Alternative Hypothesis. The random variable is the quantity of fluid placed in the bottles. This is a continuous random variable and the parameter we are interested in is the mean. Our hypothesis therefore is about the mean. In this case we are concerned that the machine is not filling properly. From what we are told it does not matter if the machine is over-filling or under-filling, both seem to be an equally bad error. This tells us that this is a two-tailed test: if the machine is malfunctioning it will be shutdown regardless if it is from over-filling or under-filling. The null and alternative hypotheses are thus:

  7. In the salad dressing example, which distribution is appropriate?

    • Student's t
    • Uniform
    • Normal distribution
    • Binomial
    Reveal answer

    Answer: Normal distribution

    Source evidence

    PDF page 404: STEP 2: Decide the level of significance and draw the graph showing the critical value. This problem has already set the level of significance at 99%. The decision seems an appropriate one and shows the thought process when setting the significance level. Management wants to be very certain, as certain as probability will allow, that they are not shutting down a machine that is not in need of repair. To draw the distribution and the critical value, we need to know which distribution to use. Because this is a continuous random variable and we are interested in the mean, and the sample size is greater than 30, the appropriate distribution is the normal distribution and the relevant critical value is 2.575 from the normal table or the t-table at 0.005 column and infinite degrees of freedom. We draw the graph and mark these points.

  8. In the salad dressing example, what was the critical value at 99%?

    • 2.575
    • 1.96
    • 1.761
    • 3.07
    Reveal answer

    Answer: 2.575

    Source evidence

    PDF page 404: STEP 2: Decide the level of significance and draw the graph showing the critical value. This problem has already set the level of significance at 99%. The decision seems an appropriate one and shows the thought process when setting the significance level. Management wants to be very certain, as certain as probability will allow, that they are not shutting down a machine that is not in need of repair. To draw the distribution and the critical value, we need to know which distribution to use. Because this is a continuous random variable and we are interested in the mean, and the sample size is greater than 30, the appropriate distribution is the normal distribution and the relevant critical value is 2.575 from the normal table or the t-table at 0.005 column and infinite degrees of freedom. We draw the graph and mark these points.

  9. In the salad dressing example, what was the calculated test statistic?

    • -3.07
    • 2.575
    • 0.60
    • -2.08
    Reveal answer

    Answer: -3.07

    Source evidence

    PDF page 405: STEP 3: Calculate sample parameters and the test statistic. The sample parameters are provided, the sample mean is 7.91 and the sample variance is .03 and the sample size is 35. We need to note that the sample variance was provided not the sample standard deviation, which is what we need for the formula. Remembering that the standard deviation is simply the square root of the variance, we therefore know the sample standard deviation, s, is 0.173. With this information we calculate the test statistic as -3.07, and mark it on the graph. -

    PDF page 405: = = -3.07 Zc = s .173 n 35 STEP 4: Compare test statistic and the critical values Now we compare the test statistic and the critical value by placing the test statistic on the graph. We see that the test statistic is in the tail, decidedly greater than the critical value of 2.575. We note that even the very small difference between the hypothesized value and the sample value is still a large number of standard deviations. The sample mean is only 0.08 ounces different from the required level of 8 ounces, but it is 3 plus standard deviations away and thus we cannot accept the null hypothesis. STEP 5: Reach a Conclusion Three standard deviations of a test statistic will guarantee that the test will fail. The probability that anything is within three standard deviations is almost zero. Actually it is 0.0026 on the normal distribution, which is certainly almost zero in a practical sense. Our formal conclusion would be “ At a 99% level of significance we cannot accept the hypothesis that the sample mean came from a distribution with a mean of 8 ounces” Or less formally, and getting to the point, “At a 99% level of significance we conclude that the machine is under filling the bottles and is in need of repair”.

  10. For a proportion test, np′ and nq′ must both be greater than what?

    • 5
    • 1
    • 30
    • 10
    Reveal answer

    Answer: 5

    Source evidence

    PDF page 405: Just as there were confidence intervals for proportions, or more formally, the population parameter p of the binomial distribution, there is the ability to test hypotheses concerning p. The population parameter for the binomial is p. The estimated value (point estimate) for p is p′ where p′ = x/n, x is the number of successes in the sample and n is the sample size. When you perform a hypothesis test of a population proportion p, you take a simple random sample from the population. The conditions for a binomial distribution must be met, which are: there are a certain number n of independent trials meaning random sampling, the outcomes of any trial are binary, success or failure, and each trial has the same probability of a success p. The shape of the binomial distribution needs to be similar to the shape of the normal distribution. To ensure this, the quantities np′ and nq′ must both be greater than five (np′ > 5 and nq′ > 5). In this case the binomial distribution of

  11. In the mortgage borrower example, what are the hypotheses?

    • H0: p=0.50, Ha: p≠0.50
    • H0: p<0.50, Ha: p>0.50
    • H0: μ=0.50, Ha: μ≠0.50
    • H0: p=0.53, Ha: p≠0.53
    Reveal answer

    Answer: H0: p=0.50, Ha: p≠0.50

    Source evidence

    PDF page 406: Solution 9.11 STEP 1: Set the null and alternative hypothesis. H0: p = 0.50 Ha: p ≠ 0.50 The words "is the same or different from" tell you this is a two-tailed test. The Type I and Type II errors are as follows: The Type I error is to conclude that the proportion of borrowers is different from 50% when, in fact, the proportion is actually 50%. (Reject the null hypothesis when the null hypothesis is true). The Type II error is there is not enough evidence to conclude that the proportion of first time borrowers differs from 50% when, in fact, the proportion does differ from 50%. (You fail to reject the null hypothesis when the null hypothesis is false.) STEP 2: Decide the level of significance and draw the graph showing the critical value The level of significance has been set by the problem at the 95% level. Because this is two-tailed test one-half of the alpha value will be in the upper tail and one-half in the lower tail as shown on the graph. The critical value for the normal distribution at the 95% level of confidence is 1.96. This can easily be found on the student’s t-

  12. In the mortgage borrower example, what is the critical value at 95%?

    • 2.575
    • 1.761
    • 1.96
    • 0.60
    Reveal answer

    Answer: 1.96

    Source evidence

    PDF page 406: Solution 9.11 STEP 1: Set the null and alternative hypothesis. H0: p = 0.50 Ha: p ≠ 0.50 The words "is the same or different from" tell you this is a two-tailed test. The Type I and Type II errors are as follows: The Type I error is to conclude that the proportion of borrowers is different from 50% when, in fact, the proportion is actually 50%. (Reject the null hypothesis when the null hypothesis is true). The Type II error is there is not enough evidence to conclude that the proportion of first time borrowers differs from 50% when, in fact, the proportion does differ from 50%. (You fail to reject the null hypothesis when the null hypothesis is false.) STEP 2: Decide the level of significance and draw the graph showing the critical value The level of significance has been set by the problem at the 95% level. Because this is two-tailed test one-half of the alpha value will be in the upper tail and one-half in the lower tail as shown on the graph. The critical value for the normal distribution at the 95% level of confidence is 1.96. This can easily be found on the student’s t-

Play the whole quiz inside a game Answers stay hidden while you play

Make your own — free

Turn any notes into a game in under a minute. Free to start.

Make a quiz