Skip to content

Commit

Permalink
Fix typo in simulation of indices of stay-at-home shock.
Browse files Browse the repository at this point in the history
  • Loading branch information
drarnau committed May 31, 2023
1 parent 7b46c29 commit 356d1b0
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
Binary file modified figures/mvsd_employed_Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/mvsd_employed_White.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/mvsd_hours_Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/mvsd_hours_White.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/mvsdcf_employed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/mvsdcf_wage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/montecarlo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ function simulateindices(

return reduce(
hcat,
simulate_indices.(Ref(MC), fill(nagents, t₀ + nperiods))
)[:, (t₀+1):end]
simulate_indices.(Ref(MC), fill(t₀ + nperiods, nagents))
)'[:, (t₀+1):end]
end

"""
Expand Down
Binary file modified tables/counterfactuals.pdf
Binary file not shown.
10 changes: 5 additions & 5 deletions tables/counterfactuals.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
\cline{6-7}
& & Emp. Rate & Hours & Wage & Employed & All \\
\hline
Benchmark gap & & 0.149 & 0.014 & 0.354 & 0.365 & 0.457 \\
Benchmark gap & & 0.149 & 0.014 & 0.355 & 0.365 & 0.458 \\
\vspace{-0.2cm} \\
\rowgroup{\textit{Experiments}} \\
Utility home ($\kappa_0$, $\kappa_1$, $\kappa_2$, and $\eta$) & & 0.141 & 0.015 & 0.35 & 0.361 & 0.446 \\
Utility home ($\kappa_0$, $\kappa_1$, $\kappa_2$, and $\eta$) & & 0.142 & 0.015 & 0.35 & 0.361 & 0.446 \\
Utility employed ($\psi$ and $\gamma$) & & 0.087 & -0.005 & 0.334 & 0.332 & 0.391 \\
Utilities home \& employed & & 0.083 & -0.004 & 0.331 & 0.33 & 0.382 \\
Utilities home \& employed & & 0.083 & -0.004 & 0.331 & 0.33 & 0.383 \\
\vspace{-0.2cm} \\
Distribution $(a,h_0)$ & & 0.079 & 0.021 & 0.056 & 0.075 & 0.153 \\
Distrib.\ $(a,h_0)$ - constant labor supply & & 0.149 & 0.014 & 0.093 & 0.107 & 0.25 \\
Distribution $(a,h_0)$ & & 0.08 & 0.021 & 0.057 & 0.076 & 0.153 \\
Distrib.\ $(a,h_0)$ - constant labor supply & & 0.149 & 0.014 & 0.094 & 0.107 & 0.251 \\
\vspace{-0.2cm} \\
Distribution \& utility home & & 0.046 & 0.021 & 0.033 & 0.052 & 0.092 \\
Distribution \& utility employed & & 0.026 & 0.0 & 0.019 & 0.019 & 0.051 \\
Expand Down

0 comments on commit 356d1b0

Please sign in to comment.