cox_regression.tests.test_statistics module

Test suite for testing the consistency of the statistics function.

async cox_regression.tests.test_statistics.test_statistics(http_pool_trio)[source]

Run the Cox regression with the Rotterdam example. Tests the implementation against the CoxPHFitter in the lifelines package.

Parameters:

http_pool_trio (tuple[Pool, Pool, Pool]) – communication pool fixture for 3 parties

Return type:

None