Displaying 1 result from an estimated 1 matches for "siswr".
Did you mean:
iswr
2010 Jun 26
1
boot with strata: strata argument ignored?
Hello All. I must be missing the really obvious here:
mm <- function(d, i) median(d[i])
b1 <- boot(gravity$g, mm, R = 1000)
b1
b2 <- boot(gravity$g, mm, R = 1000, strata = gravity$series)
b2
Both b1 and b2 seem to have done (almost) the same thing, but it looks like
the strata argument in b2 has been ignored. However, str(b1) vs str(b2)
does show that the strata have been noted