Univariate distributions

The distributions where each sample is scalar are Univariate distributions. We can categorize them further into two distributions based on the values they support:

  • Univariate Continuous Distribution
  • Univariate Discrete Distribution

Abstract types:

julia> typealias UnivariateDistribution{S<:ValueSupport} Distribution{Univariate,S} 
 
julia> typealias DiscreteUnivariateDistribution   Distribution{Univariate, Discrete} 
julia> typealias ContinuousUnivariateDistribution Distribution{Univariate, Continuous} 

Many methods are implemented for Univariate distributions in the package, which provides necessary functionalities.

Retrieving parameters

  • params(distributionX): This will return a tuple of parameters
  • succprob(distributionX): This returns ...

Get Julia for Data Science now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.