# TwoSampleKolmogorovSmirnovTestResult

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

## Extends

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

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

***

### method

> `readonly` **method**: [`HypothesisTestMethod`](/reference/knotkit/hypothesis-test/type-aliases/hypothesistestmethod/)

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

#### Inherited from

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

***

### 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/two-sample-kolmogorov-smirnov-test.ts:9](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/two-sample-kolmogorov-smirnov-test.ts#L9)

Maximum distance between the two empirical CDFs in the selected direction.

#### Overrides

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