Displaying 1 result from an estimated 1 matches for "bushb".
Did you mean:
bush
2007 Jul 08
0
boot.ci
Dear boot.ers,
I ran a small program for training purposes and ended with problems in
boot.ci
bush <- c(rep(1, 840), rep(0, 660))
> f.mean <- function(y, id) {mean(y[id])}
> bushB <- boot(bush, f.mean, 1000)
> boot.ci(bushB, conf = 0.95, type = c('perc', 'bca'))
Error in bca.ci(boot.out, conf, index[1], L = L, t = t.o, t0 = t0.o, h =
h, :
estimated adjustment 'a' is NA
>
What's wrong in my setup? boot appears to work OK
Sincerly Fred...