[R] Problems with boot.ci function to obtain confidence intervals

From: Alfonso Pérez <rfonsilei_at_hotmail.com>
Date: Wed, 02 Apr 2008 19:36:52 +0200

    Hello, my name is Alfonso. I've applied the boot function to my data and I've obtained a collection of new datasets to witch apply a function that produce as a final measure the fish length in a concrete moment of its life. In my function there is a factor, the cohort to witch the fish belong. At this way, what bootstrap produce is a matrix with so column as cohort (factor) and so rows as samples have been asked to bootstrap.     Now I want to obtain a confidence interval of 95%. I'm trying it with the boot.ci function. I'v introduced the next sentence:

            boot.ci(boo,conf=0.95,type="basic")

    Where boo is the name of my bootstrap resample, but R through the following message

            Error in if (const(t, min(1e-08, mean(t)/1e+06))) { : 
          missing value where TRUE/FALSE needed

    I've thougth that maybe the problem could be the index argument, but I've not able to understand what this argument means, and what way the information required should be introduced.

    Thank you in advance, any help will be wellcome.



MSN Noticias

        [[alternative HTML version deleted]]



R-help_at_r-project.org 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. Received on Wed 02 Apr 2008 - 17:46:54 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 02 Apr 2008 - 18:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive