larch.model.mixtures.Mixture#
- class Mixture[source]#
Bases:
ABC
A mixing distribution for a model parameter.
This is an abstract base class. Subclasses must implement the param_names, prep, roll, and to_dict methods.
Methods
__init__
()param_names
()Named parameters referenced by this mixture, and their default values.
prep
(bucket)roll
(draws, parameters)Apply this mixing distribution to some random draws.
to_dict
()