confint.cumres {gof} | R Documentation |
confint
returns prediction bands for the cumulative residual
process under the null.
## S3 method for class 'cumres': confint (object, parm=1, level=0.95, cval=NULL, ...)
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. |
list with the following members:
t |
Ordered values of variable that is used to cumulate residuals after |
yu |
Upper simultaneous confidence limit. |
Klaus K. Holst <kkho@biostat.ku.dk>
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)