StephenAshley.Biostatistics.PairedT_TestGroupsCollection Class Reference

A list of two Group objects and methods for performing the Paired t-Test. More...

Inheritance diagram for StephenAshley.Biostatistics.PairedT_TestGroupsCollection:

StephenAshley.Biostatistics.T_TestGroupsCollection StephenAshley.Biostatistics.GroupsCollection

List of all members.

Public Member Functions

 PairedT_TestGroupsCollection ()
 Constructs an empty PairedT_TestGroupsCollection with the capacity to hold 2 Group objects.
 PairedT_TestGroupsCollection (List< Group > groups)
 Creates a PairedT_TestGroupsCollection from a list of Group objects.
override void Add (Group group)
 Adds a Group to the PairedT_TestGroupsCollection.
override void AddRange (List< Group > lstGroups)
 Adds a list of Group objects to the PairedT_TestGroupsCollection.
new Int32 DegreesOfFreedom ()
 Returns the degrees of freedom of the number-pairs in the PairedT_TestGroupsCollection.
new NUMBER EstimatedPopulationVariance ()
 Returns the estimated variance of the population.
NUMBER EstimatedStandardErrorOfDifferencesOfMeans ()
 Returns the estimated standard error of the differences of the means of the values in the 2 Group objects.
NUMBER MeanOfDifferences ()
 Returns the mean of the differences of the values in the 2 Group objects.
Int32 n ()
 Returns the number of number-pairs in the PairedT_TestGroupsCollection.
override NUMBER p ()
 Returns the probability p for given values of t and DegreesOfFreedom.
NUMBER SumOfDifferences ()
 Returns the sum of the differences between the values in the 2 Group objects.
NUMBER SumOfSquaredDeviatesOfDifferences ()
 Returns the sum of the squared deviates of the differences between the value in the 2 Group objects.
override NUMBER t ()
 Returns the t statistic for the two paired Group objects.


Detailed Description

A list of two Group objects and methods for performing the Paired t-Test.

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

Definition at line 15 of file PairedT-TestGroupsCollection.cs.


Constructor & Destructor Documentation

StephenAshley.Biostatistics.PairedT_TestGroupsCollection.PairedT_TestGroupsCollection (  ) 

Constructs an empty PairedT_TestGroupsCollection with the capacity to hold 2 Group objects.

Definition at line 25 of file PairedT-TestGroupsCollection.cs.

StephenAshley.Biostatistics.PairedT_TestGroupsCollection.PairedT_TestGroupsCollection ( List< Group groups  ) 

Creates a PairedT_TestGroupsCollection from a list of Group objects.

Parameters:
groups The Group objects.
Exceptions:
Biostatistics groups is a null reference,

• the PairedT_TestGroupsCollection contains more than two Group objects, or

• the second Group does not have as many members as the first Group.

Definition at line 43 of file PairedT-TestGroupsCollection.cs.


Member Function Documentation

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

Adds a Group to the PairedT_TestGroupsCollection.

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

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

Reimplemented from StephenAshley.Biostatistics.T_TestGroupsCollection.

Definition at line 67 of file PairedT-TestGroupsCollection.cs.

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

Adds a list of Group objects to the PairedT_TestGroupsCollection.

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

lstGroups contains no Group objects

• addition of Group objects would result in a PairedT_TestGroupsCollection with more than 2 Group objects, or

• addition of Group objects would result in a PairedT_TestGroupsCollection with Group objects of unequal sizes.

Reimplemented from StephenAshley.Biostatistics.T_TestGroupsCollection.

Definition at line 117 of file PairedT-TestGroupsCollection.cs.

new Int32 StephenAshley.Biostatistics.PairedT_TestGroupsCollection.DegreesOfFreedom (  ) 

Returns the degrees of freedom of the number-pairs in the PairedT_TestGroupsCollection.

Returns:
The degrees of freedom.

Reimplemented from StephenAshley.Biostatistics.T_TestGroupsCollection.

Definition at line 157 of file PairedT-TestGroupsCollection.cs.

new NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.EstimatedPopulationVariance (  ) 

Returns the estimated variance of the population.

Returns:
The estimated variance.
Exceptions:
BiostatisticsException division by zero is attempted.

Reimplemented from StephenAshley.Biostatistics.T_TestGroupsCollection.

Definition at line 166 of file PairedT-TestGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.EstimatedStandardErrorOfDifferencesOfMeans (  ) 

Returns the estimated standard error of the differences of the means of the values in the 2 Group objects.

Returns:
The estimated standard error.
Exceptions:
BiostatisticsException division by zero is attempted.

Definition at line 187 of file PairedT-TestGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.MeanOfDifferences (  ) 

Returns the mean of the differences of the values in the 2 Group objects.

Returns:
The mean.
Exceptions:
BiostatisticsException division by zero is attempted.

Definition at line 209 of file PairedT-TestGroupsCollection.cs.

Int32 StephenAshley.Biostatistics.PairedT_TestGroupsCollection.n (  ) 

Returns the number of number-pairs in the PairedT_TestGroupsCollection.

Returns:
The number of number-pairs.

Definition at line 227 of file PairedT-TestGroupsCollection.cs.

override NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.p (  )  [virtual]

Returns the probability p for given values of t and DegreesOfFreedom.

Returns:
p.

Reimplemented from StephenAshley.Biostatistics.T_TestGroupsCollection.

Definition at line 234 of file PairedT-TestGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.SumOfDifferences (  ) 

Returns the sum of the differences between the values in the 2 Group objects.

Returns:
The sum.

Definition at line 242 of file PairedT-TestGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.SumOfSquaredDeviatesOfDifferences (  ) 

Returns the sum of the squared deviates of the differences between the value in the 2 Group objects.

Returns:
The sum.

Definition at line 257 of file PairedT-TestGroupsCollection.cs.

override NUMBER StephenAshley.Biostatistics.PairedT_TestGroupsCollection.t (  )  [virtual]

Returns the t statistic for the two paired Group objects.

Returns:
t.
Exceptions:
BiostatisticsException division by zero is attempted.

Reimplemented from StephenAshley.Biostatistics.T_TestGroupsCollection.

Definition at line 268 of file PairedT-TestGroupsCollection.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