Skip to content
View in the app

A better way to browse. Learn more.

Benchmark Six Sigma Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Message added by Mayank Gupta,

2 Proportion Test is a hypothesis test to determine whether they are significantly different. This procedure uses the null hypothesis that the difference between two population proportions is equal to a hypothesized value (H0: p1 - p2 = P0), and tests it against an alternative hypothesis, which can be either left-tailed (p1 - p2 < P0), right-tailed (p1 - p2 > P0), or two-tailed (p1 - p2 ≠ P0 )

 

An application-oriented question on the topic along with responses can be seen below. The best answer was provided by Johanan Collins on 6th Jan 2022.

 

Applause for all the respondents - Shruthi P, Johanan Collins.

Featured Replies

Q 434. There are 2 different ways of doing a 2 proportion test - one based on normal approximation and the other based on Fisher's exact test. Why do we need these 2 different tests? Explain the difference between them using a sample data set.

 

Note for website visitors - Two questions are asked every week on this platform. One on Tuesday and the other on Friday.

Solved by Johanan Collins

5 hours ago, Vishwadeep Khatri said:

Q 434. There are 2 different ways of doing a 2 proportion test - one based on normal approximation and the other based on Fisher's exact test. Why do we need these 2 different tests? Explain the difference between them using a sample data set.

 

Note for website visitors - Two questions are asked every week on this platform. One on Tuesday and the other on Friday.

The 2 proportions test is a self explanatory and best practices to decide on the best of two samples , products etc. These can be used to determine the best of two which comes in very close to most of its results and details .  These can be actively seen in lots of cricket matches when the compare the players last match performance with the current and rate it accordingly. And we use it every day on the products we buy to get the best of two for a low price which provides all the benefits of the one with higher price.

  • Solution

A two-proportion test is a hypothesis test to check if the differences between two population proportions are statistically significant. For example, are the proportion of girls to boys in a school significantly different. The null hypothesis is that there is no difference between the population proportions. It can be tested against an alternate hypothesis that can be two-tailed or left/right-tailed.

The output of a 2 proportions test has two p-values, one is the normal approximation based on the Z statistic and the other is the Fisher’s Exact Test. As their names indicate, the normal approximation test is an approximation and has greater error for smaller sample sizes and becomes more accurate as the sample size increases whereas the Fisher’s Exact test is always exact irrespective of the sample size however is more difficult to calculate as the sample size increases.

The Fisher’s Exact Test is calculated using the hypergeometric distribution. The factorials in the formula make it more and more difficult to calculate the p-value as the sample size increases since it runs every possible combination from the sample, and calculates the total number of successes and failures at that given sample size. It then calculates the p-value from the total successes and failures. 

Thus, for larger samples, it is not only easier to calculate the p-value using the Normal Approximation Test, but the results are closer to Fisher’s Exact test results.

Since we no longer do manual calculations and statistical software have the ability to quickly calculate the p-value from the Fisher’s Exact Test, it makes more sense to use the Fisher’s Exact Test irrespective of the sample size.

For a small number of expected values, when compared to the Chi-Square or G-Test of independence, the Fisher’s exact test is more accurate.

The Normal Approximation Test (Z-test), is not accurate when the number of events/non-events are < 5. This is based on the rule that N*P or N(1-P) should be >5 (where N is the No. of trials and P is the proportion of successes. In other words, the normal distribution can be used in place of the binomial distribution when the sample size is large. If N is small and P is small, the binomial distribution will be skewed and the normal distribution cannot be taken to represent it. This is evident from Table 1 where N is increased and Table 2 where P is increased. It can be seen from these 2 tables, that as N and P are increased the Normal Approximation approaches the Fisher’s Exact Test.

It is also evident from Table 2 that for small samples/P, the Normal Approximation test may indicate that a difference between the population exist when no difference exists.

image.png.87260283958fc9fa16a85bfad39a0547.png

image.png.b837159172adf2841a11c8525b286857.png

References

https://stats.stackexchange.com/questions/234010/2-sample-proportions-z-test-vs-fishers-exact-test

https://blog.minitab.com/en/quality-data-analysis-and-statistics/two-p-values-for-a-2-proportions-test-am-i-seeing-double

http://www.biostathandbook.com/fishers.html

Excellent explanation by Johanan and hence his answer is selected as the best answer.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.