From 9a3bba93022603ecada3c18b012ab29e73a55609 Mon Sep 17 00:00:00 2001 From: thorek1 Date: Wed, 20 Nov 2024 21:41:45 +0100 Subject: [PATCH] fix docs on conditional forecast --- src/get_functions.jl | 2 +- src/plotting.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/get_functions.jl b/src/get_functions.jl index e34ca952..4e892e8d 100644 --- a/src/get_functions.jl +++ b/src/get_functions.jl @@ -479,7 +479,7 @@ end # c is conditioned to deviate by 0.01 in period 1 and y is conditioned to deviate by 0.02 in period 3 conditions = KeyedArray(Matrix{Union{Nothing,Float64}}(undef,2,2),Variables = [:c,:y], Periods = 1:2) conditions[1,1] = .01 -conditions[2,2] = .02 +conditions[2,3] = .02 # in period 2 second shock (eps_z) is conditioned to take a value of 0.05 shocks = Matrix{Union{Nothing,Float64}}(undef,2,1) diff --git a/src/plotting.jl b/src/plotting.jl index a405ab94..ba9bb034 100644 --- a/src/plotting.jl +++ b/src/plotting.jl @@ -1416,7 +1416,7 @@ end # c is conditioned to deviate by 0.01 in period 1 and y is conditioned to deviate by 0.02 in period 3 conditions = KeyedArray(Matrix{Union{Nothing,Float64}}(undef,2,2),Variables = [:c,:y], Periods = 1:2) conditions[1,1] = .01 -conditions[2,2] = .02 +conditions[2,3] = .02 # in period 2 second shock (eps_z) is conditioned to take a value of 0.05 shocks = Matrix{Union{Nothing,Float64}}(undef,2,1)