# Interface ComparisonResult

Result of a two-sample comparison test.

interface ComparisonResult {
pValue: number;
significant: boolean;
alpha: number;
difference: number;
differenceCI: ConfidenceInterval;
effectSize: number;
n1: number;
n2: number;
}

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:32

##### Index

### Properties

pValue
significant
alpha
difference
differenceCI
effectSize
n1
n2

## Properties

### `Readonly` pValue

pValue: number

P-value from the test

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:34

### `Readonly` significant

significant: boolean

Whether result is significant at alpha level

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:36

### `Readonly` alpha

alpha: number

Alpha level used for significance

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:38

### `Readonly` difference

difference: number

Difference in success rates (group1 - group2)

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:40

### `Readonly` differenceCI

differenceCI: ConfidenceInterval

Confidence interval for the difference

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:42

### `Readonly` effectSize

effectSize: number

Effect size (Cohen's h for proportions)

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:44

### `Readonly` n1

n1: number

Sample sizes

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:46

### `Readonly` n2

n2: number

- Defined in packages/nexus-agents/src/learning/validation-stats-types.ts:47