powered by
print method for class “summary.npregress”.
print
summary.npregress
# S3 method for summary.npregress print(x,digits = max(3, getOption("digits") - 3), ...)
The function print.summary.npregress prints a list of summary statistics of the fitted iterative bias reduction model given in x.
print.summary.npregress
x
Object of class npregress.
npregress
Rounds the values in its first argument to the specified number of significant digits.
Further arguments passed to or from other methods.
Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.
Wand, M. P. and Jones, M. C. (1995). Kernel Smoothing. Chapman and Hall, London.
f <- function(x){sin(5*pi*x)} n <- 100 x <- runif(n) z <- f(x) sigma2 <- 0.05*var(z) erreur <- rnorm(n,0,sqrt(sigma2)) y <- z+erreur res <- npregress(x,y,bandwidth=0.02) summary(res)
Run the code above in your browser using DataLab