Displaying 2 results from an estimated 2 matches for "bhattacharryya".
Did you mean:
bhattacharyya
2010 Apr 21
1
Cross-checking a custom function for separability indices
...r example,
# two samples
sample.1 <- c (1362, 1411, 1457, 1735, 1621, 1621, 1791, 1863, 1863, 1838)
sample.2 <- c (1354, 1458, 1458, 1458, 1550, 1145, 1428, 1573, 1573, 1657)
# running the custom function (below)
separability.measures ( sample.1 , sample.2 )
Divergence: 1.5658
Bhattacharryya: 0.1683
Jeffries-Matusita: 0.3098
Transformed divergence: 0.3555
Thanks in advance, Nikos
# --- Code -------------------------------------------------------------------
# Custom function for various Separability Measures
# by Nikos Alexandris, Freiburg, 8.04.2010
# ( based on...
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...sample.1 <- c (1362, 1411, 1457, 1735, 1621, 1621, 1791, 1863, 1863, 1838)
> sample.2 <- c (1354, 1458, 1458, 1458, 1550, 1145, 1428, 1573, 1573, 1657)
> # running the custom function (below)
> separability.measures ( sample.1 , sample.2 )
> Divergence: 1.5658
> Bhattacharryya: 0.1683
> Jeffries-Matusita: 0.3098
> Transformed divergence: 0.3555
after correction the results are:
Divergence: 1.5658
Transformed divergence: 0.3555
Bhattacharryya: 0.1805
Jeffries-Matusita: 0.3302
---
[*] Custom functions for separability meas...