Added the possibility to declare non linear prior restrictions over estimated parameters.
If a file <MOD_FILE_NAME>_prior_restrictions.m exists in current folder, the value returned by this routine is substracted to fval (likelihood-lnprior) at the end of dsge_likelihood. The arguments of this routine are: M_, oo_, options_, dataset_ and dataset_info. Routines for writing <MOD_FILE_NAME>_prior_restrictions.m will be provided later.
Showing with 16 additions and 0 deletions