SciPyDistribution

class SciPyDistribution(dist)

Allow one to override Distribution from a scipy distribution.

Parameters:
dista scipy.stats distribution

The distribution to wrap

Methods

computeCDF(X)

CDF accessor.

getDimension()

Dimension accessor.

computePDF

computeQuantile

computeScalarQuantile

getKurtosis

getMean

getMoment

getParameter

getParameterDescription

getRange

getRealization

getSample

getSkewness

getStandardDeviation

getSupport

isContinuous

isDiscrete

isIntegral

setParameter

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()  
__init__(dist)

Constructor.

computeCDF(X)

CDF accessor.

getDimension()

Dimension accessor.