Description Usage Arguments Value Author(s) Examples

Finds the shape parameters of a beta density that matches knowledge of two quantiles of the distribution.

1 | ```
beta.select(quantile1, quantile2)
``` |

`quantile1` |
list with components p, the value of the first probability, and x, the value of the first quantile |

`quantile2` |
list with components p, the value of the second probability, and x, the value of the second quantile |

vector of shape parameters of the matching beta distribution

Jim Albert

1 2 3 4 5 | ```
# person believes the median of the prior is 0.25
# and the 90th percentile of the prior is 0.45
quantile1=list(p=.5,x=0.25)
quantile2=list(p=.9,x=0.45)
beta.select(quantile1,quantile2)
``` |

LearnBayes documentation built on May 20, 2017, 2:24 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.