Click or drag to resize

TwoWayRanovaTwo Class

Class TwoWayRanovaTwo performs a balanced two-way analysis of variance with repeated measures on both factors.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreTwoWayAnovaBase
    CenterSpace.NMath.CoreTwoWayAnova
      CenterSpace.NMath.CoreTwoWayRanovaTwo

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class TwoWayRanovaTwo : TwoWayAnova, 
	ICloneable

The TwoWayRanovaTwo type exposes the following members.

Constructors
 NameDescription
Protected methodTwoWayRanovaTwo No argument contructor. Used primarily for serialization.
Public methodTwoWayRanovaTwo(DataFrame, Int32, Int32, Int32) Constructs a TwoWayRanova instance, with repeated measures on both factors, from the given data frame.
Top
Properties
 NameDescription
Public propertyAnovaTable Gets a traditional two-way ANOVA table.
(Inherited from TwoWayAnova)
Public propertyGrandMean Gets the grand mean.
(Inherited from TwoWayAnova)
Public propertyRanovaTable Gets a traditional two-way RANOVA table.
Public propertyRegressionFactorParameters Gets the array of estimates for the linear regression parameters corresponding to the dummy variables for the different factor levels.
(Inherited from TwoWayAnova)
Public propertyRegressionInteractionParameters Gets the array of estimates for the linear regression parameters corresponding to the dummy variables for the interactions.
(Inherited from TwoWayAnova)
Public propertyRegressionInterceptParameter Gets the intercept parameter from the linear regression that was used to compute the ANOVA.
(Inherited from TwoWayAnova)
Public propertyRegressionSubjectParameters Gets the array of estimates for the linear regression parameters corresponding to the dummy variables for the interaction of the ANOVA factors with the subjects.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this TwoWayRanovaTwo.
(Overrides TwoWayAnovaClone)
Protected methodComputeAnova Compute the ANOVA for the given data.
(Inherited from TwoWayAnova)
Protected methodComputeFactorSumsOfSquares Fill in the DoubleVector parameterSumsOfSquares_ with the sums of squares for the parameters used in the regression that is used to compute the ANOVA.
(Inherited from TwoWayAnova)
Protected methodComputeFactorSumsOfSquares(DoubleMatrix) Fill in the DoubleVector parameterSumsOfSquares_ with the sums of squares for the parameters used in the regression that is used to compute the ANOVA.
(Inherited from TwoWayAnovaBase)
Protected methodComputeFactorSumsOfSquares(LinearRegression, Int32, Int32, Int32) Fill in the DoubleVector parameterSumsOfSquares_ with the sums of squares for the parameters used in the regression that is used to compute the ANOVA.
(Inherited from TwoWayAnovaBase)
Protected methodCreateAnovaTable Create the RANOVA table for this object.
(Overrides TwoWayAnovaCreateAnovaTable)
Protected methodFillInRegressionMatrix Fill in the regression matrix and observation vector that is to be used for computing the RANOVA.
(Overrides TwoWayAnovaFillInRegressionMatrix(DataFrame, Int32, Int32, Int32))
Public methodGetCellData Returns all the data in a cell, as defined by the levels of the two factors in the ANOVA.
(Inherited from TwoWayAnovaBase)
Public methodGetMeanForCell Returns the mean for the specified cell, as defined by the levels of the two factors in the ANOVA.
(Inherited from TwoWayAnovaBase)
Public methodGetMeanForFactorLevel Returns the mean for the specified factor level.
(Inherited from TwoWayAnovaBase)
Public methodGetRegressionFactorParameter Returns the regression parameter associated with the specified factor level.
(Inherited from TwoWayAnova)
Protected methodGetRegressionFactorParameters Fills in the array of AnovaRegressionFactorParam objects.
(Overrides TwoWayAnovaGetRegressionFactorParameters)
Public methodGetRegressionInteractionParameter Returns the regression parameter associated with the specified interaction.
(Inherited from TwoWayAnova)
Protected methodGetRegressionInteractionParameters Fill in the array of AnovaRegressionInteractionParam objects.
(Overrides TwoWayAnovaGetRegressionInteractionParameters)
Protected methodInterceptParameterSumOfSquares Compte the sum of squares associated with the regression's intercept parameter.
(Inherited from TwoWayAnovaBase)
Protected methodMakeCellData Fills in the cell data for a two way ANOVA from the given data frame and column information.
(Inherited from TwoWayAnovaBase)
Protected methodMakeFactorParameters(Int32) Create the array of AnovaRegressionFactorParam objects, one for each regression dummy variable. The sums of squares for each of these parameters is assumed to have been computed are are stored in the DoubleVector instance variable parameterSumsOfSquares with the parameters for factor A first, followed by the parameters for factor B and starting at the given index.
(Inherited from TwoWayAnova)
Protected methodMakeFactorParameters(LinearRegression, DoubleVector, Int32, Factor) Create the array of AnovaRegressionFactorParam objects, one for each regression dummy variable. The sums of squares for each of these parameters is assumed to have been computed are are stored in the DoubleVector instance variable parameterSumsOfSquares with the parameters for factor A first, followed by the parameters for factor B and starting at the given index.
(Inherited from TwoWayAnovaBase)
Protected methodMakeInteractionParameters(Int32) Creates the array of AnovaRegressionInteractionParam objects using the DoubleVector instance variable parameterSumsOfSquares_. The sums of squares for the interaction parameters are assumed to begin at the given index.
(Inherited from TwoWayAnova)
Protected methodMakeInteractionParameters(LinearRegression, DoubleVector, Int32) Creates the array of AnovaRegressionInteractionParam objects using the DoubleVector instance variable parameterSumsOfSquares_. The sums of squares for the interaction parameters are assumed to begin at the given index.
(Inherited from TwoWayAnovaBase)
Public methodToString Returns a formatted string representation of a traditional two-way analysis of variance table.
(Inherited from TwoWayAnova)
Top
Fields
 NameDescription
Protected fieldanovaTable_ A traditional ANOVA table representation of the results.
(Inherited from TwoWayAnova)
Protected fieldcells_ The ANOVA data broken up into cells.
(Inherited from TwoWayAnovaBase)
Protected fieldfactorA_ One of the factors in the ANOVA
(Inherited from TwoWayAnovaBase)
Protected fieldfactorB_ The other factor in the ANOVA.
(Inherited from TwoWayAnovaBase)
Protected fieldfactorParameters_ Stats for the regression parameters corresponding to the two factors.
(Inherited from TwoWayAnova)
Protected fieldinteractionParameters_ Stats for the regression parameters corresponding to the interaction between the two factor.
(Inherited from TwoWayAnova)
Protected fieldinterceptParameter_ Stats for the regression intercept parameter.
(Inherited from TwoWayAnova)
Protected fieldlr_ The linear regression used to compute the ANOVA
(Inherited from TwoWayAnova)
Protected fieldlrAnova_ The ANOVA for the linear regression.
(Inherited from TwoWayAnova)
Protected fieldobservations_ The observation vector for the regression used to compute the ANVOA.
(Inherited from TwoWayAnovaBase)
Protected fieldparameterSumsOfSquares_ The sums of squares for all the parameters in the regression. These are in the same order as the regression parameters.
(Inherited from TwoWayAnova)
Protected fieldregressionMatrix_ The regression matrix used to compute the ANOVA.
(Inherited from TwoWayAnova)
Top
Remarks
Multiple linear regression is used to compute the RANOVA values.
See Also