Please assist me. In the package "boot" is a term called "statistic". what is the r syntax for the mean? is it, given that the name will be AV: AV <- function (d,x){mean(x*w)} Thanks. Mitchell Wachtel