Learn R Programming

isotracer (version 1.1.8)

scaled_beta_p: 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)

Value

A list defining the prior.

Arguments

alpha

Alpha parameter of the unscaled beta distribution.

beta

Beta parameter of the unscaled beta distribution.

scale

The upper boundary of the prior.

Examples

Run this code
scaled_beta_p(0.8, 20, scale = 10)

Run the code above in your browser using DataLab