Skip to content

Commit 1530caa

Browse files
committed
Rel 1.3.1 - StatsFuns 1.0
1 parent 3eb68ab commit 1530caa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ParetoSmoothedImportanceSampling"
22
uuid = "98f080ec-61e2-11eb-1c7b-31ea1097256f"
33
authors = ["@alvaro1101, Rob J Goedman <goedman@icloud.com>"]
4-
version = "1.3.1"
4+
version = "1.3.2"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
@@ -22,6 +22,6 @@ DataFrames = "1.3"
2222
Distributions = "0.25"
2323
JSON = "0.21"
2424
StanSample = "6"
25-
StatsFuns = "0.9"
25+
StatsFuns = "0.9, 1.0"
2626
StatsPlots = "0.14"
2727
julia = "1"

test/test_demo_wells.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sm1 = SampleModel("arsenic_logistic", model_str)
2121

2222
data1 = (p = m, N = n, y = Int.(y), x = x)
2323
# Fit the model in Stan
24-
rc1 = stan_sample(sm1, false; data=data1)
24+
rc1 = stan_sample(sm1; use_json=false, data=data1)
2525
if success(rc1)
2626
nt1 = read_samples(sm1, :namedtuple)
2727

@@ -50,7 +50,7 @@ x2 = Float64[log.(data["arsenic"]) data["dist"]]
5050
# Model
5151
data2 = (p = m, N = n, y = Int.(y), x = x2)
5252
# Fit the model in Stan
53-
rc2 = stan_sample(sm1, false; data=data2)
53+
rc2 = stan_sample(sm1; use_json=false, data=data2)
5454

5555
if success(rc2)
5656
nt2 = read_samples(sm1, :namedtuple)
@@ -94,7 +94,7 @@ for cvi in 1:3
9494
xt = x[cvitst[cvi],:], yt = Int.(y[cvitst[cvi]]))
9595

9696
# Fit the model in Stan
97-
rc3 = stan_sample(sm3, false; data=standatacv)
97+
rc3 = stan_sample(sm3; use_json=false, data=standatacv)
9898
if success(rc3)
9999
nt3 = read_samples(sm3, :namedtuple)
100100
# Compute LOO and standard error

0 commit comments

Comments
 (0)