Skip to content

Commit

Permalink
fix in test pbar
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabrugnolini committed Nov 25, 2018
1 parent 7a727bf commit 766a3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Expand Up @@ -130,7 +130,7 @@ CIl,CIh = CI.CIl, CI.CIh
@test isapprox(CIh,(irfl + 1.96*stdl),atol = 0.1)

#-----------Test LP lag-length selecion procedure----------------
const pbar # max order of lag to test
const pbar = 12 # max order of lag to test

#-----------Select lag-length with AIC, BIC, AICC, HQC-----------
mlplag = (lp_lagorder(y,pbar,H,ic) for ic in ["aic","bic","aicc","hqc"]) |> λ -> hcat(collect(λ)...)
Expand Down

0 comments on commit 766a3b7

Please sign in to comment.