T-test one sample
Test that the mean of a sample is equal to a given value
Calculate the T-test for the mean of ONE group of scores
This is a test for the null hypothesis that the expected value (mean) of a sample of independent observations a is equal to the given population mean, popmean.
- Input: a table containing the sample measurements, with the name of the samples.
- Output: a table listing the correlation coefficient, and its associated p-value for each pairwise comparison testing.
- Config Parameters:
preselected_column_names: List of columns to pre-select for pairwise comparisons. By default a maximum pre-defined number of columns are selected (see configuration).
expected_value: This value is compared against all the other columns means.
method: The correction method for p-value adjustment in multiple testing.
alpha: The FWER, family-wise error rate. Default is 0.05.
alternative_hypothesis: The alternative hypothesis chosen for the testing (
Let's say you have the following table.
This task performs comparisons of almost all the columns mean of the table agains an
500 columns are pre-selected by default).
expected_value will be compared with the means of
For more details, see https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_1samp.html
The names of column to pre-select for comparison. By default, the first 500 columns are used
The name of the column(s) to pre-select
Set True if it is a text pattern (regular expression), False otherwise
The expected value in null hypothesis
The alternative hypothesis chosen for the testing.
Adjust p-values for multiple tests
The method used to adjust (correct) p-values
FWER, family-wise error rate