Description Usage Arguments Details Value Author(s) References See Also Examples

Calculate the simple random sample size for estimating a proportion using the log-odds transformation.

1 |

`moe.sw` |
switch for setting desired margin of error
(1 = CI half-width on the proportion;
2 = CI half-width on a proportion divided by |

`e` |
desired margin of error |

`alpha` |
1 - (confidence level) |

`pU` |
population proportion |

`N` |
number of units in finite population |

The function accepts five parameters, which are the same ones as accepted by `nPropMoe`

.
The desired margin of error can be specified as the CI half-width on the proportion (`moe.sw=1`

)
or as the CI half-width as a proportion of the population value `pU`

(`moe.sw=2`

).

numeric sample size

Richard Valliant, Jill A. Dever, Frauke Kreuter

Valliant, R., Dever, J., Kreuter, F. (2013, chap. 3). *Practical Tools for Designing and Weighting Survey Samples*. New York: Springer.

`nProp`

, `nPropMoe`

, `nWilson`

, `nCont`

1 2 |

PracTools documentation built on June 13, 2018, 9:03 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.