View source: R/perform_hypothesis_test.R
argmin.HT.nonsplit | R Documentation |
Test if a dimension may be argmin without any splitting.
argmin.HT.nonsplit(
difference.matrix,
lambda,
sample.mean = NULL,
alpha = 0.05,
scale.input = TRUE
)
difference.matrix |
A n by (p-1) difference data matrix (reference dimension - the rest); each of its row is a (p-1)-dimensional vector of differences. |
lambda |
The real-valued tuning parameter for exponential weightings (the calculation of softmin). |
sample.mean |
The sample mean of differences; defaults to NULL. It can be calculated via colMeans(difference.matrix). |
alpha |
The significance level of the hypothesis test; defaults to 0.05. |
scale.input |
A boolean variable specifying whether the input difference matrix should be standardized defaults to TRUE |
This method is not recommended, given its poor performance when p is small.
A list containing:
test.stat.scale | The scaled test statistic |
. critical.value | The critical value for the hypothesis test. Being greater than it leads to a rejection. |
std | The standard deviation estimate. |
ans | 'Reject' or 'Accept' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.