model — declares the model equations
The equations of the model are written in a block delimited by model; and end;.
There must be as many equations as there are endogenous variables in the model, except when used to compute the unconstrained optimal policy with olr. The lead and lag of the variables are written in parenthesis immediately after the variable name. Leads or lags of more than one period are allowed. All the functions available in Matlab, Scilab or Gauss, respectively, are recognized. Each equation must be terminated by a semicolon (;).
When the equations are written in homogenous form, it is possible to omit the "= 0" part and write only the left hand side of the equation.
The option linear declares the model as being linear. It avoids to have to declare initial values for computing the steady state and it sets automatically order=1 in stoch_simul.
model; c = - k + aa*x*k(-1)^alph + (1-delt)*k(-1); c^(-gam) = (aa*alph*x(+1)*k^(alph-1) + 1 - delt)*c(+1)^(-gam)/(1+bet); end;