statsmodels.base.model.GenericLikelihoodModel.expandparams¶
- GenericLikelihoodModel.expandparams(params)[source]¶
expand to full parameter array when some parameters are fixed
- Parameters:¶
- params
ndarray
reduced parameter array
- params
- Returns:¶
- paramsfull
ndarray
expanded parameter array where fixed parameters are included
- paramsfull
Notes
Calling this requires that self.fixed_params and self.fixed_paramsmask are defined.
developer notes:
This can be used in the log-likelihood to …
this could also be replaced by a more general parameter transformation.
Last update:
Oct 12, 2024