BetaConversion: Converting beta distribution parameters

Description Usage Arguments Details Value Examples

Description

Convert parameter values between different beta distribution parametrization

Usage

1
2
betaParam(alpha = NULL, beta = NULL, m = NULL, theta = NULL,
  mu = NULL, sigma2 = NULL)

Arguments

alpha

A numeric. First shape parameter

beta

A numeric.Second shape parameter

m

A numeric. Mode

theta

A numeric. Concentration

mu

A numeric. Mean

sigma2

A numeric. Variance

Details

This function needs two parameters that caracterise the beta distribution (alpha and beta, mode and concentration or mean and variance) and returns all parametrizations.

Value

A list with all equivalent formulations of the distribution.

Examples

1
2
3
betaParam(alpha = 5, beta = 5)
betaParam(m = 0.5, theta = 10)
betaParam(mu = 0.5, sigma2 = 0.02272727)

XCIR documentation built on Nov. 8, 2020, 7:41 p.m.