Skip to content

Commit 926d949

Browse files
committed
Rel 1.4.0 - Dropping R file input to cmdstan
1 parent 1530caa commit 926d949

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Project.toml

Lines changed: 3 additions & 3 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.2"
4+
version = "1.4.0"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
@@ -21,7 +21,7 @@ CSV = "0.10"
2121
DataFrames = "1.3"
2222
Distributions = "0.25"
2323
JSON = "0.21"
24-
StanSample = "6"
25-
StatsFuns = "0.9, 1.0"
24+
StanSample = "6, 7"
25+
StatsFuns = "0.8, 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; use_json=false, data=data1)
24+
rc1 = stan_sample(sm1; 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; use_json=false, data=data2)
53+
rc2 = stan_sample(sm1; 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; use_json=false, data=standatacv)
97+
rc3 = stan_sample(sm3; data=standatacv)
9898
if success(rc3)
9999
nt3 = read_samples(sm3, :namedtuple)
100100
# Compute LOO and standard error

0 commit comments

Comments
 (0)