Computes the beta log probability density function (LPDF).
value to evaluate LPDF
shape parameter #1
shape parameter #2
import mir.math.common: approxEqual, log; assert(0.5.betaLPDF(1, 1).approxEqual(log(betaPDF(0.5, 1, 1)))); assert(0.75.betaLPDF(1, 2).approxEqual(log(betaPDF(0.75, 1, 2)))); assert(0.25.betaLPDF(0.5, 4).approxEqual(log(betaPDF(0.25, 0.5, 4))));
Beta Distribution
See Implementation
Computes the beta log probability density function (LPDF).