mean_embed_distance

hyppo.ksample.mean_embedding.mean_embed_distance(difference, num_randfeatures)

Calculates the Mean Embedding 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 mean embedding statistic.