Calculates the Gaussian BMB critical value based on the max-test statistic, where the maximum is taken over Chatterjee's correlation coefficients.
Source:R/BMB.cv.r
BMB.cv.Rd
This function returns the bootstrap critical value of the statistic $$T^B=\max_{1\le j\le p}\frac{1}{\sqrt{mq}}\sum_{k=1}^{m} \hat{A}_{j,k} \cdot \varepsilon_{k}$$ based on \(B\) block multiplier bootstrap samples.
Arguments
- dat
Data frame. There are two elements in the data frame, X and Y, where X is a random variable and Y corresponds with the \(Y_j\) in the individual hypothesis \(Y_j \perp X\).
- q
Numeric. The block size.
- B
Numeric. The number of bootstrap samples.
- alpha
Numeric. The significance level.
- type
Character. This argument specifies whether and how the test statistic and the bootstrap statistic are studentized. Options are "bmb" (no studentization), "bmb1" (default option), and "bmb2" (alternative studentization). The types are formally described in Olivares, Olma, and Wilhelm (2025).
- seed
Numeric. The seed for the random number generator. If
NULL
, the seed is not set. If a positive integer, it sets the seed for reproducibility.