Skip to content

Commit 5181f80

Browse files
committed
Relaxed significance in atol_for_chain
1 parent 7b79743 commit 5181f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_utils.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ function to_dict(c::MCMCChains.ChainDataFrame, col::Symbol)
1616
end
1717

1818
"""
19-
atol_for_chain(chain; significance=1e-3, kind=Statistics.mean)
19+
atol_for_chain(chain; significance=1e-2, kind=Statistics.mean)
2020
2121
Return a dictionary of absolute tolerances for each parameter in `chain`, computed
2222
as the confidence interval width for the mean of the parameter with `significance`.
2323
"""
24-
function atol_for_chain(chain; significance=1e-3, kind=Statistics.mean)
24+
function atol_for_chain(chain; significance=1e-2, kind=Statistics.mean)
2525
param_names = names(chain, :parameters)
2626
# Can reject H0 if, say, `abs(mean(chain2) - mean(chain1)) > confidence_width`.
2727
# Or alternatively, compare means but with `atol` set to the `confidence_width`.

0 commit comments

Comments
 (0)