Re: [R] sample size in bootstrap(boot)

From: Nordlund, Dan (DSHS/RDA) <>
Date: Wed, 26 Mar 2008 08:26:22 -0700

> -----Original Message-----
> From:
> [] On Behalf Of Zaihra T
> Sent: Wednesday, March 26, 2008 7:57 AM
> To: Jan T. Kim;
> Subject: [R] sample size in bootstrap(boot)
> Hi,
> Can someone tell me how to control sample size (n) in
> bootstrap function
> boot in R. Can we give some option like we give for #
> of repeated
> samples(R=say 100).
> Will appreciate any help.
> thanks

I don't believe so. Isn't one of the differences between the bootstrap and other kinds of resampling that the bootstrap samples with replacement a sample of the same size as the original data? You could use the function sample() to select your subsets and compute your statistics of interest.

Hope this is helpful,


Daniel J. Nordlund
Research and Data Analysis
Washington State Department of Social and Health Services Olympia, WA 98504-5204 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 26 Mar 2008 - 19:01:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 26 Mar 2008 - 19:30:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive