The function fits a loess curve and then calculates a symmetric nonparametric
bootstrap with a confidence region. Fitted curves are evaluated at a fixed number
of equally-spaced x values, regardless of the number of x values in the data. Some
replicates do not include the values at the lower and upper end of the range of x
values. If the number of such replicates is too large, it becomes impossible to
construct a confidence region that includes a fraction "confidence" of the bootstrap
replicates. In such cases, the left and/or right portion of the confidence region
is truncated.
References
Cleveland, WS, (1979) Robust Locally Weighted Regression and Smoothing Plots Journal
of the American Statistical Association 74:829-836
Efron, B., and R. Tibshirani (1993) An Introduction to the Bootstrap Chapman and
Hall, New York
Hardle, W., (1989) Applied Nonparametric Regression Cambridge University Press, NY.
Tibshirani, R. (1988) Variance stabilization and the bootstrap.
Biometrika 75(3):433-44.