Continuous Distributions on [0, 1]
The continuous distributions with outcomes in the interval
Beta distribution
Probability density function
If
Warning: If
Distribution statement
theta ~
beta
(alpha, beta)
Increment target log probability density with beta_lupdf(theta | alpha, beta)
.
Stan functions
real
beta_lpdf
(reals theta | reals alpha, reals beta)
The log of the beta density of theta
in
real
beta_lupdf
(reals theta | reals alpha, reals beta)
The log of the beta density of theta
in
real
beta_cdf
(reals theta | reals alpha, reals beta)
The beta cumulative distribution function of theta
in
real
beta_lcdf
(reals theta | reals alpha, reals beta)
The log of the beta cumulative distribution function of theta
in
real
beta_lccdf
(reals theta | reals alpha, reals beta)
The log of the beta complementary cumulative distribution function of theta
in
R
beta_rng
(reals alpha, reals beta)
Generate a beta variate with positive prior successes (plus one) alpha and prior failures (plus one) beta; may only be used in transformed data and generated quantities blocks. For a description of argument and return types, see section vectorized PRNG functions.
Beta proportion distribution
Probability density function
If
Warning: If
Distribution statement
theta ~
beta_proportion
(mu, kappa)
Increment target log probability density with beta_proportion_lupdf(theta | mu, kappa)
.
Stan functions
real
beta_proportion_lpdf
(reals theta | reals mu, reals kappa)
The log of the beta_proportion density of theta
in
real
beta_proportion_lupdf
(reals theta | reals mu, reals kappa)
The log of the beta_proportion density of theta
in
real
beta_proportion_lcdf
(reals theta | reals mu, reals kappa)
The log of the beta_proportion cumulative distribution function of theta
in
real
beta_proportion_lccdf
(reals theta | reals mu, reals kappa)
The log of the beta_proportion complementary cumulative distribution function of theta
in
R
beta_proportion_rng
(reals mu, reals kappa)
Generate a beta_proportion variate with mean mu and precision kappa; may only be used in transformed data and generated quantities blocks. For a description of argument and return types, see section vectorized PRNG functions.