SciPyDistribution

class SciPyDistribution(dist)

Allow to override Distribution from a scipy distribution.

Parameters
dista scipy.stats distribution

The distribution to wrap

Examples

>>> import openturns as ot
>>> import scipy.stats as st
>>> scipy_dist = st.johnsonsu(2.55, 2.25)  
>>> distribution = ot.Distribution(ot.SciPyDistribution(scipy_dist))  
>>> distribution.getRealization()  

Methods

computeCDF(self, X)

CDF accessor.

getDimension(self)

Dimension accessor.

computePDF

computeQuantile

computeScalarQuantile

getKurtosis

getMean

getMoment

getParameter

getParameterDescription

getRange

getRealization

getSample

getSkewness

getStandardDeviation

setParameter

__init__(self, dist)

Constructor.

computeCDF(self, X)

CDF accessor.

getDimension(self)

Dimension accessor.