Description
Code review to look for errors, mismatched filenames, labels in wrong order, using the wrong experiments, etc.
-
convert_frequentist_output.jl
: Converts the output from the frequentist experiments into a format that can be used by the plotting scripts. -
convert_dynare_output.jl
: Converts the output from the dynare experiments into a format that can be used by the plotting scripts consistent with the Julia chains. -
baseline_figures.jl
: Generates all figures except for the RBC robustness examples -
rbc_robustness_figures.jl
: Generates the RBC robustness figures -
baseline_tables.py
: Generates all tables except for the RBC frequentist tables -
rbc_frequentist_tables.py
: Generates the RBC frequentist tables -
Go through all figures to make sure we don't have major regressions in quality
-
The original code used
rbc2_joint_200_long
in a few places. For example https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/baseline_figures.jl#L205-L207 and https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/baseline_figures.jl#L217- Go through and make sure you like when/where it uses the long one. I don't really care, so just change the referenced experiments if you prefer
-
Check SGU pseudotrues between julia and dynare: https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/baseline_figures.jl#L255
-
James said that he thought something might have an error reordering at some point in the dynare vs. the julia code. Not sure if this is true or not, but created Verify SGU sampling of the last 4 parameters #167 to review the ideas. The density plots look bad, but it might be because the sampling si bad (or that it starts at a particular initial condition away from the pseudotrue, or that thepriors are wrong, etc.).
-
In https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/rbc_robustness_figures.jl review the pseudos and the
yrange
andxrange
for display. Mess around with labels/figures/captions to your hearts content. -
In hhttps://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/baseline_tables.py#L83-L84 make sure the number of particles is up to date. Otherwise everything should come from metadata
-
Verify psuedos/etc. in https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/baseline_tables.py#L71-L74
-
Change the footnotes as you see fit in https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/baseline_tables.py#L77-L84
-
https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/rbc_frequentist_tables.py just verify thecode, look for errors, etc.
-
You will see that in the paper itself I added in the inferred shcoks of the SGU and the RBC SV. Remove those if you don't like them.
-
The new stuff with
T=500
is in theScaling with Sample Length
appendix. Check if correct then move around as you see fit. If you want other results, we can add them, but I think this proves the point on how performance scales with N. -
Similarly, there is only a subset of new material in the RBC with Stochastic Volatility section, so add things in as you see fit.
-
Figure 11 and 12 were moved to the appendix, as discussed. Feel free to change anything on those figures (e.g. https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/scripts/generate_paper_results/rbc_robustness_figures.jl can zoom in, change tittles, resize, etc.