TTestOptions
TTestOptions =
object
Defined in: t-test.ts:10
How the samples relate, and what the p-value is measured against.
Properties
Section titled “Properties”alternative?
Section titled “alternative?”
optionalalternative?:TTestAlternative
Defined in: t-test.ts:29
Defaults to "two-sided".
paired?
Section titled “paired?”
optionalpaired?:boolean
Defined in: t-test.ts:16
Treat the two samples as matched by index and test their differences. Ignored when the second argument is a hypothesised mean rather than a sample.
pooled?
Section titled “pooled?”
optionalpooled?:boolean
Defined in: t-test.ts:26
Pool the two variances into one (Student’s original form) instead of letting them differ (Welch’s).
Defaults to false, and should usually stay there: pooling is only valid
when the variances really are equal, and Welch’s form costs almost nothing
when they are.