StephenAshley.Biostatistics.MannWhitneyGroupsCollection Class Reference

An list of Group objects and the methods necessary to perform the Mann-Whitney Test. More...

Inheritance diagram for StephenAshley.Biostatistics.MannWhitneyGroupsCollection:

StephenAshley.Biostatistics.GroupsCollection

List of all members.

Public Member Functions

 MannWhitneyGroupsCollection ()
 Constructs an empty MannWhitneyGroupsCollection.
 MannWhitneyGroupsCollection (List< Group > lstGroups)
 Constructs a MannWhitneyGroupsCollection from a list of Group objects.
override void Add (Group group)
 Adds a Group to the MannWhitneyGroupsCollection.
override void AddRange (List< Group > lstGroups)
 Adds a list of Group objects to the T_TestGroupsCollection.
Int32 N ()
 Returns the total number of elements in both Group objects.
Int32 N1 ()
 Returns the number of elements in the first Group.
Int32 N2 ()
 Returns the number of elements in the second Group.
NUMBER R1 ()
 Returns the sum of the ranks in the first Group.
NUMBER R2 ()
 Returns the sum of the ranks in the second Group.
NUMBER t ()
 Returns the t statistic for the two Group objects.
NUMBER U ()
 Returns the U statistic for the two Group objects.
NUMBER Zt ()
 Returns the Zt statistic for the two Group objects.
NUMBER ZtUncorrected ()
 Returns the Zt statistic for the two Group objects without a continuity correction.
NUMBER pT ()
 Returns p for a given value of Zt.
NUMBER pTUncorrected ()
 Returns p for a given value of ZtUncorrected.
string StringPt ()
 Returns a string representation of the value of pT.
NUMBER StandardDeviationT ()
 Returns the standard deviation of the t statistic for the MannWhitneyGroupsCollection.
NUMBER UPrime ()
 Returns the U’ statistic for the two Group objects.


Detailed Description

An list of Group objects and the methods necessary to perform the Mann-Whitney Test.

See generally Stanton A. Glantz, Primer of Biostatistics ch. 10 (6th ed. 2005); Jerrold H. Zar, Biostatistical Analysis ch. 8 (5th ed. 2010 [sic]).

Definition at line 15 of file MannWhitneyGroupsCollection.cs.


Constructor & Destructor Documentation

StephenAshley.Biostatistics.MannWhitneyGroupsCollection.MannWhitneyGroupsCollection (  ) 

Constructs an empty MannWhitneyGroupsCollection.

Definition at line 32 of file MannWhitneyGroupsCollection.cs.

StephenAshley.Biostatistics.MannWhitneyGroupsCollection.MannWhitneyGroupsCollection ( List< Group lstGroups  ) 

Constructs a MannWhitneyGroupsCollection from a list of Group objects.

Parameters:
lstGroups The Group objects.

Definition at line 54 of file MannWhitneyGroupsCollection.cs.


Member Function Documentation

override void StephenAshley.Biostatistics.MannWhitneyGroupsCollection.Add ( Group  group  )  [virtual]

Adds a Group to the MannWhitneyGroupsCollection.

Parameters:
group A Group.
Exceptions:
BiostatisticsException group is a null reference, or

• addition of group would result in a MannWhitneyGroupsCollection with more than 2 Group objects.

Reimplemented from StephenAshley.Biostatistics.GroupsCollection.

Definition at line 76 of file MannWhitneyGroupsCollection.cs.

override void StephenAshley.Biostatistics.MannWhitneyGroupsCollection.AddRange ( List< Group lstGroups  )  [virtual]

Adds a list of Group objects to the T_TestGroupsCollection.

Parameters:
lstGroups A list of Group objects.
Exceptions:
BiostatisticsException lstGroups is a null reference, or

• addition of a list of Group objects would result in more than 2 Group objects in the MannWhitneyGroupsCollection.

Reimplemented from StephenAshley.Biostatistics.GroupsCollection.

Definition at line 103 of file MannWhitneyGroupsCollection.cs.

Int32 StephenAshley.Biostatistics.MannWhitneyGroupsCollection.N (  ) 

Returns the total number of elements in both Group objects.

Returns:
The total.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 127 of file MannWhitneyGroupsCollection.cs.

Int32 StephenAshley.Biostatistics.MannWhitneyGroupsCollection.N1 (  ) 

Returns the number of elements in the first Group.

Returns:
The number.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 142 of file MannWhitneyGroupsCollection.cs.

Int32 StephenAshley.Biostatistics.MannWhitneyGroupsCollection.N2 (  ) 

Returns the number of elements in the second Group.

Returns:
The number.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 157 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.pT (  ) 

Returns p for a given value of Zt.

Returns:
The probability p.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 263 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.pTUncorrected (  ) 

Returns p for a given value of ZtUncorrected.

Returns:
The probability p.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 278 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.R1 (  ) 

Returns the sum of the ranks in the first Group.

Returns:
The sum.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 172 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.R2 (  ) 

Returns the sum of the ranks in the second Group.

Returns:
The sum.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 187 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.StandardDeviationT (  ) 

Returns the standard deviation of the t statistic for the MannWhitneyGroupsCollection.

Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 310 of file MannWhitneyGroupsCollection.cs.

string StephenAshley.Biostatistics.MannWhitneyGroupsCollection.StringPt (  ) 

Returns a string representation of the value of pT.

StringPt is included in the class to deal with the cases in which it is possible to say that "p > 0.06" but not to compute a specific value of p.

Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 295 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.t (  ) 

Returns the t statistic for the two Group objects.

Returns:
t.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 202 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.U (  ) 

Returns the U statistic for the two Group objects.

Returns:
U.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 217 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.UPrime (  ) 

Returns the U’ statistic for the two Group objects.

Returns:
The statistic U’.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 325 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.Zt (  ) 

Returns the Zt statistic for the two Group objects.

Returns:
Zt.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 232 of file MannWhitneyGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.MannWhitneyGroupsCollection.ZtUncorrected (  ) 

Returns the Zt statistic for the two Group objects without a continuity correction.

Returns:
Zt.
Exceptions:
BiostatisticsException the MannWhitneyGroupsCollection does not contain 2 Group objects.

Definition at line 248 of file MannWhitneyGroupsCollection.cs.


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

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