!links
Define dynamic links
Syntax
!links
ParameterName := Expression;
VariableName := Expression;
Syntax with equation labels
!links
'Equation label' ParameterName := Expression;
'Equation label' VariableName := Expression;
Description
The dynamic links relate a particular parameter (or steady-state value)
on the LHS to a function of other parameters or steady-state values on
the RHS. Expression can be any expression involving parameter names,
variables names, Matlab functions and constants, or your own m-file
functions on the path; it must not refer to any lags or leads.
Expression must evaluate to a single number. It is the user's
responsibility to properly handle the imaginary (i.e. growth) part of the
steady-state values.
The links are automatically refreshed in solve,
sstate, and chksstate functions,
and also in each iteration within the estimate
function. They can also be refreshed manually by calling
refresh.
The links must not involve parameters occuring in
!dtrends equations that will be estimated using
the 'outoflik=' option of the estimate function.
Example
!links
R := 1/beta;
alphak := 1 - alphan - alpham;