StephenAshley.Biostatistics.RelativeRiskTest Class Reference

The data fields and methods for performing the Relative Risk Test. More...

List of all members.

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.


Detailed Description

The data fields and methods for performing the Relative Risk Test.

See generally Stanton A. Glantz, Primer of Biostatistics ch. 5 (6th ed. 2005).

Definition at line 13 of file RelativeRiskTest.cs.


Constructor & Destructor Documentation

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.

Parameters:
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.


Member Function Documentation

Int32 StephenAshley.Biostatistics.RelativeRiskTest.A (  ) 

Returns the value of A.

Returns:
A.

Definition at line 40 of file RelativeRiskTest.cs.

Int32 StephenAshley.Biostatistics.RelativeRiskTest.B (  ) 

Returns the value of B.

Returns:
B.

Definition at line 58 of file RelativeRiskTest.cs.

Int32 StephenAshley.Biostatistics.RelativeRiskTest.C (  ) 

Returns the value of C.

Returns:
C.

Definition at line 76 of file RelativeRiskTest.cs.

NUMBER StephenAshley.Biostatistics.RelativeRiskTest.ChiSquared (  ) 

Returns the value of Chi-Squared (χ²).

Returns:
Chi-Squared.
Exceptions:
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.

Returns:
The limit.
Exceptions:
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.

Returns:
The limit.
Exceptions:
BiostatisticsException calculation of the upper limit throws another exception.

Definition at line 131 of file RelativeRiskTest.cs.

Int32 StephenAshley.Biostatistics.RelativeRiskTest.D (  ) 

Returns the value of D.

Returns:
D.

Definition at line 94 of file RelativeRiskTest.cs.

NUMBER StephenAshley.Biostatistics.RelativeRiskTest.LogRelativeRisk (  ) 

Returns the log of the relative risk.

Returns:
The log.
Exceptions:
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 (χ²).

Returns:
p.

Definition at line 197 of file RelativeRiskTest.cs.

NUMBER StephenAshley.Biostatistics.RelativeRiskTest.RelativeRisk (  ) 

Returns the relative risk.

Returns:
The relative risk.
Exceptions:
BiostatisticsException division by zero.

Definition at line 208 of file RelativeRiskTest.cs.

void StephenAshley.Biostatistics.RelativeRiskTest.SetA ( Int32  value  ) 

Sets the value of A.

Parameters:
value The value.

Definition at line 49 of file RelativeRiskTest.cs.

void StephenAshley.Biostatistics.RelativeRiskTest.SetB ( Int32  value  ) 

Sets the value of B.

Parameters:
value The value.

Definition at line 67 of file RelativeRiskTest.cs.

void StephenAshley.Biostatistics.RelativeRiskTest.SetC ( Int32  value  ) 

Sets the value of C.

Parameters:
value The value.

Definition at line 85 of file RelativeRiskTest.cs.

void StephenAshley.Biostatistics.RelativeRiskTest.SetD ( Int32  value  ) 

Sets the value of D.

Parameters:
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.

Returns:
The standard error.

Definition at line 228 of file RelativeRiskTest.cs.


The documentation for this class was generated from the following file:

Generated on Sun May 31 19:43:40 2009 for "Biostatistics Documentation" by  doxygen 1.5.9