Jensen–Shannon composition distance
Compare aligned categorical compositions using a bounded distance.
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
- Divergence in bits
- 1
- Jensen–Shannon distance
- 1
- Total A
- 1
- Total B
- 1
How to interpret the output
Normalizes both vectors separately; base-two logarithms. Reports divergence in bits and its square root distance, both in [0,1]. Category order must match. Zero totals and negative entries rejected. No inference or sample-size adjustment. Source checked 19 November 2026.
Method reference