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

Using Yates’s Correction for Continuity The chi-square distribution is continuous, whereas the test statistic used in this section is discrete. Some statisticians use Yates’s correction for continuity in cells with an expected frequency of less than 10 or in all cells of a contingency table with two rows and two columns. With Yates’s correction, we replace

\(\sum \frac{{{{\left( {O - E} \right)}^2}}}{E}\)with \(\sum \frac{{{{\left( {\left| {O - E} \right| - 0.5} \right)}^2}}}{E}\)

Given the contingency table in Exercise 9 “Four Quarters the Same as $1?” find the value of the test \({\chi ^2}\)statistic using Yates’s correction in all cells. What effect does Yates’s correction have?

Short Answer

Expert verified

The value of the \({\chi ^2}\) test statistic using the Yates’s correction factor is equal to 10.717.

There is sufficient evidence to reject the claim that whether students purchased gum or kept the money is independent of whether they were given four quarters or a $1 bill.

The effect of Yates’s correction factor is that the test statistic value decreases as compared to the test statistic value computed without using any correction factor.

Step by step solution

01

Given information

Data are given on the number of students who spent/kept the money given that they were given four quarters and a $1 bill.

02

Hypotheses

Null Hypothesis: The act of spending/keeping the money is independent of whether the students were given four quarters or a $1 bill.

Alternative Hypothesis: The act of spending/keeping the money is not independent of whether the students were given four quarters or a $1 bill.

03

Observed frequencies

The following table shows the observed frequencies:

Purchased Gum

Kept the Money

Students given four Quarters

\({O_1} = \)27

\({O_2} = \)16

Students Given $1 Bill

\({O_3} = \)12

\({O_4} = \)34

04

Calculation of expected frequencies

The following table shows the row totals and column totals:

Purchased Gum

Kept the Money

Row Total

Students given four Quarters

27

16

43

Students Given $1 Bill

12

34

46

Column total

39

50

89

The expected frequencies are computed using the given formula:

\({\rm{Expected}}\;{\rm{Frequency}} = \frac{{{\rm{Row}}\;{\rm{Total}} \times {\rm{Column}}\;{\rm{Total}}}}{{{\rm{Grand}}\;{\rm{Total}}}}\)

The following table shows the expected frequencies:

Purchased Gum

Kept the Money

Students given four Quarters

\(\begin{aligned}{c}{E_1} = \frac{{43 \times 39}}{{89}}\\ = 18.84\end{aligned}\)

\(\begin{aligned}{c}{E_2} = \frac{{43 \times 50}}{{89}}\\ = 24.16\end{aligned}\)

Students Given $1 Bill

\(\begin{aligned}{c}{E_3} = \frac{{46 \times 39}}{{89}}\\ = 20.16\end{aligned}\)

\(\begin{aligned}{c}{E_4} = \frac{{46 \times 50}}{{89}}\\ = 25.84\end{aligned}\)

05

Calculation of the test statistic

The test statistic with Yates’s correction factor is computed as follows:

\(\begin{aligned}{c}{\chi ^2} = \sum \frac{{{{\left( {\left| {O - E} \right| - 0.5} \right)}^2}}}{E}\;\;\;\;\chi _{\left( {r - 1} \right)\left( {c - 1} \right)}^2\\ = \frac{{{{\left( {\left| {27 - 18.84} \right| - 0.5} \right)}^2}}}{{18.84}} + \frac{{{{\left( {\left| {16 - 24.16} \right| - 0.5} \right)}^2}}}{{24.16}} + \frac{{{{\left( {\left| {12 - 20.16} \right| - 0.5} \right)}^2}}}{{20.16}} + \frac{{{{\left( {\left| {34 - 25.84} \right| - 0.5} \right)}^2}}}{{25.84}}\\ = 10.717\end{aligned}\)

Therefore, the value of test statistic is 10.717.

The test statistic with Yates’s correction factor is computed as follows:

\(\begin{aligned}{c}{\chi ^2} = \sum \frac{{{{\left( {\left| {O - E} \right| - 0.5} \right)}^2}}}{E}\;\;\;\;\chi _{\left( {r - 1} \right)\left( {c - 1} \right)}^2\\ = \frac{{{{\left( {\left| {27 - 18.84} \right| - 0.5} \right)}^2}}}{{18.84}} + \frac{{{{\left( {\left| {16 - 24.16} \right| - 0.5} \right)}^2}}}{{24.16}} + \frac{{{{\left( {\left| {12 - 20.16} \right| - 0.5} \right)}^2}}}{{20.16}} + \frac{{{{\left( {\left| {34 - 25.84} \right| - 0.5} \right)}^2}}}{{25.84}}\\ = 10.717\end{aligned}\)

