Bootstrap pointwise confidence intervals for the coefficient functions in functional linear models.
FLMCI(Y, X, level = 0.95, R = 999, optnsListY = NULL, optnsListX = NULL)
A list containing the following fields:
CI for the intercept function --- A data frame holding three variables:
CI_grid
--- the time grid where the CIs are evaluated,
CI_lower
and CI_upper
--- the lower and upper bounds of the CIs
for the intercept function on CIgrid
.
A list containing CIs for the slope functions --- the length of
the list is the same as the number of covariates. Each list contains the following fields:
A data frame holding three variables: CI_grid
--- the time grid where the CIs are evaluated,
CI_lower
and CI_upper
--- the lower and upper bounds of the CIs
for the coefficient function on CIgrid
for \(j = 1,2,\dots\).
The confidence level of the CIs.
Either an n-dimensional vector whose elements consist of scalar responses, or a list which contains functional responses in the form of a list LY and the time points LT at which they are observed (i.e., list(Ly = LY,Lt = LT)
).
A list of lists which contains the observed functional predictors list Lxj and the time points list Ltj at which they are observed. It needs to be of the form list(list(Ly = Lx1,Lt = Lxt1),list(Ly = Lx2,Lt = Lxt2),...)
.
A number taking values in [0,1] determining the confidence level. Default: 0.95.
An integer holding the number of bootstrap replicates. Default: 999.
A list of options control parameters for the response specified by list(name=value)
. See 'Details' in FPCA.
A list of options control parameters for the predictors specified by list(name=value)
. See 'Details' in FPCA.
If measurement error is assumed, the diagonal elements of the raw covariance will be removed. This could result in highly unstable estimate
if the design is very sparse, or strong seasonality presents.
WARNING! For very sparse functional data, setting measurementError=TRUE
is not recommended.