confidence_band: Confidence Bands of Smooth Terms

View source: R/utils.R

confidence_bandR Documentation

Confidence Bands of Smooth Terms

Description

confidence_band computes the lower and upper limits of smooth terms fitted with intensity_pspline.

Usage

confidence_band(theta, V, X, q = 0.05, R = 1000)

Arguments

theta

The estimated coefficients which corresponds to the smooth term.

V

The covariance matrix of the estimated coefficients theta.

X

The design matrix of the model which corresponds to the smooth term.

q

The quantile. Default to q = 0.05 which corresponds to 95% confidence bands.

R

The number of replications in the simulation process.

Value

A list of two vectors which contain the lower and the upper limits of the confidence band.


geonet documentation built on July 11, 2022, 9:08 a.m.