Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference

Skip Navigation LinksHome»Documentation»Reference»Extreme.Statistics»AnovaModel Class

AnovaModel Class

Extreme Optimization Numerical Libraries for .NET Professional
Represents an Analysis of Variance (ANOVA) model.
Inheritance Hierarchy

SystemObject
  Extreme.DataAnalysis.ModelsModel
    Extreme.StatisticsAnovaModel
      Extreme.StatisticsOneWayAnovaModel
      Extreme.StatisticsOneWayRAnovaModel
      Extreme.StatisticsTwoWayAnovaModel

Namespace:  Extreme.Statistics
Assembly:  Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Syntax

C#
VB
C++
F#
Copy
public abstract class AnovaModel : Model
Public MustInherit Class AnovaModel
	Inherits Model
public ref class AnovaModel abstract : public Model
[<AbstractClassAttribute>]
type AnovaModel =  
    class
        inherit Model
    end

The AnovaModel type exposes the following members.

Constructors

  NameDescription
Protected methodAnovaModel(IDataFrame, String)
Constructs a new AnovaModel objects.
Protected methodAnovaModel(VectorDouble, ICategoricalVector)
Constructs a new AnovaModel objects.
Protected methodAnovaModel(IDataFrame, String, String)
Constructs a new AnovaModel objects.
Top
Properties

  NameDescription
Public propertyAdjustedRSquared
Gets the adjusted R Squared value for the regression.
Public propertyAnovaTable
Gets the AnovaTable that summarizes the results of this model.
Public propertyBaseFeatureIndex
Gets an index containing the keys of the columns that are required inputs to the model.
(Inherited from Model.)
Public propertyComputed Obsolete.
Gets whether the model has been computed.
(Inherited from Model.)
Public propertyCovarianceMatrix
Gets the covariance matrix of the model parameters.
Public propertyData
Gets an object that contains all the data used as input to the model.
(Inherited from Model.)
Public propertyDegreesOfFreedom
Gets the total degrees of freedom of the data.
Public propertyDependentVariable
Gets or sets the dependent variable in the ANOVA model.
Public propertyFitted
Gets whether the model has been computed.
(Inherited from Model.)
Public propertyFStatistic
Gets the F statistic for the regression.
Public propertyGrouping
Gets the grouping object that maps observations to their cell.
Public propertyInputSchema
Gets the schema for the features used for fitting the model.
(Inherited from Model.)
Public propertyIsBalanced
Gets whether all the cells in the ANOVA design have the same number of observations.
Public propertyLogLikelihood
Gets the log-likelihood that the model generated the data.
Public propertyMaxDegreeOfParallelism
Gets or sets the maximum degree of parallelism enabled by this instance.
(Inherited from Model.)
Public propertyModelSchema
Gets the collection of variables used in the model.
(Inherited from Model.)
Public propertyNumberOfObservations
Gets the number of observations the model is based on.
(Inherited from Model.)
Public propertyObservationsPerCell
Gets the number of observations per cell.
Protected propertyParallelOptions
Gets or sets an object that specifies how the calculation of the model should be parallelized.
(Inherited from Model.)
Public propertyParameters
Gets a vector containing the estimated values of the model parameters.
Public propertyPValue
Gets the probability corresponding to the F statistic for the regression.
Public propertyRSquared
Gets the R Squared value for the regression.
Public propertyStandardError
Gets the standard error of the regression.
Public propertyStatus
Gets the status of the model, which determines which information is available.
(Inherited from Model.)
Public propertySupportsWeights
Indicates whether the model supports case weights.
(Inherited from Model.)
Public propertyWeights
Gets or sets the actual weights.
(Inherited from Model.)
Top
Methods

  NameDescription
Public methodCompute Obsolete.
Computes the model.
(Inherited from Model.)
Public methodCompute(ParallelOptions) Obsolete.
Computes the model.
(Inherited from Model.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFit
Fits the model to the data.
(Inherited from Model.)
Public methodFit(ParallelOptions)
Fits the model to the data.
(Inherited from Model.)
Protected methodFitCore
Computes the model to the specified input using the specified parallelization options.
(Inherited from Model.)
Public methodGetAkaikeInformationCriterion
Returns the Akaike information criterion (AIC) value for the model.
Public methodGetBartlettTest
Returns Bartlett's test to verify that the cells have the same variance.
Public methodGetBayesianInformationCriterion
Returns the Bayesian information criterion (BIC) value for the model.
Public methodGetFactor(Int32)
Gets the factor corresponding to the variable with the specified index.
Public methodGetFactorT(Int32)
Gets the strongly typed factor corresponding to the variable at the specified position.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHomogeneityOfVariancesTest
Returns a test to verify that the cells have the same variance.
Public methodGetHomogeneityOfVariancesTest(TestOfHomogeneityOfVariances)
Returns a test to verify that the cells have the same variance.
Public methodGetLeveneTest
Returns Levene's test to verify that the cells have the same variance.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetComputation Obsolete.
Clears all fitted model parameters.
(Inherited from Model.)
Public methodResetFit
Clears all fitted model parameters.
(Inherited from Model.)
Public methodSetDataSource
Uses the specified data frame as the source for all input variables.
(Inherited from Model.)
Public methodSummarize
Returns a string containing a human-readable summary of the object using default options.
(Inherited from Model.)
Public methodSummarize(SummaryOptions)
Returns a string containing a human-readable summary of the object using the specified options.
(Overrides ModelSummarize(SummaryOptions).)
Public methodToString
Returns a string representation of this instance.
(Overrides ModelToString.)
Top
Remarks

The AnovaModel class is an abstract base class for all classes that implement Analysis of Variance (ANOVA) models. It inherits from RegressionModelT, and defines a number of additional properties and methods useful in analysis of variance.

ANOVA models are a specialized form of regression model whose independent variables or predictors are all categorical in nature. The categorical scales are called factors. Use the GetFactor(Int32) method to get the factor that corresponds to a specific independent variable.

The Cells property returns a vector or matrix of Cell objects. There is one cell for every combination of factor levels. The IsBalanced property indicates whether all cells have the same number of observations.

One of the assumptions in analysis of variance is that the variances of the data in each cell are the same. The GetHomogeneityOfVariancesTest(TestOfHomogeneityOfVariances) returns a hypothesis test object /// that allows you to verify this assumption.

This is an abstract base class, and cannot be instantiated directly. Instead, use one of the derived classes listed in the following table.

ClassDescription
OneWayAnovaModelRepresents a one-way analysis of variance model.
OneWayRAnovaModelRepresents a one-way analysis of variance model with repeated measures.
TwoWayAnovaModelRepresents a two-way analysis of variance.

See Also

Reference

Extreme.Statistics Namespace

Copyright (c) 2004-2023 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2023, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.