steve-the-bayesian / BOOM

A C++ library for Bayesian modeling, mainly through Markov chain Monte Carlo, but with a few other methods supported. BOOM = "Bayesian Object Oriented Modeling". It is also the sound your computer makes when it crashes.
GNU Lesser General Public License v2.1
36 stars 15 forks source link

Distinguish between state space models with and without "sigma" parameters. #32

Open steve-the-bayesian opened 5 years ago

steve-the-bayesian commented 5 years ago

Some model families leave "sigma" implicit. This has implications for some state models which want to use the "sigma" parameter from the host model.

The solution is to separate the AddState method in the state model factories into two parts. AddStateToSigmaParameterModel and AddState. The first checks for individual methods that need "sigma" and defaults to the second if not found.