Graph-Based Two-Sample Tests
A matrix representing counts in the distinct values for the two sample...
A matrix representing counts in the distinct values for the two sample...
A matrix representing counts in the distinct values for the two sample...
Depth-first search
A distance matrix on the distinct values
A distance matrix on the distinct values
A distance matrix on the distinct values
An edge matrix representing a similarity graph
An edge matrix representing a similarity graph
An edge matrix representing a similarity graph
Graph-based two-sample tests
Graph-based two-sample tests for discrete data
Get distance between two components
Construct similarity graph
Get intermediate results for g.tests_discrete function
Get intermediate results for g.tests function
Get intermediate results for g.tests_discrete function
Graph-Based Two-Sample Tests
Construct similarity graph by 1-NNL
Get components by nearest neighbor link algorithm
Construct similarity graph by k-NNL
Generate a permutation for two discrete data groups
Four graph-based tests are provided for testing whether two samples are from the same distribution. It works for both continuous data and discrete data.