# Interface ExperimentResult

A/B test experiment result.

interface ExperimentResult {
experimentId: string;
control: VariantResultSummary;
treatment: VariantResultSummary;
comparison: ComparisonResult;
relativeImprovement: number;
hasMinimumSampleSize: boolean;
recommendedSampleSize: number;
}

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

##### Index

### Properties

experimentId
control
treatment
comparison
relativeImprovement
hasMinimumSampleSize
recommendedSampleSize

## Properties

### `Readonly` experimentId

experimentId: string

Experiment identifier

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

### `Readonly` control

control: VariantResultSummary

Control group statistics

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

### `Readonly` treatment

treatment: VariantResultSummary

Treatment group statistics

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

### `Readonly` comparison

comparison: ComparisonResult

Comparison between groups

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

### `Readonly` relativeImprovement

relativeImprovement: number

Relative improvement (treatment vs control)

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

### `Readonly` hasMinimumSampleSize

hasMinimumSampleSize: boolean

Whether experiment has enough data for valid conclusions

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

### `Readonly` recommendedSampleSize

recommendedSampleSize: number

Minimum recommended sample size per group

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