Skip to content

2 x 2 Contingency Tables and Type II Error

2 messages · Lorenzo Isella, Rui Barradas

#
Dear All,
I am struggling with a the calculation of the type II error (i.e. what  
leads to the statistical power) for a 2 x 2 contingency table.
I see that R can easily accomplish a lot with the chi-square on a  
contingency table

http://bit.ly/VeCrxP

but I do not find an indication for the probability of accepting the null  
hypothesis when it is false.
Am I missing the obvious?
Many thanks

Lorenzo
#
Hello,

See package pwr, function pwr.chisq.test()
See also

http://www.statmethods.net/stats/power.html


Hope this helps,

Rui Barradas
Em 02-12-2012 18:21, Lorenzo Isella escreveu: