• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Statistics Question: Calculating the Probability of a Type II Error

eddiev10025

New Member
I need help calculating the probability of a Type II Error (failing to reject the null hypothesis when it should be rejected).

I need help with the following tests:
1) z-tests (left-tailed, two-tailed and right-tailed)
2) t-tests (left-tailed, two-tailed and right-tailed)
3) F-tests (Equality of Variance and One-Way ANOVA
4) Chi-Square Goodness-of-Fit tests

eddiev10025
 
Chihiro, Thanks!
I have been to all of these sites. The first three do not cover how to calculate Type II errors. Real-Statistics has a plug-in that is supposed to calculate Type IIs, butI do not want to have my students use a plug-in.
 
As I understand it, probability of Type II error can't generally be computed, since it's dependent on unknown (i.e. Population mean not the sample mean). It can only be calculated at given values.
But my understanding of statistics is bit sketchy ;)

Do you mean hypothesis testing using statistical power?

1. http://www.real-statistics.com/hypothesis-testing/null-hypothesis/
Explains that β is acceptable level of Type II error.

2. http://www.real-statistics.com/sampling-distributions/statistical-power-sample/
Using Excel to estimate the power of test.

Or below, same concept, but bit more detailed.
https://amstat.tandfonline.com/doi/full/10.1080/10691898.2009.11889507
 
Thanks for sending the link to the Journal of Stat Education article.

One should be able to calculate the P(Type II), or Power, 1-P(Type II), using Excel. Conrad Carlberg does it for t-tests and ANOVA tests in Statistical Analysis Microsoft Excel 2016. I am not confident with my attempts at two-tailed z and t tests and I am at a complete loss with Chi-Square. I have always used G*Power to calculate the sample size to get at least 80% power, or 20% probability of a Type II error. There must be a way of doing this in Excel without resorting to plug-ins. SigmaXL, by the way, does calculate power for some t-tests, proportions tests, and One-Way ANOVA. For some reason it does not due Chi-Square or z-tests for means. I have not found a POWER function in the REAL-STATs plug-in.

eddiev10025
 
The plug-in "Analysis Toolpak" is a standard one available in all Excel versions, but it needs to be checked manually via File -> Options.
Then it appears as a separate section on the ribbon.
I personally don't have any clue how to use them.
63238
 
Back
Top