You need to sample pairs rather than sampling individually within Xvar
and Yvar. You also generally sample with replacement. If you sample
without replacement for the length of the data, then you just get the
same set.
On Apr 21, 2009, at 3:54 AM, skayis selcuk wrote:
David Winsemius,
(Sorry for multiple posting. Seems to be my msg is not distributed in my
previous emails)
Dear R users,
I need to do sampling without replacement (bootstraps). I have two variables
(Xvar, Yvar).
I have a correlation from original data set cor(Xvar, Yvar)=0.6174221. I am
doing 5 samplin
2 matches
Mail list logo