scaled_beta_p: Define a beta prior (on [0;scale])

View source: R/ui_priors.R

scaled_beta_pR Documentation

Define a beta prior (on [0;scale])

Description

If a random variable X follows a scaled beta distribution with parameters (alpha, beta, scale), then X/scale follows a beta distribution with parameters (alpha, beta).

Usage

scaled_beta_p(alpha, beta, scale = 1)

Arguments

alpha

Alpha parameter of the unscaled beta distribution.

beta

Beta parameter of the unscaled beta distribution.

scale

The upper boundary of the prior.

Value

A list defining the prior.

Examples

scaled_beta_p(0.8, 20, scale = 10)


isotracer documentation built on March 27, 2022, 5:05 p.m.