Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Class Project: Quality Assurance. This exercise can be don individually or, better yet, as a class project. For the pretzel-packagin hypothesis test in Example 9.1 on page 352, the null and alternativ hypotheses are, respectively,
H0:μ=454g (machine is working properly)
H0:μ454g (machine is not working properly).
where μ is the mean net weight of all bags of pretzels packaged. The net weights are normally distributed with a standard deviation of 7.8g.
a. Assuming that the null hypothesis is true, simulate 100 samples of 25 net weights each.
b. Suppose that the hypothesis test is performed at the 5%significance level. Of the 100 samples obtained in part (a), roughly how many would you expect to lead to rejection of the null hypothesis? Explain your answer.

c. Of the 100 samples obtained in part (a), determine the number that lead to rejection of the null hypothesis.
d. Compare your answers from parts (b) and (c), and comment on any observed difference.

Short Answer

Expert verified

Part (a). We simulate 100 samples of size in the columns, C1 to C100.

Part (b). For 100 samples,the expected number of samples are rejected, is 0.05

Part (c). The number of samples that lead to reject the null hypothesis is 3 .

Part (d). The expected value of the number of samples that lead to reject the null hypothesis is greater as compared to the observed value.

Step by step solution

01

Part (a) Step 1. Given information

It is given that the null and alternative hypotheses are stated as follows:
H0:μ=454g(Machine is working properly.)
Versus
H0:μ454g (Machine is not working properly)
Here the mean net weight of all bags of pretzels package is given asμ .
Also it is given that the net weights are normally distributed with a standard deviation of7.8g.
That means σ=7.8g

02

Part (a) Step 2. Assuming that the null hypothesis is true, simulate 100 samples of 25 net weights each. 

Using MINITAB, we simulate 100 samples of 25 net weights each by assumingH0is true as follows:
Step 1: CalcRandom dataNormal
Step 2: enter the given data as follows:
Step 3: Click OK.
From the above three steps, we simulate 100 samples of size in the columns, C1 to C100.

03

Part (b) Step 1. Given information

It is given that the null and alternative hypotheses are stated as follows:
H0:μ=454g(Machine is working properly.)
Versus
H0:μ454g(Machine is not working properly)
Here the mean net weight of all bags of pretzels package is given asμ .
Also it is given that the net weights are normally distributed with a standard deviation of7.8g.
That means σ=7.8g

04

Part (b) Step 2. Suppose that the hypothesis test is performed at the 5%significance level. Of the 100 samples obtained in part (a), roughly how many would you expect to lead to rejection of the null hypothesis? Explain your answer. 

Here we have informed that the hypothesis test is performed at5% significance level. That means, we have
Thus, the probability of rejecting the null hypothesis is0.05. That means,
Therefore for 100 samples,the expected number of samples are rejected, is0.05

05

Part (c) Step 1. Given information

It is given that the null and alternative hypotheses are stated as follows:
H0:μ=454g(Machine is working properly.)
Versus
H0:μ454g(Machine is not working properly)
Here the mean net weight of all bags of pretzels package is given asμ.
Also it is given that the net weights are normally distributed with a standard deviation of7.8g.
That means σ=7.8g

06

Part (c) Step 2. Of the 100 samples obtained in part (a), determine the number that lead to rejection of the null hypothesis. 

Using MINITAB, we obtain the95% confidence interval for the 100 samples simulated in part
(a), as follows:
1 Store the data in a column named Cadmium level.
2 Choose Stat ? Basic Statistics ?1-Sample Z. .
3 Select the Samples in columns option button.
4 Click in the Samples in columns text box and specify C1-C2.
5 Click in the Standard deviation text box and type 78
6 Click the Options ... button.
7 Type 95 in the Confidence level text box.
8 Click the arrow button at the right of the Alternative drop-down list box and select greater than.
9 Click OK twice.

As per the requirement, we observe the number of samples for which the 95%confidence interval does not contain the value of mean

Therefore, we obtained the number of samples that lead to reject the null hypothesis is 3 .
07

Part (d) Step 1. Given information

It is given that the null and alternative hypotheses are stated as follows:
H0:μ=454g(Machine is working properly.)
Versus
role="math" localid="1651256756555" H0:μ454g(Machine is not working properly)
Here the mean net weight of all bags of pretzels package is given asμ .
Also it is given that the net weights are normally distributed with a standard deviation of7.8g.
That means σ=7.8g

08

Part (d) Step 2. Compare your answers from parts (b) and (c), and comment on any observed difference. 

From the parts (b) and (c), we observe that the expected value of the number of samples that lead to reject the null hypothesis is greater as compared to the observed value.
Therefore, we fail to reject the null hypothesis and hence we conclude that the machine is working properly.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

P-Values. In Exercises 17–20, do the following:

a. Identify the hypothesis test as being two-tailed, left-tailed, or right-tailed.

b. Find the P-value. (See Figure 8-3 on page 364.)

c. Using a significance level of α = 0.05, should we reject H0or should we fail to reject H0?

The test statistic of z = 2.01 is obtained when testing the claim that p0.345.

Cans of coke for the sample data from exercise 1, we get “P-value<0.01” when testing the claim that the new filling process results in volumes with the same standard deviation of 0.115 oz.

  1. What should we conclude about the null hypothesis?
  2. What should we conclude about the original claims?
  3. What do these results suggest about the new filling process?

Vitamin C and Aspirin A bottle contains a label stating that it contains Spring Valley pills with 500 mg of vitamin C, and another bottle contains a label stating that it contains Bayer pills with 325 mg of aspirin. When testing claims about the mean contents of the pills, which would have more serious implications: rejection of the Spring Valley vitamin C claim or rejection of the Bayer aspirin claim? Is it wise to use the same significance level for hypothesis tests about the mean amount of vitamin C and the mean amount of aspirin?

Testing Hypotheses. In Exercises 13–24, assume that a simple random sample has been selected and test the given claim. Unless specified by your instructor, use either the P-value method or the critical value method for testing hypotheses. Identify the null and alternative hypotheses, test statistic, P-value (or range of P-values), or critical value(s), and state the final conclusion that addresses the original claim.

Car Booster Seats The National Highway Traffic Safety Administration conducted crash tests of child booster seats for cars. Listed below are results from those tests, with the measurements given in hic (standard head injury condition units). The safety requirement is that the hic measurement should be less than 1000 hic. Use a 0.01 significance level to test the claim that the sample is from a population with a mean less than 1000 hic. Do the results suggest that all of the child booster seats meet the specified requirement?

774 649 1210 546 431 612

Testing Claims About Proportions. In Exercises 9–32, test the given claim. Identify the null hypothesis, alternative hypothesis, test statistic, P-value, or critical value(s), then state the conclusion about the null hypothesis, as well as the final conclusion that addresses the original claim. Use the P-value method unless your instructor specifies otherwise. Use the normal distribution as an approximation to the binomial distribution, as described in Part 1 of this section.

Smoking Stopped In a program designed to help patients stop smoking, 198 patients were given sustained care, and 82.8% of them were no longer smoking after one month (based on data from “Sustained Care Intervention and Post discharge Smoking Cessation Among Hospitalized Adults,” by Rigotti et al., Journal of the American Medical Association, Vol. 312, No. 7). Use a 0.01 significance level to test the claim that 80% of patients stop smoking when given sustained care. Does sustained care appear to be effective?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free