Dear All,

I tried to use the boot function, provided in the boot package, in such a
simple task as to create a bootstrap distribution of the mean of a vector x.
I wrote:

b <- boot(x, mean, R=200)

Well, it doesn't work. I suspect it has something to do with what is called
"second argument" of the "statistic" in the help page of boot. What is the
second argument of mean? I don't understand. The whole description in the
documentation about this "second argument" is somewaht cryptic and
confusing.

Will someone please help me?

Sincerely,

J. Marques de Sá

[EMAIL PROTECTED]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to