compute_test_stat
- oasis_stat.compute_test_stat(X, c, f, asymptotic=False)[source]
Computes the OASIS test statistic.
- Parameters:
X (numpy.ndarray) – The input count matrix, IxJ.
c (numpy.ndarray) – The column embedding vector, J-dimensional.
f (numpy.ndarray) – The row embedding vector, I-dimensional.
asymptotic (bool, optional) – Whether to return the test statistic for the asymptotic p-value. Default is False (finite sample p-value).
- Returns:
The OASIS test statistic.
- Return type:
float
Description
This function computes the test statistic for the OASIS test.