@@ -45,8 +45,8 @@ println("StratMetropolisDist:")
4545# Test that results match expectation, within some tolerance
4646@test mdl. Age isa Vector{Float64}
4747@test mdl. Age ≈ [66.07 , 66.06 , 66.05 , 66.03 , 66.02 , 66.01 , 65.99 , 65.98 , 65.97 , 65.96 , 65.94 , 65.94 , 65.93 , 65.93 , 65.89 ] atol= 0.1
48- @test mdl. Age_025CI ≈ [66.04 , 66.0 , 65.98 , 65.96 , 65.95 , 65.94 , 65.94 , 65.93 , 65.93 , 65.92 , 65.92 , 65.91 , 65.9 , 65.89 , 65.82 ] atol= 0.15
49- @test mdl. Age_975CI ≈ [66.1 , 66.09 , 66.09 , 66.08 , 66.08 , 66.07 , 66.06 , 66.05 , 66.03 , 66.01 , 65.97 , 65.97 , 65.96 , 65.96 , 65.95 ] atol= 0.15
48+ @test mdl. Age_025CI ≈ [66.04 , 66.0 , 65.98 , 65.96 , 65.95 , 65.94 , 65.94 , 65.93 , 65.93 , 65.92 , 65.92 , 65.91 , 65.9 , 65.89 , 65.82 ] atol= 0.3
49+ @test mdl. Age_975CI ≈ [66.1 , 66.09 , 66.09 , 66.08 , 66.08 , 66.07 , 66.06 , 66.05 , 66.03 , 66.01 , 65.97 , 65.97 , 65.96 , 65.96 , 65.95 ] atol= 0.3
5050# Test that all age-depth models are in stratigraphic order
5151@test all ([issorted (x, rev= true ) for x in eachcol (agedist)])
5252@test all (! isnan, agedist)
@@ -66,8 +66,8 @@ println("StratMetropolisDist with systematic uncertainties:")
6666# Test that results match expectation, within some tolerance
6767@test mdl. Age isa Vector{Float64}
6868@test mdl. Age ≈ [66.07 , 66.06 , 66.05 , 66.03 , 66.02 , 66.01 , 65.99 , 65.98 , 65.97 , 65.95 , 65.94 , 65.94 , 65.93 , 65.93 , 65.89 ] atol= 0.1
69- @test mdl. Age_025CI ≈ [66.04 , 66.0 , 65.98 , 65.96 , 65.95 , 65.94 , 65.93 , 65.93 , 65.92 , 65.92 , 65.92 , 65.91 , 65.9 , 65.88 , 65.82 ] atol= 0.15
70- @test mdl. Age_975CI ≈ [66.1 , 66.09 , 66.09 , 66.08 , 66.08 , 66.07 , 66.06 , 66.05 , 66.03 , 66.01 , 65.97 , 65.97 , 65.96 , 65.96 , 65.95 ] atol= 0.15
69+ @test mdl. Age_025CI ≈ [66.04 , 66.0 , 65.98 , 65.96 , 65.95 , 65.94 , 65.93 , 65.93 , 65.92 , 65.92 , 65.92 , 65.91 , 65.9 , 65.88 , 65.82 ] atol= 0.3
70+ @test mdl. Age_975CI ≈ [66.1 , 66.09 , 66.09 , 66.08 , 66.08 , 66.07 , 66.06 , 66.05 , 66.03 , 66.01 , 65.97 , 65.97 , 65.96 , 65.96 , 65.95 ] atol= 0.3
7171# Test that all age-depth models are in stratigraphic order
7272@test all ([issorted (x, rev= true ) for x in eachcol (agedist)])
7373@test all (! isnan, agedist)
@@ -90,8 +90,8 @@ println("StratMetropolisDist with hiata:")
9090# Test that results match expectation, within some tolerance
9191@test mdl. Age isa Vector{Float64}
9292@test mdl. Age ≈ [66.08 , 66.08 , 66.07 , 66.07 , 66.07 , 66.02 , 66.02 , 66.01 , 66.01 , 65.94 , 65.94 , 65.93 , 65.93 , 65.92 , 65.89 ] atol= 0.1
93- @test mdl. Age_025CI ≈ [66.06 , 66.05 , 66.04 , 66.03 , 66.02 , 65.94 , 65.94 , 65.94 , 65.93 , 65.91 , 65.91 , 65.9 , 65.89 , 65.88 , 65.82 ] atol= 0.15
94- @test mdl. Age_975CI ≈ [66.11 , 66.1 , 66.1 , 66.1 , 66.1 , 66.08 , 66.08 , 66.08 , 66.08 , 65.98 , 65.96 , 65.96 , 65.96 , 65.96 , 65.95 ] atol= 0.15
93+ @test mdl. Age_025CI ≈ [66.06 , 66.05 , 66.04 , 66.03 , 66.02 , 65.94 , 65.94 , 65.94 , 65.93 , 65.91 , 65.91 , 65.9 , 65.89 , 65.88 , 65.82 ] atol= 0.3
94+ @test mdl. Age_975CI ≈ [66.11 , 66.1 , 66.1 , 66.1 , 66.1 , 66.08 , 66.08 , 66.08 , 66.08 , 65.98 , 65.96 , 65.96 , 65.96 , 65.96 , 65.95 ] atol= 0.3
9595# Test that all age-depth models are in stratigraphic order
9696@test all ([issorted (x, rev= true ) for x in eachcol (agedist)])
9797@test all (! isnan, agedist)
@@ -114,8 +114,8 @@ println("StratMetropolisDist with fitted Gaussians:")
114114@time (mdl, agedist, lldist) = StratMetropolisDist (smpl, config)
115115@test mdl. Age isa Vector{Float64}
116116@test mdl. Age ≈ [65.99 , 65.98 , 65.97 , 65.96 , 65.96 , 65.95 , 65.94 , 65.93 , 65.92 , 65.91 , 65.91 , 65.9 , 65.88 , 65.86 , 65.84 ] atol= 0.1
117- @test mdl. Age_025CI ≈ [65.87 , 65.86 , 65.86 , 65.85 , 65.85 , 65.84 , 65.84 , 65.83 , 65.83 , 65.83 , 65.82 , 65.8 , 65.75 , 65.73 , 65.7 ] atol= 0.15
118- @test mdl. Age_975CI ≈ [66.09 , 66.09 , 66.08 , 66.08 , 66.08 , 66.07 , 66.06 , 66.05 , 66.04 , 66.02 , 66.0 , 65.99 , 65.98 , 65.97 , 65.96 ] atol= 0.15
117+ @test mdl. Age_025CI ≈ [65.87 , 65.86 , 65.86 , 65.85 , 65.85 , 65.84 , 65.84 , 65.83 , 65.83 , 65.83 , 65.82 , 65.8 , 65.75 , 65.73 , 65.7 ] atol= 0.3
118+ @test mdl. Age_975CI ≈ [66.09 , 66.09 , 66.08 , 66.08 , 66.08 , 66.07 , 66.06 , 66.05 , 66.04 , 66.02 , 66.0 , 65.99 , 65.98 , 65.97 , 65.96 ] atol= 0.3
119119# Test that all age-depth models are in stratigraphic order
120120@test all ([issorted (x, rev= true ) for x in eachcol (agedist)])
121121@test all (! isnan, agedist)
0 commit comments