Mass-univariate bootstrap-based inference for contrasts in a linear model
Source:R/bootstrapCalibration.R
row_lm_test.Rd
Compute the marginal null t-statistics for a set of contrasts and their (two-sided) p-value by bootstrapping the residuals
Arguments
- Y
A data matrix of size $n$ observations (in row) and $D$ features in columns
- X
A design matrix of size $n$ observations (in row) and $p$ variables (in columns)
- C
A contrast matrix of size $L$ tested contrasts (in row) and $p$ columns corresponding to the parameters to be tested
- alternative
A character string specifying the alternative hypothesis. Must be one of "two.sided" (default), "greater" or "less".
- groups
A numeric matrix of \(n\) rows and \(B\) columns values in \(1, ..., n\), the indicator of the sample used in the test.