captest.CapTest.captest_results
- CapTest.captest_results(check_pvalues=False, pval=0.05, print_res=True)
Compute the capacity test ratio for
self.measvsself.sim.Predicts both regressions at the single test reporting conditions
self.rc(set viarep_cond()or thercsetter);self.rc_sourceis reported for provenance. RaisesValueErrorifself.rcisNone. Usesself.ac_nameplatefor the tested-capacity printout andself.test_tolerance(viaself.determine_pass_or_fail) for the pass/fail result.- Parameters:
check_pvalues (bool, default False) – When True, coefficients with a p-value above
pvalare zeroed before prediction.pval (float, default 0.05) – P-value cutoff used when
check_pvaluesis True.print_res (bool, default True) – When True, prints the formatted results.
- Returns:
Capacity test ratio
actual / expected.- Return type:
float