You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Design: Parameter classes for general nonlinear models? #2636
(Just a vague idea about how this can be incorporated in a generic way.)
Kerby uses parameter classes in several model, mainly to handle various transformations.
mlefit uses parameter classes including starting values and bounds
various mcmc packages all require predefined parameters (with prior distributional assumptions)
Should we go into this in a generic systematic way?
use cases
nonlinear least squares, and MLE for nonlinear prediction function - similar to mlefit
generically support distributions estimation with multiple parameters - e.g. a MLE wrapper around scipy.stats.distributions
generic estimators like GMM with arbitrary nonlinear moment conditions, estimating equations
modular way to impose constraints on parameters
requirements
link function: explicitly given by users not defaults based on bounds as mlefit
constraints: set some params to a fixed value during optimization, attach transform_params to the parameter class
linear predictor: we don't want to just have scalar parameters, but defining linear, or even nonlinear predictors for the parameter (similar to expectation mu in GLM, and two parameters in beta regression, ZIP, ...)
partially going into the direction of R's GAMLSS and of mlefit at the same time
some of it would just be outsourcing the transform_params that are currently used.
For single parameter models it will be overkill, i.e. unnecessary complexity.
special usecase: How can we get a GenericLikelihoodModel extension where we just have to specify which scipy.stats distribution we want?
(aside in many cases a reparameterization is frequently used)
Activity
josef-pkt commentedon Oct 2, 2015
special usecase: How can we get a GenericLikelihoodModel extension where we just have to specify which scipy.stats distribution we want?
(aside in many cases a reparameterization is frequently used)