openest.lincombo.continuous_sampled module¶
-
class
openest.lincombo.continuous_sampled.ContinuousSampled(func)[source]¶ Bases:
scipy.stats._distn_infrastructure.rv_continuous-
pdf(xxs)[source]¶ Probability density function at x of the given RV.
Parameters: - x (array_like) – quantiles
- arg2, arg3,.. (arg1,) – The shape parameter(s) for the distribution (see docstring of the instance object for more information)
- loc (array_like, optional) – location parameter (default=0)
- scale (array_like, optional) – scale parameter (default=1)
Returns: pdf – Probability density function evaluated at x
Return type: ndarray
-
rvs(size=1, random_state=None)[source]¶ Random variates of given type.
Parameters: - arg2, arg3,.. (arg1,) – The shape parameter(s) for the distribution (see docstring of the instance object for more information).
- loc (array_like, optional) – Location parameter (default=0).
- scale (array_like, optional) – Scale parameter (default=1).
- size (int or tuple of ints, optional) – Defining number of random variates (default is 1).
- random_state (None or int or
np.random.RandomStateinstance, optional) – If int or RandomState, use it for drawing the random variates. If None, rely onself.random_state. Default is None.
Returns: rvs – Random variates of given size.
Return type: ndarray or scalar
-