When estimating models economics, conceptually they can be can be thought of as a mapping f from a set of parameters p to some outcome that is a real number, eg a log likelihood or a moment distance.
However, technically f may involve
-
A mapping from a vector of real numbers
cthat is mapped top, so that one can use an unconstrained or constrained generic optimizer or MCMC algorithm. -
Solving for some implicit quantity
y, eg equlibrium prices, that satisfies an equationg(y, p). This is usually costly and involves a numerical rootfinder.
This is a lightweight interface package that helps dealing with these situations. Please read the manual for details.
The package is still experimental. Interface changes will respect SemVer, but that's all.