Performs bootstrap resampling on numpy arrays.
Bootstrap resampling is used to understand confidence intervals of sample estimates. This function returns versions of the dataset resampled with replacement (“case bootstrapping”). These can all be run through a function or statistic to produce a distribution of values which can then be used to find the confidence intervals.
Parameters: | data : numpy.ndarray
bootnum : int
samples : int
bootfunc : function
|
---|---|
Returns: | boot : numpy.ndarray
|