fixed error in formula of annualized steady state

(cherry picked from commit 696800b277dadd164244771ccfce8e39f1146472)
time-shift
Marco Ratto 2019-01-15 15:37:01 +01:00
parent 6e033a800b
commit aeceafbec2
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ switch type
end
% annual growth rate
gyass = GYTREND0*4;
% gyass = GYTREND0*4; % this is for log diff
gyass = exp(4*GYTREND0)-1; % this is for exact growth rate definition
gya = (ya+yass)./(lagged(ya,1)+yass).*exp(4*GYTREND0)-1-gyass;
if islog