MB_: Multiplier Bootstrap for Simultaneous Confidence Band Threshold
Description
Internal function used to compute the threshold value for constructing simultaneous confidence bands via multiplier bootstrap.
Usage
MB_(x, y, R, N = 1000)
Value
A numeric vector of length N, containing the maximum standardized deviation across all spatial locations for each bootstrap sample.
These can be used to compute the (1 - alpha) quantile as the SCB threshold.
Arguments
x
A numeric vector of x-coordinates.
y
A numeric vector of y-coordinates.
R
A 3D array of standardized residuals with dimensions [length(x), length(y), n], where n is the sample size.
N
An integer specifying the number of bootstrap samples. Default is 1000.