# MannWhitneyUTestResult

Defined in: [packages/hypothesis-test/src/mann-whitney-u-test.ts:18](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/mann-whitney-u-test.ts#L18)

## 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/mann-whitney-u-test.ts:20](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/mann-whitney-u-test.ts#L20)

The U statistic of `first`: the number of pairs where `first` exceeds `second`, counting ties as one half.

#### Overrides

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

***

### secondStatistic

> `readonly` **secondStatistic**: `number`

Defined in: [packages/hypothesis-test/src/mann-whitney-u-test.ts:22](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/hypothesis-test/src/mann-whitney-u-test.ts#L22)

The U statistic of `second`, which is `first.length * second.length - statistic`.
