Closed pneuvial closed 2 years ago
Currently the functions get_permuted_p_values and get_permuted_p_values_one_sample perform a loop on the permutation/sign flips.
get_permuted_p_values
get_permuted_p_values_one_sample
This operation can be vectorized for classical tests, as done in R: https://github.com/pneuvial/sanssouci/blob/develop/R/rowZTests.R
This should first be done for one-sample tests.
Decision: we won't implement this because this leads to storing matrices of size m x B, which is a bad idea if m = 400,000 and B = 10,000
Currently the functions
get_permuted_p_values
andget_permuted_p_values_one_sample
perform a loop on the permutation/sign flips.This operation can be vectorized for classical tests, as done in R: https://github.com/pneuvial/sanssouci/blob/develop/R/rowZTests.R
This should first be done for one-sample tests.