Displaying 1 result from an estimated 1 matches for "getaywhere".
Did you mean:
getanywhere
2009 Mar 31
1
Selecting Bootstrap Statistics in the boot package
Dear all,
Let's say I have the following:
# Loading the boot package
# install.packages(boot)
library(boot)
# Generating data
set.seed(123)
x <- rnorm(100)
# Bootstrap for the sample mean
bmean <- boot(x, function(x,d) mean(x[d]), R=1000)
bmean
#
#ORDINARY NONPARAMETRIC BOOTSTRAP
#
#
#Call:
#boot(data = x, statistic = function(x, d) mean(x[d]), R = 1000)
#
#
#Bootstrap Statistics :
#