Re: [R] bootstrap resampling question

2011-03-02 Thread Giovanni Petris
self have purpose? Or do we, what's the word... imbue it." > - Jubal Early, Firefly > > r-help-boun...@r-project.org wrote on 03/01/2011 09:37:31 AM: > > > [image removed] > > > > Re: [R] bootstrap resampling question > > > > Giovanni Petris

Re: [R] bootstrap resampling question

2011-03-01 Thread Jonathan P Daily
4) 724-4480 "Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it." - Jubal Early, Firefly r-help-boun...@r-project.org wrote on 03/01/2011 09:37:31 AM: > [image removed] > > Re: [R] bootstrap r

Re: [R] bootstrap resampling question

2011-03-01 Thread Giovanni Petris
A simple way of sampling with replacement from 1:20, with the additional constraint that each number can be selected at most five times is > sample(rep(1:20, 5), 20) HTH, Giovanni On Tue, 2011-03-01 at 11:30 +0100, Bodnar Laszlo EB_HU wrote: > Hello there, > > I have a problem concerning bootst

Re: [R] bootstrap resampling question

2011-03-01 Thread Greg Snow
ilto:r-help-bounces@r- > project.org] On Behalf Of Bodnar Laszlo EB_HU > Sent: Tuesday, March 01, 2011 3:31 AM > To: 'r-help@r-project.org' > Subject: [R] bootstrap resampling question > > Hello there, > > > > I have a problem concerning bootstrapping in R

[R] bootstrap resampling question

2011-03-01 Thread Bodnar Laszlo EB_HU
Hello there, I have a problem concerning bootstrapping in R - especially focusing on the resampling part of it. I try to sum it up in a simplified way so that I would not confuse anybody. I have a small database consisting of 20 observations (basically numbers from 1 to 20, I mean: 1, 2, 3, 4,