Block recursive prior definitions
Recursive specification of priors seem to be currently allowed, e.g.
a1 0.2,1E-5,1, BETA_PDF,0.5,0.1;
a2 0.5,1E-5,1, a1 BETA_PDF,0.85,0.1;
where the upper bound for a2
is actually set based on the value a1
has in the parameter initialization section (and never updates it during estimation based on new values of a1
). But the user clearly intends to make the prior conditional, which Dynare does not allow. We should block this kind of behavior in the preprocessor, because the actual behavior is unexpected.
Sidenote: would it be sensible to allow for conditional priors at some point in the future?