summary.cve {CVE}R Documentation

Prints a summary of a cve result.

Description

Prints a summary statistics of output L from cve for k = min.dim, ..., max.dim.

Usage

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

Arguments

object

an object of class "cve", usually, a result of a call to cve or cve.call.

...

ignored.

Examples

# create B for simulation
B <- rep(1, 5) / sqrt(5)

set.seed(21)
#creat predictor data x ~ N(0, I_p)
x <- matrix(rnorm(500), 100)

# simulate response variable
#    y = f(B'x) + err
# with f(x1) = x1 and err ~ N(0, 0.25^2)
y <- x %*% B + 0.25 * rnorm(100)

# calculate cve for unknown k between min.dim and max.dim.
cve.obj.simple <- cve(y ~ x)

summary(cve.obj.simple)


[Package CVE version 0.2 Index]