# Questions tagged [yates-correction]

A continuity correction applied to 2 by 2 contingency tables

17 questions
Filter by
Sorted by
Tagged with
124 views

### What test can I use for contingency table bigger than 2x2 when some levels are n <5?

I've been trying my luck with my data, consisting in 2 vectors of 3 levels each. I got a 3x3 contingency table, and the details of the code (in R) I've used are in this question https://stackoverflow....
• 67
90 views

### Understanding Chi-Squared Output

Here is some data used for a chi square test: ...
1k views

### What to do if there is missing data in my categorical variable?

I am hoping to conduct a chi-squared analysis between smoking status vs disease status. However, there are some missing data for my smoking status. Should I ignore those N/A when performing a chi-...
• 361
31 views

### Qualitative analysis

Which test can I use for smaller data sets (<5 in a single cell, <20 in group, although N>500) but for larger grids (3x4, 4x5 etc.)? Chi-squared test can be used for larger grids but not for ...
1 vote
2k views

### Why is R automatically using Yates' correction?

I wanted to understand why R is always running Yates' correction for a 2$\times$2 contingency table. My strategy is to create some random 2$\times$2 contingency tables (let's say a thousand) and do X² ...
• 11
1 vote
237 views

### Failed chi-square with Yates correction

I ran a textbook example in an Excel sheet - and replicated the answer. However when I retain the ratio, but double the sample size my result is not significant. This strikes me as illogical. Please ...
541 views

### Chi-2, test of independance, Yates correction in R

I'm trying to run chi square - test of independance. Between Category A that include values 1,2,3 and Category 2 that include values from 1 to 12. As you see, there is violation of the assumption ...
• 245
2k views

### Why Yates correction in McNemar's Test subtract 1?

McNemar's test statistic is given by: Yates's correction defines something like this: However, the correction for the McNemar's test statistic requires 1 (not 0.5)...
• 7,291
2k views

### Best sample size formula and continuity correction for tiny proportions?

I have found the following formulae (from http://www.itl.nist.gov/div898/handbook/prc/section2/prc242.htm) to estimate the sample size required to test the binomial proportion in a single sample. I ...
• 1,151
1k views

### Discrepancy between chi-square with Yates correction calculated by Excel and R

I am comparing observed counts with expected counts generated by assuming equal probability. My data, in R, are as follows: ...
11k views

### Exact formula Yates' correction in R

If I run a chi square in R with the Yates' correction, I get slightly different results from doing it by hand. What is the exact formula R is using for the Yates' correction? I use the simple code: ...
• 59
582 views

### Chi-square: naïve compensation for low frequencies

As far as I understood it, chi-square provides a measure for determining the similarity of the expected and observed (empirical and theoretical) distributions of nominal variables. It can be employed, ...
73 views

### Multinomial chi square with small expected values

I'm studying extinction in Austronesian languages, and am trying to find out if a subset of 384 languages is randomly selected with respect to extinction risk from a population of 1249 languages. "...
• 587
5k views

### Continuity correction for Pearson and McNemar's chi-square test

I think this is a rather basic question, but I just realize that I don't quite understand the term continuity correction. I use R and found the same syntax ...
• 3,229
7k views

### Yates' continuity correction in confidence interval returned by prop.test

This is the confidence interval estimated by prop.test ...
• 6,534
12k views

### Yates continuity correction for 2 x 2 contingency tables

I would like to gather input from people in the field about the Yates continuity correction for 2 x 2 contingency tables. The Wikipedia article mentions it may adjust too far, and is thus only used in ...
• 3,073