max( ) fails in the stochastic environment?
Posted: Sat Feb 14, 2015 10:59 pm
I defined a variable in dynare, as x= max(1, y) since this variable cannot be beyond 1, say a probability.
Unfortunately, dynare returned me with such a warning,
"WARNING: you are using a function (max, min, abs, sign) or an operator (<, >, <=, >=, ==, !=) which is unsuitable for a stochastic context; see the reference manual, section about "Expressions", for more details. ".
I didn't find the solution in the reference manual. My question is how to limit the domain of a variable in dynare in a stochastic context?
Unfortunately, dynare returned me with such a warning,
"WARNING: you are using a function (max, min, abs, sign) or an operator (<, >, <=, >=, ==, !=) which is unsuitable for a stochastic context; see the reference manual, section about "Expressions", for more details. ".
I didn't find the solution in the reference manual. My question is how to limit the domain of a variable in dynare in a stochastic context?