smooth_cf_distance

hyppo.ksample.smoothCF.smooth_cf_distance(difference)

Calculates the Smooth CF test statistic using the vector of differences.

Parameters
  • difference (ndarray of float) -- The vector of differences which indicates distance between mean embeddings.

  • num_randfeatures (int) -- The number of test frequencies

Returns

stat (float) -- The computed smooth CF statistic.