File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sm1 = SampleModel("arsenic_logistic", model_str)
2121
2222data1 = (p = m, N = n, y = Int .(y), x = x)
2323# Fit the model in Stan
24- rc1 = stan_sample (sm1; data= data1)
24+ rc1 = stan_sample (sm1, false ; data= data1)
2525if success (rc1)
2626 nt1 = read_samples (sm1, :namedtuple )
2727
@@ -50,7 +50,7 @@ x2 = Float64[log.(data["arsenic"]) data["dist"]]
5050# Model
5151data2 = (p = m, N = n, y = Int .(y), x = x2)
5252# Fit the model in Stan
53- rc2 = stan_sample (sm1; data= data2)
53+ rc2 = stan_sample (sm1, false ; data= data2)
5454
5555if 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; data= standatacv)
97+ rc3 = stan_sample (sm3, false ; data= standatacv)
9898 if success (rc3)
9999 nt3 = read_samples (sm3, :namedtuple )
100100 # Compute LOO and standard error
You can’t perform that action at this time.
0 commit comments