4.3.1.1.4.1.3. statsmodels.duration.hazard_regression.rv_discrete_float.rvs

rv_discrete_float.rvs()[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