Skip to content

Commit

Permalink
Test MinCV1se and MinCVmse with StableRNG
Browse files Browse the repository at this point in the history
  • Loading branch information
Am386DX-40 authored and AsafManela committed Oct 6, 2024
1 parent 0531189 commit 0fed8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/segselect.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ datapath = joinpath(dirname(@__FILE__), "data")
@testset "$f" for (f,intercept) in ((@formula(y~x1+x2+x3), true), (@formula(y~0+x1+x2+x3), false))
path = fit(R, f, data, dist, link; intercept=intercept, offset=offset)

@testset "$(typeof(select))" for select in [MinAIC(), MinAICc(), MinBIC(), MinCVmse(path), MinCV1se(path)]
@testset "$(typeof(select))" for select in [MinAIC(), MinAICc(), MinBIC(), MinCVmse(path), MinCV1se(path), MinCVmse(path; rng = StableRNG(421)), MinCV1se(path; rng = StableRNG(421))]
Random.seed!(421)
m = fit(L, f, data, dist, link; select=select, intercept=intercept, offset=offset)

Expand Down

0 comments on commit 0fed8fb

Please sign in to comment.