# Bayesian sample size calculation

**URL:** <https://discourse.datamethods.org/t/bayesian-sample-size-calculation/4063>\
**Category:** design\
**Tags:** bayes, sample-size\
**Created:** [January 18, 2021, 2:48am UTC](https://discourse.datamethods.org/t/bayesian-sample-size-calculation/4063 "2021-01-18T02:48:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EpiLearneR](https://discourse.datamethods.org/letter_avatar_proxy/v4/letter/e/f9ae1b/32.png) [@EpiLearneR](https://discourse.datamethods.org/u/EpiLearneR)\
**Post date:** [January 18, 2021, 2:48am UTC](https://discourse.datamethods.org/t/bayesian-sample-size-calculation/4063/1 "2021-01-18T02:48:55Z")

</div>

I would like to know

1. what are important points to be considered when designing a study that plan to use Bayesian analysis, in general.
2. Are there any guidelines to follow and online calculators or R packages.
3. What are main difference in sample size calculation compared to frequentist approach.

I was wondering why we need to have sample size calculation apart from funding purpose when using Bayesian.

---

<div class="post-metadata">

**Author:** ![f2harrell](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/f2harrell/32/165_2.png) [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Post date:** [January 18, 2021, 12:56pm UTC](https://discourse.datamethods.org/t/bayesian-sample-size-calculation/4063/2 "2021-01-18T12:56:29Z")

</div>

Some material and several excellent references are [here](http://hbiostat.org/bayes/bet/design.html).
