Description Details Author(s) References See Also

Calculate sample sizes based on highest posterior density intervals when comparing two binomial proportions using three different Bayesian approaches.

Package: | SampleSizeProportions |

Type: | Package |

Version: | 1.0 |

Date: | 2009-12-16 |

License: | GLP (version 2 or later) |

URL: | http://www.medicine.mcgill.ca/epidemiology/Joseph/Methodological-Publications-Bayesian-Sample-Size.html |

A set of R functions for calculating sample size requirements using three different Bayesian criteria in the context of designing an experiment
to estimate the difference between two binomial proportions.
Functions for calculation of required sample sizes for the Average Length Criterion,
the Average Coverage Criterion and the Worst Outcome Criterion
in the context of binomial observations are provided.
In all cases, estimation of the difference between two binomial proportions is considered.
Functions for both the fully Bayesian and the mixed Bayesian/likelihood approaches are provided.

See the related package SampleSizeMeans for Bayesian sample sizes calculations based on highest posterior density intervals for normal means

http://cran.r-project.org/web/packages/SampleSizeMeans/index.html

Lawrence Joseph, Roxane du Berger and Patrick Belisle

Maintainer: Lawrence Joseph lawrence.joseph@mcgill.ca

Joseph L, du Berger R, and Belisle P.

Bayesian and mixed Bayesian/likelihood criteria for sample size determination

Statistics in Medicine 1997;16(7):769-781.

`propdiff.acc`

, `propdiff.alc`

, `propdiff.modwoc`

, `propdiff.woc`

, `propdiff.mblacc`

, `propdiff.mblalc`

, `propdiff.mblmodwoc`

, `propdiff.mblwoc`

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.