argmin.HT.MT: Perform argmin hypothesis test.

View source: R/perform_hypothesis_test.R

argmin.HT.MTR Documentation

Perform argmin hypothesis test.

Description

Test if a dimension may be argmin, using multiple testing with Bonferroni's correction.

Usage

argmin.HT.MT(difference.matrix, sample.mean = NULL, test = "z", alpha = 0.05)

Arguments

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.

Value

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'

argminCS documentation built on Aug. 8, 2025, 7:51 p.m.