SciPyDistribution

class SciPyDistribution(dist)

Allow to override Distribution from a scipy distribution.

Parameters:

dist : a 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)
computePDF(X)
computeQuantile(p)
computeScalarQuantile(p)
getDimension()
getKurtosis()
getMean()
getMoment(n)
getRange()
getRealization()
getSample(size)
getSkewness()
getStandardDeviation()
__init__(dist)

x.__init__(…) initializes x; see help(type(x)) for signature