| size.ci.yule | R Documentation | 
Computes the sample size required to estimate Yule's Q with desired confidence interval precision. Set the Yule's Q planning value to the smallest absolute value within a plausible range for a conservatively large sample size.
size.ci.yule(alpha, p1, p2, Q, w)
alpha | 
 alpha level for 1 - alpha confidence  | 
p1 | 
 planning value for row 1 marginal proportion  | 
p2 | 
 planning value for column 1 marginal proportion  | 
Q | 
 planning value of Yule's Q  | 
w | 
 desired confidence interval width  | 
Returns the required sample size
size.ci.yule(.05, .3, .2, .5, .4)
# Should return:
#  Sample size
#          354
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.