Hello,
I need to define a variable X_t given by
X_t = 0 if A_t < B_t,
and
X_t = A_t - B_t otherwise.
Is there a way of doing this in Dynare?
Many thanks,
Sébastien
X_t=max(0,A_t-B_t)
Users browsing this forum: No registered users and 4 guests