bundles / scipy 1.17.1 / scipy / stats / _relative_risk / RelativeRiskResult
class
scipy.stats._relative_risk:RelativeRiskResult
Signature
class RelativeRiskResult ( relative_risk : float , exposed_cases : int , exposed_total : int , control_cases : int , control_total : int ) → None Members
Summary
Result of scipy.stats.contingency.relative_risk.
Attributes
relative_risk: floatThis is
(exposed_cases/exposed_total) / (control_cases/control_total)exposed_cases: intThe number of "cases" (i.e. occurrence of disease or other event of interest) among the sample of "exposed" individuals.
exposed_total: intThe total number of "exposed" individuals in the sample.
control_cases: intThe number of "cases" among the sample of "control" or non-exposed individuals.
control_total: intThe total number of "control" individuals in the sample.
Methods
confidence_intervalCompute the confidence interval for the relative risk estimate.
Aliases
-
scipy.stats._relative_risk.RelativeRiskResult