You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function bootstrap_irf.pvargmm fails when parameter typeof_irf is c("OIRF"). In bootstrap_irf.pvargmm function, the parallelized treatement to generate the OIRFs returns nothing as the second if statement is evaluated at the end.
The patch is
if (typeof_irf== c("OIRF")){
return(oirf(model=pvar_zwischen, n.ahead=n.ahead))
}
Instead of
if (typeof_irf== c("OIRF")){
oirf(model=pvar_zwischen, n.ahead=n.ahead)
}
The text was updated successfully, but these errors were encountered:
gfrisch
changed the title
bootstrap_irf.pvargmm error when typeof_irf = c("OIRF")
bootstrap_irf.pvargmm fails when typeof_irf = c("OIRF")
Dec 9, 2022
panelvar/R/helper_functions.R
Line 220 in 33a986e
Hello,
The function
bootstrap_irf.pvargmm
fails when parametertypeof_irf
isc("OIRF")
. Inbootstrap_irf.pvargmm
function, the parallelized treatement to generate the OIRFs returns nothing as the second if statement is evaluated at the end.The patch is
Instead of
The text was updated successfully, but these errors were encountered: