NestedLogit.sample#

NestedLogit.sample(sample_prior_predictive_kwargs=None, fit_kwargs=None, sample_posterior_predictive_kwargs=None)[source]#

Sample all the things.

Run all of the sample methods in the sequence:

Parameters:
sample_prior_predictive_kwargsdict, optional

The keyword arguments for the sample_prior_predictive method.

fit_kwargsdict, optional

The keyword arguments for the fit method.

sample_posterior_predictive_kwargsdict, optional

The keyword arguments for the sample_posterior_predictive method.

Returns:
Self

The model instance.