cox_regression.tests.script_schoenfeld_residuals module¶
Tests for the Schoenfeld residuals. Called by test_schoenfeld_residuals.py to test with multiple parties.
- async cox_regression.tests.script_schoenfeld_residuals.main(secint=<class 'mpyc.sectypes.SecInt32'>, secfxp=<class 'mpyc.sectypes.SecFxp32:16'>)[source]¶
- Main loop of the test case. The Schoenfeld residuals are calculated in the MPC protocol, then compared to the known precomputed correct values. - Parameters:
- secint ( - type[- SecureInteger]) – The type used for secure integers
- secfxp ( - type[- SecureFixedPoint]) – The type used for secure fixed point numbers
 
- Return type:
- None