Summarizing local polynomial fits
summary
method for class “npregress
”.
## S3 method for class 'npregress' summary(object, criteria="call", ...)
object |
Object of class |
criteria |
Character string which gives the criteria evaluated for the model. The criteria available are GCV (default, |
... |
Further arguments passed to or from other methods. |
The function summary.npregress
computes and returns a list of summary
statistics of the local polynomial smoother given in object
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.