RelativeRiskResult
scipy.stats._result_classes.
- class scipy.stats._result_classes.RelativeRiskResult(relative_risk, exposed_cases, exposed_total, control_cases, control_total)
Result of
scipy.stats.contingency.relative_risk.- Attributes:
Result of scipy.stats.contingency.relative_risk.
This is:
(exposed_cases/exposed_total) / (control_cases/control_total)
The number of “cases” (i.e. occurrence of disease or other event of interest) among the sample of “exposed” individuals.
The total number of “exposed” individuals in the sample.
The number of “cases” among the sample of “control” or non-exposed individuals.
The total number of “control” individuals in the sample.
| Compute the confidence interval for the relative risk. |