2.6. Setting up calibration and priors outside the model file

Outside the model file, fixed parameters and priors are separated.

Fixed parameters can be given in a cell array

params={
        'rho',0.6
        'beta',0.998
        ...
        'kappa', 161
        }

Or as a structure

params=struct();
params.rho=0.6;
params.beta=0.998;
...
params.kappa=161;

Then the parameterization can be pushed into a model object as

m=set(m,'parameters',params);

Priors for Bayesian (and MLE) estimation are given as a structure. See the section on prior distributions.