plot_beta_dist: Plot the beta distribution.

Description Usage Arguments Details Author(s)

View source: R/generics.R

Description

This function will plot the beta distribution under two different parameterizations. The first one, with alpha and beta, is the usual parameterization of the beta. The second one parameterizes the beta in terms of its mean and overdispersion. Thus, either both alpha and beta must be specified, or both mu and rho must be specified.

Usage

1
plot_beta_dist(alpha = NULL, beta = NULL, mu = NULL, rho = NULL, ...)

Arguments

alpha

The shape1 parameter.

beta

The shape2 parameter.

mu

The mean parameter.

rho

The overdispersion parameter.

...

Anything else you want to pass to plot.default.

Details

We have the relationships

μ = α / (α + β)

and

ρ = 1 / (1 + α + β).

Thus, the inverse relationships are

α = μ(1 -ρ) / ρ

and

β = (1 - μ)(1 - ρ) / ρ.

Author(s)

David Gerard


dcgerard/updogAlpha documentation built on May 14, 2019, 3:10 a.m.