Skip to content

Commit

Permalink
Fixed bootstrap IRFs
Browse files Browse the repository at this point in the history
  • Loading branch information
matdehaven committed Oct 9, 2023
1 parent 4328662 commit 7ac9dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/bootstrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ bootstrap <- function(

irf_df <- data.frame(
h = rep(1:n_ahead, each = k * k),
impulse = rep(shock_names, times = k * n_ahead),
response = rep(variable_names, each = k, times = n_ahead),
impulse = rep(shock_names, each = k, times = n_ahead),
response = rep(variable_names, times = k * n_ahead),
mean = c(irf_mean),
median = c(irf_median),
lower = c(irf_lower),
Expand Down

0 comments on commit 7ac9dd2

Please sign in to comment.