class Pyrite::Stat::Beta

Defined in:

stat.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pyrite::Stat::Distribution

mean : Float64 mean, pdf(x : Float64) : Float64 pdf, sample(rng : Random = Random::DEFAULT) : Float64 sample, variance : Float64 variance

Constructor Detail

def self.new(alpha : Float64, beta : Float64) #

[View source]

Instance Method Detail

def alpha : Float64 #

[View source]
def alpha=(alpha : Float64) #

[View source]
def beta : Float64 #

[View source]
def beta=(beta : Float64) #

[View source]
def mean : Float64 #

[View source]
def pdf(x : Float64) : Float64 #
Description copied from class Pyrite::Stat::Distribution

Common methods that all distributions will have


[View source]
def sample(rng : Random = Random::DEFAULT) : Float64 #

[View source]
def variance : Float64 #

[View source]