Research Workbench

Empirical energy distance

Compare empirical distributions using pairwise absolute distances.

Your entries stay in this page’s memory and are not submitted to us. Downloads are generated locally. Reloading or leaving the page clears your entries. Do not enter patient information.

Follow the labeled row format. Use synthetic values only. All calculations stay in your browser; no uploads. Finite magnitudes up to 1e9 and at least 1e-12, or zero.

The starting values are hypothetical. Results update as you edit. Use aggregate or synthetic inputs only.

Calculation results

Energy distance
1
Squared distance
1
Cross average
1.5
Within A average
1
Within B average
1

How to interpret the output

Equal-weight empirical energy distance using all ordered within-sample pairs including self-pairs. Reports square root of 2*cross-withinA-withinB. No energy test, p-value or unbiased correction. Distance scales with square root of measurement units. Source checked 21 November 2026.

Method reference

Read the worked guide and interpretation examples →