Description Usage Arguments Examples

This function provides flexibility to estimate margins of errors for a proportion with a stratified sample assuming different population sizes, confidence levels, design effects (DEff), and response rates.

1 2 |

`n` |
Vector of sample size of each stratum. |

`N` |
Value or vector of values with the population size of each stratum. |

`W` |
Proportion of each stratum in the target population. If the population size is not specified, MOEs are estimated using the infinite population formula. |

`deff` |
A value or vector of values with design effects (DEff) provided from previous studies. |

`rr` |
Proportion representing expected response rate, it migth be 0 or more, and less than 1. |

`p` |
Value or vector of values with the expected proportion of each stratum. |

`cl` |
Confidence levels, e.g., .95 |

`relative` |
Logical parameter. Estimate a relative error if TRUE. |

1 |

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.