confint.GeDS: Confidence Intervals for GeDS Models Coefficients

View source: R/S3methods.R

confint.GeDSR Documentation

Confidence Intervals for GeDS Models Coefficients

Description

Method for confint.default to compute confidence intervals for the coefficients of a fitted GeDS model stored in a "GeDS", "GeDSgam" or "GeDSboost" class object.

Usage

## S3 method for class 'GeDS'
confint(object, parm, level = 0.95, n = 3L, ...)

## S3 method for class 'GeDSgam'
confint(object, parm, level = 0.95, n = 3L, ...)

## S3 method for class 'GeDSboost'
confint(object, parm, level = 0.95, n = 3L, ...)

Arguments

object

The "GeDS"/"GeDSgam"/"GeDSboost" class object from which the confidence intervals for the selected order n should be extracted.

parm

A specification of which parameters are to be given confidence intervals, either a vector of numbers or names; defaults to all parameters.

level

The confidence level required (default is 0.95).

n

Integer value (2, 3 or 4) specifying the order (= degree + 1) of the "GeDS", "GeDSgam" or "GeDSboost" fit for which to compute confidence intervals. By default equal to 3L; non-integer values will be passed to the function as.integer.

...

Additional arguments passed to confint.default.

Value

A matrix with columns giving lower and upper confidence limits for each spline coefficient of the selected GeDS model (by default 2.5% and 97.5%).

See Also

confint.default, NGeDS, GGeDS, NGeDSgam, NGeDSboost


GeDS documentation built on June 30, 2025, 9:07 a.m.