Description Usage Arguments Details Value Examples
The constructor function is based on t-test, that evaluates the NUll hypothesis H0. H0 (The Null Hypothesis) claims that two populations have the same mean.
1 |
x |
vector of sample data from population 1 |
y |
vector of sample data from population 2 |
paired |
TRUE or FALSE, paired = FALSE by default The samples are paired = TRUE, if each experimental unit is measured twice. In that case the first experiments creates sample x, and the second experiment creates sample y. The two-sided t-test is used for paired sapmles. The test returns an error if the samples have different size. |
alpha |
alpha level is always between 0,1, which determines the confidence interval for the P-value. |
x and y have underlying normal distribution.
The test return a list containing the data, and t test object.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.