[R-sig-eco] Average Regression and the bootstrap

Dixon, Philip M [STAT] pdixon at iastate.edu
Tue Aug 30 14:00:44 CEST 2011


Johannes,

You are doing what many folks call the parametric bootstrap.  The bootstrap that resamples the data is the non-parametric bootstrap.   Often it is easier to code by hand, as you have done.  If you want access to all the helper functions for the bootstrap, you can use boot() in the boot library and specify sim='parametric'.  The details of your random uniform distribution go in the function specified in the ran.gen= argument.  Once you've generated the bootstrap samples (parametric or nonparametric), there is no difference in subsequent processing.

Best wishes,
Philip Dixon



More information about the R-sig-ecology mailing list