Construct Simultaneous Confidence Bands (SCB) for Dense Functional Data
SCB_dense(
A,
mean_A = NULL,
alpha = 0.05,
Mboots = NULL,
method = "t",
weights = "rademacher",
SCB = TRUE
)If SCB = TRUE, returns a list containing:
Estimated mean function for the group of interest.
Standard errors of the estimated means.
Lower bound of the simultaneous confidence band.
Upper bound of the simultaneous confidence band.
A character description of the output type.
If SCB = FALSE, returns:
The alpha quantile estimated by Multiplier Bootstrap
A data array of dimension \((D_1, D_2, \ldots, D_N)\), where N is the number of repetition/subjects. There should be no NA in A.
Optional array of same shape as A[,,1], representing the estimated mean of the data.
Significance level for SCB. Default is 0.05.
Number of bootstrap replications. Default is 5000.
Method for SD estimation: "t" or "regular". Default is "t".
Multiplier type: "rademacher", "gaussian", or "mammen". Default is "rademacher"."
Logical value for whether to calculate the SCB or not. Default is TRUE.