# OneSampleTTestResult

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

## Extends

* [`TTestResult`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/)

## 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

[`TTestResult`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/).[`pValue`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/#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

[`TTestResult`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/).[`alternative`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/#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.

#### Inherited from

[`TTestResult`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/).[`statistic`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/#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.

#### Inherited from

[`TTestResult`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/).[`degreesOfFreedom`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/#degreesoffreedom)

***

### 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)

#### Inherited from

[`TTestResult`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/).[`method`](/reference/knotkit/hypothesis-test/interfaces/ttestresult/#method)
