Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Gaussian Bhattacharyya Overlap

Calculate a normal-model overlap coefficient based on means and variances.

Statistics workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaCoefficient = sqrt(2*s1*s2/(s1**2+s2**2))*exp(-((m1-m2)**2)/(4*(s1**2+s2**2))); Distance = 0.5*log((s1**2+s2**2)/(2*s1*s2))+(m1-m2)**2/(4*(s1**2+s2**2))
Sources and model references

Made for real tasks

  • Calculate a normal-model overlap coefficient based on means and variances.
Explore step-by-step workflows →

Worked example

Inputs

First mean
0 number
First standard deviation
1 number
Second mean
1 number
Second standard deviation
2 number

Expected results

Coefficient
0.8508054622 number
Distance
0.1615717757 number

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter first mean, first standard deviation, second mean, second standard deviation.
  2. Use the displayed units and confirm the model assumptions.
  3. Calculate and compare the outputs against your input scenario.

Try this example

{
  "m1": 0,
  "s1": 1,
  "m2": 1,
  "s2": 2
}

Accuracy and scope

Bhattacharyya coefficient is not the area under the minimum of two density curves.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.