# TTestResult

Defined in: [packages/hypothesis-test/src/t-test-result.ts:3](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/t-test-result.ts#L3)

## Extends

* [`AlternativeHypothesisTestResult`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/)

## Extended by

* [`OneSampleTTestResult`](/reference/knotkit/hypothesis-test/interfaces/onesamplettestresult/)
* [`PairedTTestResult`](/reference/knotkit/hypothesis-test/interfaces/pairedttestresult/)
* [`TwoSampleTTestResult`](/reference/knotkit/hypothesis-test/interfaces/twosamplettestresult/)
* [`WelchTTestResult`](/reference/knotkit/hypothesis-test/interfaces/welchttestresult/)

## Properties

### pValue

> `readonly` **pValue**: [`Probability`](/reference/knotkit/distribution/type-aliases/probability/)

Defined in: [packages/hypothesis-test/src/hypothesis-test-result.ts:23](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/hypothesis-test-result.ts#L23)

Null probability of a result at least as extreme as the observed one.

#### Inherited from

[`AlternativeHypothesisTestResult`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/).[`pValue`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/#pvalue)

***

### alternative

> `readonly` **alternative**: `"two-sided"` | `"less"` | `"greater"`

Defined in: [packages/hypothesis-test/src/hypothesis-test-result.ts:29](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/hypothesis-test-result.ts#L29)

The alternative hypothesis used to order outcomes.

#### Inherited from

[`AlternativeHypothesisTestResult`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/).[`alternative`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/#alternative)

***

### statistic

> `readonly` **statistic**: `number`

Defined in: [packages/hypothesis-test/src/t-test-result.ts:5](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/t-test-result.ts#L5)

Student’s t statistic. Positive when the sample mean, or first mean, exceeds the reference.

#### Overrides

[`AlternativeHypothesisTestResult`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/).[`statistic`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/#statistic)

***

### degreesOfFreedom

> `readonly` **degreesOfFreedom**: `number`

Defined in: [packages/hypothesis-test/src/t-test-result.ts:7](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/t-test-result.ts#L7)

Degrees of freedom of the null t distribution. Welch’s test reports a fractional value.

***

### method

> `readonly` **method**: `"exact"`

Defined in: [packages/hypothesis-test/src/t-test-result.ts:8](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/t-test-result.ts#L8)

#### Overrides

[`AlternativeHypothesisTestResult`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/).[`method`](/reference/knotkit/hypothesis-test/interfaces/alternativehypothesistestresult/#method)