Therefore, the value of test statistic is 10.717.

06

Calculation of the critical value

The level of significance is 0.05.

The degrees of freedom is computed below:

\(\begin{aligned}{c}df = \left( {r - 1} \right)\left( {c - 1} \right)\\ = \left( {2 - 1} \right)\left( {2 - 1} \right)\\ = 1\end{aligned}\)

Now look at the \({\chi ^2}\) distribution table for 1 degrees of freedom with 0.05 significance level.

The critical value is 3.842.

07

Conclusion of the test

The calculated value of the test statistic is greater than the critical value. Therefore, the null hypothesis is rejected.

Thus, there is sufficient evidence to reject the claim that whether students purchased gum or kept the money is independent of whether they were given four quarters or a $1 bill.

It seems that there is a denomination effect.

08

Effect of Yates’s correction

The effect of Yates’s correction factor is that the tests statisticdecreases as compared to the test statistic computed without using any correction factor.

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

Forward Grip Reach and Ergonomics When designing cars and aircraft, we must consider the forward grip reach of women. Women have normally distributed forward grip reaches with a mean of 686 mm and a standard deviation of 34 mm (based on anthropometric survey data from Gordon, Churchill, et al.).

a. If a car dashboard is positioned so that it can be reached by 95% of women, what is the shortest forward grip reach that can access the dashboard?

b. If a car dashboard is positioned so that it can be reached by women with a grip reach greater than 650 mm, what percentage of women cannot reach the dashboard? Is that percentage too high?

c. Find the probability that 16 randomly selected women have forward grip reaches with a mean greater than 680 mm. Does this result have any effect on the design?

Clinical Trial of Lipitor Lipitor is the trade name of the drug atorvastatin, which is used to reduce cholesterol in patients. (Until its patent expired in 2011, this was the largest-selling drug in the world, with annual sales of $13 billion.) Adverse reactions have been studied in clinical trials, and the table below summarizes results for infections in patients from different treatment groups (based on data from Parke-Davis). Use a 0.01 significance level to test the claim that getting an infection is independent of the treatment. Does the atorvastatin (Lipitor) treatment appear to have an effect on infections?


Placebo

Atorvastatin 10 mg

Atorvastatin 40 mg

Atorvastatin 80 mg

Infection

27

89

8

7

No Infection

243

774

71

87

Cybersecurity The table below lists leading digits of 317 inter-arrival Internet traffic times for a computer, along with the frequencies of leading digits expected with Benford’s law (from Table 11-1 in the Chapter Problem).

a. Identify the notation used for observed and expected values.

b. Identify the observed and expected values for the leading digit of 2.

c. Use the results from part (b) to find the contribution to the\({\chi ^2}\)test statistic from the category representing the leading digit of 2.

Leading Digit

1

2

3

4

5

6

7

8

9

Benford’s

Law

30.1%

17.6%

12.5%

9.7%

7.9%

6.7%

5.8%

5.1%

4.6%

Leading Digits

of Inter-Arrival

Traffic Times

76

62

29

33

19

27

28

21

22

Benford’s Law. According to Benford’s law, a variety of different data sets include numbers with leading (first) digits that follow the distribution shown in the table below. In Exercises 21–24, test for goodness-of-fit with the distribution described by Benford’s law.

Leading Digits

Benford's Law: Distributuon of leading digits

1

30.10%

2

17.60%

3

12.50%

4

9.70%

5

7.90%

6

6.70%

7

5.80%

8

5.10%

9

4.60%

Tax Cheating? Frequencies of leading digits from IRS tax files are 152, 89, 63, 48, 39, 40, 28, 25, and 27 (corresponding to the leading digits of 1, 2, 3, 4, 5, 6, 7, 8, and 9, respectively, based on data from Mark Nigrini, who provides software for Benford data analysis). Using a 0.05 significance level, test for goodness-of-fit with Benford’s law. Does it appear that the tax entries are legitimate?

Questions 6–10 refer to the sample data in the following table, which describes the fate of the passengers and crew aboard the Titanic when it sank on April 15, 1912. Assume that the data are a sample from a large population and we want to use a 0.05 significance level to test the claim that surviving is independent of whether the person is a man, woman, boy, or girl.


Men

Women

Boys

Girls

Survived

332

318

29

27

Died

1360

104

35

18

Is the hypothesis test left-tailed, right-tailed, or two-tailed?

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