size.ci.agree | R Documentation |
Computes the sample size required to estimate a population G-index of agreement for two dichotomous ratings with desired confidence interval precision. Set the G-index planning value to the smallest value within a plausible range for a conservatively large sample size.
size.ci.agree(alpha, G, w)
alpha |
alpha level for 1-alpha confidence |
G |
planning value of G-index |
w |
desired confidence interval width |
Returns the required sample size
size.ci.agree(.05, .8, .2)
# Should return:
# Sample size
# 139
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.