t_test
Student’s t-test p-value.
Syntax
Section titled “Syntax”v = t_test(array1, array2, tails, type)Description
Section titled “Description”Returns the p-value for a t-test. tails: 1 (one-tailed) or 2 (two-tailed). type: 1 (paired), 2 (two-sample equal variance), 3 (two-sample unequal variance / Welch).
Example
Section titled “Example”t_test([1 2 3 4], [3 4 5 6], 2, 2)