dieterich-lab / ASyH

The Anonymous Synthesizer for Health Data
MIT License
3 stars 0 forks source link

Statistical similarity - Chi-squared and Kolmogorov-Smirnov Tests #1

Closed garrgravarr closed 1 year ago

garrgravarr commented 1 year ago

Compare p-values of tests on input vs synthetic data.

garrgravarr commented 1 year ago

commit 24868683b7b31439654ff9b77e92853e3e4b99d8

Added subdirectory metrics.

Added file univariate_statistics.py

Functions

ToDo: calculate a single score from all variable's comparison values. This could be proportional to the maximum norm.

garrgravarr commented 1 year ago

The infrastructure is there for custom metrics to be averaged to one score, so in principle this is done.

The default scoring in in the ASyH.Application pipeline is done with the SDMetrics' QualityScore, though.