Classes | |
struct | Fields |
Public Member Functions | |
RelativeRiskTest () | |
Default constructor for the RelativeRiskTest object. | |
RelativeRiskTest (Int32 a, Int32 b, Int32 c, Int32 d) | |
Constructor for the RelativeRiskTest using given values for A, B, C, and D. | |
Int32 | A () |
Returns the value of A. | |
void | SetA (Int32 value) |
Sets the value of A. | |
Int32 | B () |
Returns the value of B. | |
void | SetB (Int32 value) |
Sets the value of B. | |
Int32 | C () |
Returns the value of C. | |
void | SetC (Int32 value) |
Sets the value of C. | |
Int32 | D () |
Returns the value of D. | |
void | SetD (Int32 value) |
Sets the value of D. | |
NUMBER | ChiSquared () |
Returns the value of Chi-Squared (χ²). | |
NUMBER | ConfidenceLevelUpperLimit () |
Returns the upper limit of the 95% confidence interval. | |
NUMBER | ConfidenceLevelLowerLimit () |
Returns the lower limit of the 95% confidence interval. | |
NUMBER | LogRelativeRisk () |
Returns the log of the relative risk. | |
NUMBER | p () |
Returns the probability p associated with a value for Chi-Squared (χ²). | |
NUMBER | RelativeRisk () |
Returns the relative risk. | |
NUMBER | StandardErrorOfLogOfRelativeRisk () |
Returns the standard error of the log of the relative risk. |
See generally Stanton A. Glantz, Primer of Biostatistics ch. 5 (6th ed. 2005).
Definition at line 13 of file RelativeRiskTest.cs.
StephenAshley.Biostatistics.RelativeRiskTest.RelativeRiskTest | ( | ) |
Default constructor for the RelativeRiskTest object.
Definition at line 19 of file RelativeRiskTest.cs.
StephenAshley.Biostatistics.RelativeRiskTest.RelativeRiskTest | ( | Int32 | a, | |
Int32 | b, | |||
Int32 | c, | |||
Int32 | d | |||
) |
Constructor for the RelativeRiskTest using given values for A, B, C, and D.
a | The value of the A cell. | |
b | The value of the B cell. | |
c | The value of the C cell. | |
d | The value of the D cell. |
Definition at line 29 of file RelativeRiskTest.cs.
Int32 StephenAshley.Biostatistics.RelativeRiskTest.A | ( | ) |
Int32 StephenAshley.Biostatistics.RelativeRiskTest.B | ( | ) |
Int32 StephenAshley.Biostatistics.RelativeRiskTest.C | ( | ) |
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.ChiSquared | ( | ) |
Returns the value of Chi-Squared (χ²).
BiostatisticsException | division by zero. |
Definition at line 113 of file RelativeRiskTest.cs.
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.ConfidenceLevelLowerLimit | ( | ) |
Returns the lower limit of the 95% confidence interval.
BiostatisticsException | calculation of the lower limit throws another exception. |
Definition at line 154 of file RelativeRiskTest.cs.
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.ConfidenceLevelUpperLimit | ( | ) |
Returns the upper limit of the 95% confidence interval.
BiostatisticsException | calculation of the upper limit throws another exception. |
Definition at line 131 of file RelativeRiskTest.cs.
Int32 StephenAshley.Biostatistics.RelativeRiskTest.D | ( | ) |
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.LogRelativeRisk | ( | ) |
Returns the log of the relative risk.
BiostatisticsException | the calculation of the log throws another exception (i.e., the System.OverflowException. |
Definition at line 178 of file RelativeRiskTest.cs.
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.p | ( | ) |
Returns the probability p associated with a value for Chi-Squared (χ²).
Definition at line 197 of file RelativeRiskTest.cs.
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.RelativeRisk | ( | ) |
Returns the relative risk.
BiostatisticsException | division by zero. |
Definition at line 208 of file RelativeRiskTest.cs.
void StephenAshley.Biostatistics.RelativeRiskTest.SetA | ( | Int32 | value | ) |
Sets the value of A.
value | The value. |
Definition at line 49 of file RelativeRiskTest.cs.
void StephenAshley.Biostatistics.RelativeRiskTest.SetB | ( | Int32 | value | ) |
Sets the value of B.
value | The value. |
Definition at line 67 of file RelativeRiskTest.cs.
void StephenAshley.Biostatistics.RelativeRiskTest.SetC | ( | Int32 | value | ) |
Sets the value of C.
value | The value. |
Definition at line 85 of file RelativeRiskTest.cs.
void StephenAshley.Biostatistics.RelativeRiskTest.SetD | ( | Int32 | value | ) |
Sets the value of D.
value | The value. |
Definition at line 103 of file RelativeRiskTest.cs.
NUMBER StephenAshley.Biostatistics.RelativeRiskTest.StandardErrorOfLogOfRelativeRisk | ( | ) |
Returns the standard error of the log of the relative risk.
Definition at line 228 of file RelativeRiskTest.cs.