Displaying 1 result from an estimated 1 matches for "cimiss".
Did you mean:
imiss
2003 Oct 08
0
Bootstrap Question
...though this experiment was done using a normal distribution, my real datasets would be non-normal of an unknown distribution.
Thanks for any help,
Art Nuzzo
Motorola
***************************************************************************************
library(bootstrap)
CImiss = function(M, lower, upper) {lower > M || upper < M }
CIr = function(lower, upper) {upper - lower}
C = c(); B = c() # CI Range
Ccov = 0; Bcov = 0 # Number of Ci Misses
cnt = 1000; # reps
x = rnorm(10000) # create population
m = mean(x)
for (i in 1:cnt) {
s = sample(x,10,replace=...