confint.cumres {gof}R Documentation

Returns prediction bands for 'cumres' object

Description

confint returns prediction bands for the cumulative residual process under the null.

Usage

## S3 method for class 'cumres':
confint (object, parm=1, level=0.95, cval=NULL, ...)

Arguments

object Object produced by the function cumres
parm vector of numbers indicating which processes from the x to calculate prediction bands for.
level The required prediction level.
cval Overrules the level-parameter by calculating symmetric prediction bands defined by the standard error multiplied by cval.
... Additional arguments.

Value

list with the following members:

t Ordered values of variable that is used to cumulate residuals after
yu Upper simultaneous confidence limit.

Author(s)

Klaus K. Holst <kkho@biostat.ku.dk>

See Also

cumres

Examples

n <- 500; x <- abs(rnorm(n,sd=0.2))+0.01; y <- sqrt(x) + rnorm(n,sd=0.2)
l <- lm(y ~ x)
g <- cumres(l, R=1000)
confint(g,1)

[Package gof version 0.6-2 Index]