Hi and thanks for your replies (I'm sorry to be a bit late..),
I think I might be being a bit thick on this, but I truly would not be
asking if I had not already gone through the manuals and examples in the
web. I just want to be sure I got Jorge's example.
the function is a generic functio
On Sep 22, 2010, at 12:24 PM, alfredo wrote:
Hi There,
Just a question regarding the function that is specified to boot (I
have
read the help, the manual and online examples.). The
description of
boot says that the second argument of "statistic" (non parametric
bootstrap)
must
Hi Alfredo,
Short answer is no. As en example, consider the following:
# example
require(boot)
x <- c(4, 4, 4, 3, 2, 4, 4, 3, 6, 2)
res <- boot(x, function(v, index) mean(v[index]), R = 1000)
res
str(res)
More information can be found under ?boot (after loaging the boot package)
as well a
Hi There,
Just a question regarding the function that is specified to boot (I have
read the help, the manual and online examples.). The description of
boot says that the second argument of "statistic" (non parametric bootstrap)
must be a vector of indices, frequencies or weights which def
4 matches
Mail list logo