Chi2fit.Statistics.bootstrap
You're seeing just the function
bootstrap
, go back to Chi2fit.Statistics module for more information.
Specs
bootstrap( total :: integer(), data :: [number()], fun :: ([number()], integer() -> number()), options :: Keyword.t() ) :: [any()]
Implements bootstrapping procedure as resampling with replacement.
It supports saving intermediate results to a file using :dets
. Use the options :safe
and :filename
(see below)
Arguments:
`total` - Total number resamplings to perform
`data` - The sample data
`fun` - The function to evaluate
`options` - A keyword list of options, see below.
Options
`:safe` - Whether to safe intermediate results to a file, so as to support continuation when it is interrupted.
Valid values are `:safe` and `:cont`.
`:filename` - The filename to use for storing intermediate results