Public Member Functions | |
CochranQGroupsCollection () | |
Constructs an empty CochranQGroupsCollection. | |
CochranQGroupsCollection (List< Group > groups) | |
Constructs a CochranQGroupsCollection from a list of Group objects. | |
override void | Add (Group group) |
Adds a Group to the CochranQGroupsCollection. | |
Int32[] | B () |
Returns an array containing the sums of the 1s and 0s for each subject. | |
Int32 | DegreesOfFreedom () |
The degrees of freedom of the CochranQGroupsCollection. | |
Int32[] | G () |
Returns an array containing the sums of the 0s and 1s for each Group. | |
Int32 | N () |
Returns the number of subjects in the CochranQGroupsCollection. | |
NUMBER | p () |
Returns the statistic p for the CochranQGroupsCollection based on the χ² distribution. | |
NUMBER | Q () |
Returns the Q statistic for the CochranQGroupsCollection. |
Definition at line 14 of file CochranQGroupsCollection.cs.
StephenAshley.Biostatistics.CochranQGroupsCollection.CochranQGroupsCollection | ( | ) |
Constructs an empty CochranQGroupsCollection.
Definition at line 19 of file CochranQGroupsCollection.cs.
StephenAshley.Biostatistics.CochranQGroupsCollection.CochranQGroupsCollection | ( | List< Group > | groups | ) |
Constructs a CochranQGroupsCollection from a list of Group objects.
groups | The Group objects. |
Definition at line 26 of file CochranQGroupsCollection.cs.
override void StephenAshley.Biostatistics.CochranQGroupsCollection.Add | ( | Group | group | ) | [virtual] |
Adds a Group to the CochranQGroupsCollection.
group | The Group. |
BiostatisticsException | • the Group is a null reference, • the Group has no members, or • the size of the Group is different from the sizes of the other Group objects. |
Reimplemented from StephenAshley.Biostatistics.GroupsCollection.
Definition at line 39 of file CochranQGroupsCollection.cs.
Int32 [] StephenAshley.Biostatistics.CochranQGroupsCollection.B | ( | ) |
Returns an array containing the sums of the 1s and 0s for each subject.
BiostatisticsException | • The CochranQGroupsCollection contains no Group objects, • The CochranQGroupsCollection contains fewer than 2 Group objects, or • The Group objects contain no data. |
Definition at line 75 of file CochranQGroupsCollection.cs.
Int32 StephenAshley.Biostatistics.CochranQGroupsCollection.DegreesOfFreedom | ( | ) |
The degrees of freedom of the CochranQGroupsCollection.
BiostatisticsException | • The CochranQGroupsCollection contains no Group objects, • The CochranQGroupsCollection contains fewer than 2 Group objects, or • The Group objects contain no data. |
Definition at line 110 of file CochranQGroupsCollection.cs.
Int32 [] StephenAshley.Biostatistics.CochranQGroupsCollection.G | ( | ) |
Returns an array containing the sums of the 0s and 1s for each Group.
BiostatisticsException | • The CochranQGroupsCollection contains no Group objects, • The CochranQGroupsCollection contains fewer than 2 Group objects, or • The Group objects contain no data. |
Definition at line 135 of file CochranQGroupsCollection.cs.
Int32 StephenAshley.Biostatistics.CochranQGroupsCollection.N | ( | ) |
Returns the number of subjects in the CochranQGroupsCollection.
Definition at line 164 of file CochranQGroupsCollection.cs.
NUMBER StephenAshley.Biostatistics.CochranQGroupsCollection.p | ( | ) |
Returns the statistic p for the CochranQGroupsCollection based on the χ² distribution.
Definition at line 176 of file CochranQGroupsCollection.cs.
NUMBER StephenAshley.Biostatistics.CochranQGroupsCollection.Q | ( | ) |
Returns the Q statistic for the CochranQGroupsCollection.
Definition at line 186 of file CochranQGroupsCollection.cs.