Click or drag to resize

TwoWayAnovaBase Class

Base class for both balanced and unbalanced two way ANOVA.
Inheritance Hierarchy

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public abstract class TwoWayAnovaBase

The TwoWayAnovaBase type exposes the following members.

Constructors
 NameDescription
Protected methodTwoWayAnovaBase No argument contructor. Used primarily for serialization.
Protected methodTwoWayAnovaBase(TwoWayAnovaBase) Copy constructor.
Public methodTwoWayAnovaBase(DataFrame, Int32, Int32, Int32) Constructs a TwoWayAnova instance from data in the given data frame.
Top
Properties
 NameDescription
Public propertyGrandMean Gets the grand mean.
Public propertyRegressionInterceptParameter Gets the intercept parameter from the linear regression that was used to compute the ANOVA.
Top
Methods
 NameDescription
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.
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.
Public methodGetCellData Returns all the data in a cell, as defined by the levels of the two factors in the ANOVA.
Public methodGetMeanForCell Returns the mean for the specified cell, as defined by the levels of the two factors in the ANOVA.
Public methodGetMeanForFactorLevel Returns the mean for the specified factor level.
Protected methodInterceptParameterSumOfSquares Compte the sum of squares associated with the regression's intercept parameter.
Protected methodMakeCellData Fills in the cell data for a two way ANOVA from the given data frame and column information.
Protected methodMakeFactorParameters 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.
Protected methodMakeInteractionParameters 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.
Top
Fields
 NameDescription
Protected fieldcells_ The ANOVA data broken up into cells.
Protected fieldfactorA_ One of the factors in the ANOVA
Protected fieldfactorB_ The other factor in the ANOVA.
Protected fieldobservations_ The observation vector for the regression used to compute the ANVOA.
Top
See Also