Learn R Programming

ibr (version 1.3.1)

summary.npregression: Summarizing local polynomial fits

Description

summary method for class npregression.

Usage

## S3 method for class 'npregression':
summary(object,  criteria="call", \dots)

Arguments

Value

The function summary.npregression computes and returns a list of summary statistics of the local polynomial smoother given in object

References

Wand, M. P. and Jones, M. C. (1995). Kernel Smoothing. Chapman and Hall, London.

See Also

npregression, summary.npregression

Examples

Run this code
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 <- npregression(x,y,bandwidth=0.02)
summary(res)

Run the code above in your browser using DataLab