Description Usage Arguments Examples
A function to determine the sample size required to estimate the difference of two proportions given a desired confidence level and interval half width
1 2 3 4 5 6 | ss.2proportion(
halfwidth,
confidence = 0.95,
proportion1 = 0.5,
proportion2 = 0.5
)
|
halfwidth |
(required) |
confidence |
(optional with default of .95) |
proportion1 |
(optional with default of .5) |
proportion2 |
(optional with default of .5) |
1 2 3 | ss.2proportion(0.03)
ss.2proportion(0.03, confidence=0.99)
ss.2proportion(0.03, confidence=0.99, proportion1=.1, proportion1=.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.