larch.numba.Model.loglike_null
larch.numba.Model.loglike_null¶
- Model.loglike_null()¶
Compute the log likelihood at null values.
Set all parameter values to the value indicated in the “nullvalue” column of the parameter frame, and compute the log likelihood with the currently loaded data. Note that the null value for each parameter may not be zero (for example, the default null value for logsum parameters in a nested logit model is 1).
- Parameters
use_cache (bool, default True) – Use the cached value if available. Set to -1 to raise an exception if there is no cached value.
- Returns
float