var

c l k w r iv y

;

parameters

ALPHA

BETA

DELTA

b

;

% parameters caliberation

ALPHA = 0.35;

BETA = 0.99;

DELTA = 0.025;

b = 1;

model;

c (+1) / c = BETA * (1+ r (+1) - DELTA (+1));

1-l = (c/w) * b;

r = ALPHA * (y/k);

w = (1-ALPHA) * (y/l);

y = iv + c;

iv = k (+1) - (1-DELTA) * k;

y = k^ALPHA * l^(1-ALPHA);

end

;

forecast;

**error: matrix cannot be indexed with .**

error: called from

dyn_forecast at line 79 column 16

driver at line 168 column 21

dynare at line 281 column 5

What is the issue? Please help!