Skip to content

Commit

Permalink
Rel 1.3.1 - StatsFuns 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Apr 30, 2022
1 parent 3eb68ab commit 1530caa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ParetoSmoothedImportanceSampling"
uuid = "98f080ec-61e2-11eb-1c7b-31ea1097256f"
authors = ["@alvaro1101, Rob J Goedman <[email protected]>"]
version = "1.3.1"
version = "1.3.2"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand All @@ -22,6 +22,6 @@ DataFrames = "1.3"
Distributions = "0.25"
JSON = "0.21"
StanSample = "6"
StatsFuns = "0.9"
StatsFuns = "0.9, 1.0"
StatsPlots = "0.14"
julia = "1"
6 changes: 3 additions & 3 deletions test/test_demo_wells.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sm1 = SampleModel("arsenic_logistic", model_str)

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

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

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

# Fit the model in Stan
rc3 = stan_sample(sm3, false; data=standatacv)
rc3 = stan_sample(sm3; use_json=false, data=standatacv)
if success(rc3)
nt3 = read_samples(sm3, :namedtuple)
# Compute LOO and standard error
Expand Down

0 comments on commit 1530caa

Please sign in to comment.