summary.eBsc {eBsc}R Documentation

eBsc Summary

Description

Takes an eBsc object produced by eBsc and summarizes the information of the errors.

Usage

## S3 method for class 'eBsc'
summary(object,...)

Arguments

object

eBsc object.

...

further arguments to be passed to summary().

Value

The function gives basic statistics of the error from applying eBsc.

Author(s)

Francisco Rosales, Paulo Serra, Tatyana Krivobokova

References

Serra, P. and Krivobokova, T. (2015)
Adaptive Empirical Bayesian Smoothing Splines

See Also

plot.eBsc (package eBsc),

Examples

# simulated data	
library(eBsc)
n <- 250
sigma <- 0.05

Basis <- list()
for(i in 1:6){Basis[[i]] <- drbasis(nn = n, qq = i)}
coef3 <- c(rep(0,3),(pi*(2:(n-2)))^(-3.1)) * (cos(2*(1:n)))
A3 <- Basis[[3]]$eigenvectors
mu <- - A3%*%coef3 
mu <- (mu - min(mu))/(max(mu) - min(mu))
noise <- rnorm(n)
y <- mu + sigma * noise

# correlation matrix assumed known and equal to the identity
fit <- eBsc(y, method = "N", q=3)

summary(fit)

[Package eBsc version 4.17 Index]