From 0d0e9b3e16f862ced0996cff3c131b2f9fdc2dca Mon Sep 17 00:00:00 2001 From: David Childers Date: Fri, 2 Jun 2023 19:34:24 -0400 Subject: [PATCH] Fix in convert_dynare_output.jl Misnamed variable. --- scripts/generate_paper_results/convert_dynare_output.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_paper_results/convert_dynare_output.jl b/scripts/generate_paper_results/convert_dynare_output.jl index e364b1d..7ec0949 100644 --- a/scripts/generate_paper_results/convert_dynare_output.jl +++ b/scripts/generate_paper_results/convert_dynare_output.jl @@ -62,7 +62,7 @@ function convert_dynare_output(logdir, vars; mh_drop, save_jls=false, save_last_ end # cumulative averages - for (i, var) in enumerate(include_vars) + for (i, var) in enumerate(vars) values = chain[var] cum_average = MCMCChains.cummean(values) writedlm(