6.3.10.1.2.1.1. statsmodels.sandbox.distributions.otherdist.ParametricMixtureD.__init__¶
-
ParametricMixtureD.
__init__
(mixing_dist, base_dist, bd_args_func, bd_kwds_func, cutoff=0.001)[source]¶ create a mixture distribution
Parameters: mixing_dist : discrete frozen distribution
mixing distribution
base_dist : continuous distribution
parameterized distributions in the mixture
bd_args_func : callable
function that builds the tuple of args for the base_dist. The function obtains as argument the values in the support of the mixing distribution and should return an empty tuple or a tuple of arrays.
bd_kwds_func : callable
function that builds the dictionary of kwds for the base_dist. The function obtains as argument the values in the support of the mixing distribution and should return an empty dictionary or a dictionary with arrays as values.
cutoff : float
If the mixing distribution has infinite support, then the distribution is truncated with approximately (subject to integer conversion) the cutoff probability in the missing tail. Random draws that are outside the truncated range are clipped, that is assigned to the highest or lowest value in the truncated support.