code: def ks(p, q, *_):
      # KS-test only properly defined for (ordered) 1D interval variables
      ks_testscore = ks_test(p, q)
      ks_pvalue = ks_prob(ks_testscore)
      ks_zscore = -stats.norm.ppf(ks_pvalue)
      return ks_testscore, ks_pvalue, ks_zscore
  
file_path: popmon/popmon/analysis/comparison/comparisons.py
imports: import numpy
  from scipy import stats
  from popmon.base.registry import Registry
label_desc: Use image node_id 7 for calling a global function with example usage: ks(p, q) and returns: ks_testscore,  ks_pvalue,  ks_zscore