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(X)

CDF accessor.

getDimension()

Dimension accessor.

computePDF

computeQuantile

computeScalarQuantile

getKurtosis

getMean

getMoment

getParameter

getParameterDescription

getRange

getRealization

getSample

getSkewness

getStandardDeviation

getSupport

isContinuous

isDiscrete

isIntegral

setParameter

__init__(dist)

Constructor.

computeCDF(X)

CDF accessor.

getDimension()

Dimension accessor.