statsmodels.duration.hazard_regression.rv_discrete_float.rvs¶ rv_discrete_float.rvs(n=None)[source]¶ Returns a random sample from the discrete distribution. A vector is returned containing a single draw from each row of xk, using the probabilities of the corresponding row of pk Parameters nnot usedPresent for signature compatibility