Struct rv::dist::Beta[][src]

pub struct Beta {
    pub alpha: f64,
    pub beta: f64,
}

Beta distribution, Beta(α, β).

Fields

Methods

impl Beta
[src]

Create a Beta distribution with even density over (0, 1).

Create a Beta distribution with the Jeffrey's parameterization, Beta(0.5, 0.5).

Trait Implementations

impl Debug for Beta
[src]

Formats the value using the given formatter. Read more

impl Clone for Beta
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Beta
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Beta
[src]

Returns the "default value" for a type. Read more

impl Variance<f64> for Beta
[src]

Returns None if the variance is undefined

impl Entropy for Beta
[src]

The entropy, H(X)

impl Skewness for Beta
[src]

impl Kurtosis for Beta
[src]

impl Rv<f32> for Beta
[src]

Un-normalized probability function Read more

Single draw from the Rv Read more

Multiple draws of the Rv Read more

The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

Un-normalized probability function Read more

The constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

impl Support<f32> for Beta
[src]

Returns true if x is in the support of the Rv Read more

impl ContinuousDistr<f32> for Beta
[src]

The value of the Probability Density Function (PDF) at x Read more

The value of the log Probability Density Function (PDF) at x Read more

impl Mean<f32> for Beta
[src]

Returns None if the mean is undefined

impl Mode<f32> for Beta
[src]

Returns None if the mode is undefined or is not a single value

impl Rv<f64> for Beta
[src]

Un-normalized probability function Read more

Single draw from the Rv Read more

Multiple draws of the Rv Read more

The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

Un-normalized probability function Read more

The constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

impl Support<f64> for Beta
[src]

Returns true if x is in the support of the Rv Read more

impl ContinuousDistr<f64> for Beta
[src]

The value of the Probability Density Function (PDF) at x Read more

The value of the log Probability Density Function (PDF) at x Read more

impl Mean<f64> for Beta
[src]

Returns None if the mean is undefined

impl Mode<f64> for Beta
[src]

Returns None if the mode is undefined or is not a single value

impl Rv<Bernoulli> for Beta
[src]

Un-normalized probability function Read more

The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

Single draw from the Rv Read more

Un-normalized probability function Read more

The constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

Multiple draws of the Rv Read more

impl Support<Bernoulli> for Beta
[src]

Returns true if x is in the support of the Rv Read more

impl ContinuousDistr<Bernoulli> for Beta
[src]

The value of the Probability Density Function (PDF) at x Read more

The value of the log Probability Density Function (PDF) at x Read more

impl ConjugatePrior<bool, Bernoulli> for Beta
[src]

Computes the posterior distribution from the data

Log marginal likelihood

Log posterior predictive of y given x

Marginal likelihood of x

Posterior Predictive distribution

Auto Trait Implementations

impl Send for Beta

impl Sync for Beta