Link Search Menu Expand Document

Hypothesis Testing

To test the hypothesis that the values in x come from a distribution with mean(x) is zero:

t_test(x);

To test the hypothesis that the values in x and y have the same mean:

t_test(x,y);

For a paired test:

t_test_paired(x,y);

To get a confidence interval for these tests:

t_test_interval(x);
t_test_interval(x,y);