View source: R/perform_hypothesis_test.R
argmin.HT.MT | R Documentation |
Test if a dimension may be argmin, using multiple testing with Bonferroni's correction.
argmin.HT.MT(difference.matrix, sample.mean = NULL, test = "z", alpha = 0.05)
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. |
sample.mean |
The sample mean of differences; defaults to NULL. It can be calculated via colMeans(difference.matrix). |
test |
The test to perform: 't' or 'z'; defaults to 'z'. If the data are assumed normally distributed, use 't'; otherwise 'z'. |
alpha |
The significance level of the hypothesis test; defaults to 0.05. |
A list containing:
p.val | p value without Bonferroni's correction. |
. critical.value | The critical value for the hypothesis test. Being less than it leads to a rejection. |
ans | 'Reject' or 'Accept' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.