StephenAshley.Biostatistics.T_TestGroupsCollection Class Reference

An list of two Group objects and the methods necessary to analyze the variance in the means of the two Group objects. More...

Inheritance diagram for StephenAshley.Biostatistics.T_TestGroupsCollection:

StephenAshley.Biostatistics.GroupsCollection StephenAshley.Biostatistics.PairedT_TestGroupsCollection

List of all members.

Public Member Functions

 T_TestGroupsCollection ()
 Constructs a T_TestGroupsCollection with the capacity to hold 2 Group objects.
 T_TestGroupsCollection (List< Group > lstGroups)
 Creates a T_TestGroupsCollection from a List of Group objects.
override void Add (Group group)
 Adds a Group to the T_TestGroupsCollection.
override void AddRange (List< Group > lstGroups)
 Adds a list of Group objects to the T_TestGroupsCollection.
NUMBER EstimatedPopulationVariance ()
 Gets the estimated variance for the source population.
NUMBER EstimatedStandardErrorOfDifferenceOfMeans ()
 Gets the standard error for the difference of the Group means.
virtual NUMBER t ()
 Gets the t statistic for the two Group objects.
Int32 DegreesOfFreedom ()
 Gets the degrees of freedom for the two Group objects.
virtual NUMBER p ()
 Returns the probability p for given values of t and DegreesOfFreedom.


Detailed Description

An list of two Group objects and the methods necessary to analyze the variance in the means of the two Group objects.

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

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


Constructor & Destructor Documentation

StephenAshley.Biostatistics.T_TestGroupsCollection.T_TestGroupsCollection (  ) 

Constructs a T_TestGroupsCollection with the capacity to hold 2 Group objects.

Definition at line 22 of file T-TestGroupsCollection.cs.

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

Creates a T_TestGroupsCollection from a List of Group objects.

Parameters:
lstGroups The Group objects.
Exceptions:
Biostatistics lstGroups is null, or

• the T_TestGroupsCollection contains more than 2 Group objects.

Definition at line 37 of file T-TestGroupsCollection.cs.


Member Function Documentation

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

Adds a Group to the T_TestGroupsCollection.

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

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

Reimplemented from StephenAshley.Biostatistics.GroupsCollection.

Reimplemented in StephenAshley.Biostatistics.PairedT_TestGroupsCollection.

Definition at line 58 of file T-TestGroupsCollection.cs.

override void StephenAshley.Biostatistics.T_TestGroupsCollection.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 null, or

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

Reimplemented from StephenAshley.Biostatistics.GroupsCollection.

Reimplemented in StephenAshley.Biostatistics.PairedT_TestGroupsCollection.

Definition at line 84 of file T-TestGroupsCollection.cs.

Int32 StephenAshley.Biostatistics.T_TestGroupsCollection.DegreesOfFreedom (  ) 

Gets the degrees of freedom for the two Group objects.

Returns:
The degrees of freedom.
Exceptions:
BiostatisticsException T_TestGroupsCollection does not contain 2 Group objects.

Reimplemented in StephenAshley.Biostatistics.PairedT_TestGroupsCollection.

Definition at line 188 of file T-TestGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.T_TestGroupsCollection.EstimatedPopulationVariance (  ) 

Gets the estimated variance for the source population.

Returns:
The estimated variance.
Exceptions:
BiostatisticsException T_TestGroupsCollection does not contain 2 Group objects, or

• division by zero is attempted.

Reimplemented in StephenAshley.Biostatistics.PairedT_TestGroupsCollection.

Definition at line 107 of file T-TestGroupsCollection.cs.

NUMBER StephenAshley.Biostatistics.T_TestGroupsCollection.EstimatedStandardErrorOfDifferenceOfMeans (  ) 

Gets the standard error for the difference of the Group means.

Returns:
The standard error.
Exceptions:
BiostatisticsException T_TestGroupsCollection does not contain 2 Group objects, or

• division by zero is attempted.

Definition at line 136 of file T-TestGroupsCollection.cs.

virtual NUMBER StephenAshley.Biostatistics.T_TestGroupsCollection.p (  )  [virtual]

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

Returns:
p.

Reimplemented in StephenAshley.Biostatistics.PairedT_TestGroupsCollection.

Definition at line 200 of file T-TestGroupsCollection.cs.

virtual NUMBER StephenAshley.Biostatistics.T_TestGroupsCollection.t (  )  [virtual]

Gets the t statistic for the two Group objects.

Returns:
The statistic t.
Exceptions:
BiostatisticsException T_TestGroupsCollection does not contain 2 Group objects, or

• division by zero is attempted.

Reimplemented in StephenAshley.Biostatistics.PairedT_TestGroupsCollection.

Definition at line 163 of file T-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