6.3.12.1.1. statsmodels.sandbox.distributions.sppatch.distfitbootstrap

statsmodels.sandbox.distributions.sppatch.distfitbootstrap(sample, distr, nrepl=100)[source]

run bootstrap for estimation of distribution parameters

hard coded: only one shape parameter is allowed and estimated,
loc=0 and scale=1 are fixed in the estimation
Parameters:

sample : array

original sample data for bootstrap

distr : distribution instance with fit_fr method

nrepl : integer

number of bootstrap replications

Returns:

res : array (nrepl,)

parameter estimates for all bootstrap replications