pyuncertainnumber.pba.ecdf ========================== .. py:module:: pyuncertainnumber.pba.ecdf Classes ------- .. autoapisummary:: pyuncertainnumber.pba.ecdf.eCDF_bundle Functions --------- .. autoapisummary:: pyuncertainnumber.pba.ecdf.transform_eCDF_bundle pyuncertainnumber.pba.ecdf.pl_ecdf_bounds_2 pyuncertainnumber.pba.ecdf.plot_two_eCDF_bundle pyuncertainnumber.pba.ecdf.pl_ecdf_bounding_bundles pyuncertainnumber.pba.ecdf.ecdf pyuncertainnumber.pba.ecdf.get_ecdf Module Contents --------------- .. py:class:: eCDF_bundle a handy tuple of eCDF function q and p .. py:attribute:: quantiles :type: numpy.ndarray .. py:attribute:: probabilities :type: numpy.ndarray .. py:method:: __repr__() .. py:method:: from_sps_ecdf(e) :classmethod: utility to tranform sps.ecdf to eCDF_bundle .. py:method:: plot_bounds(other) plot the lower and upper bounds .. py:function:: transform_eCDF_bundle(e) utility to tranform sps.ecdf to eCDF_bundle .. py:function:: pl_ecdf_bounds_2(q1, p1, q2, p2, ax=None, marker='+') plot the upper and lower bounding cdf functions with two sets of quantiles and probabilities .. py:function:: plot_two_eCDF_bundle(cdf1, cdf2, ax=None, **kwargs) plot upper and lower eCDF_bundle objects .. py:function:: pl_ecdf_bounding_bundles(b_l: eCDF_bundle, b_r: eCDF_bundle, ax=None, legend=True, title=None, sig_level=None, bound_colors=None, label=None, alpha=None, linestyle=None, linewidth=None, return_ax=False) .. py:function:: ecdf(d) return the quantile and probability of a ecdf .. note:: Scott's version which leads to doubling the length of quantiles and probabilities to make it a step function .. py:function:: get_ecdf(s, w=None, display=False) -> tuple compute the weighted ecdf from (precise) sample data :param s: 1 dimensional precise sample data :type s: array-like :param w: weights :type w: array-like .. note:: - Sudret eq.1 :returns: ecdf in the form of a tuple of q and p