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
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Statistics
    • AnovaModel Class
    • AnovaModelRow Class
    • AnovaRow Class
    • AnovaRowType Enumeration
    • AnovaTable Class
    • Cell Structure
    • ContingencyTable Class
    • ContingencyTableCell Structure
    • DateTimeInterval Structure
    • Descriptives(T) Class
    • Filter Class
    • GeneralizedLinearModel Class
    • HypothesisTests Class
    • Kernel Class
    • KernelDensity Class
    • KernelDensityBandwidthEstimator Enumeration
    • LinearRegressionModel Class
    • LinkFunction Class
    • LogisticRegressionMethod Enumeration
    • LogisticRegressionModel Class
    • ModelFamily Class
    • NearestCorrelationMatrixAlgorithm Enumeration
    • NonlinearRegressionModel Class
    • OneWayAnovaModel Class
    • OneWayRAnovaModel Class
    • PolynomialRegressionModel Class
    • RegularizedRegressionModel Class
    • ScaleFittingMethod Enumeration
    • SimpleRegressionKind Enumeration
    • SimpleRegressionModel Class
    • Stats Class
    • StepwiseCriterion Enumeration
    • StepwiseOptions Class
    • StepwiseRegressionMethod Enumeration
    • SumsOfSquaresType Enumeration
    • TestOfHomogeneityOfVariances Enumeration
    • TestOfNormality Enumeration
    • TwoWayAnovaModel Class
    • WindowFilter Class
  • OneWayAnovaModel Class
    • OneWayAnovaModel Constructors
    • Properties
    • Methods

OneWayAnovaModel Class

Extreme Optimization Numerical Libraries for .NET Professional
Represents the results of a one-way analysis of variance (ANOVA).
Inheritance Hierarchy

SystemObject
  Extreme.DataAnalysis.ModelsModel
    Extreme.StatisticsAnovaModel
      Extreme.StatisticsOneWayAnovaModel

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

C#
VB
C++
F#
Copy
public sealed class OneWayAnovaModel : AnovaModel
Public NotInheritable Class OneWayAnovaModel
	Inherits AnovaModel
public ref class OneWayAnovaModel sealed : public AnovaModel
[<SealedAttribute>]
type OneWayAnovaModel =  
    class
        inherit AnovaModel
    end

The OneWayAnovaModel type exposes the following members.

Constructors

  NameDescription
Public methodOneWayAnovaModel(IDataFrame, String)
Constructs a new OneWayAnovaModel object for the specified data..
Public methodOneWayAnovaModel(VectorDouble, ICategoricalVector)
Constructs a new OneWayAnovaModel object for the specified data..
Public methodOneWayAnovaModel(IDataFrame, String, String)
Constructs a new OneWayAnovaModel object for the specified data..
Top
Properties

  NameDescription
Public propertyAdjustedRSquared
Gets the adjusted R Squared value for the regression.
(Inherited from AnovaModel.)
Public propertyAnovaTable
Gets the AnovaTable that summarizes the results of this model.
(Inherited from AnovaModel.)
Public propertyBaseFeatureIndex
Gets an index containing the keys of the columns that are required inputs to the model.
(Inherited from Model.)
Public propertyBetweenGroupsRow
Gets the AnovaModelRow containing the 'between groups' results.
Public propertyCells
Gets the collection of data cells for this model.
Public propertyComputed Obsolete.
Gets whether the model has been computed.
(Inherited from Model.)
Public propertyCovarianceMatrix
Gets the covariance matrix of the model parameters.
(Inherited from AnovaModel.)
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.
(Inherited from AnovaModel.)
Public propertyDependentVariable
Gets or sets the dependent variable in the ANOVA model.
(Inherited from AnovaModel.)
Public propertyFactor
Gets the factor corresponding to the independent variable.
Public propertyFitted
Gets whether the model has been computed.
(Inherited from Model.)
Public propertyFStatistic
Gets the F statistic for the regression.
(Inherited from AnovaModel.)
Public propertyGrouping
Gets the grouping object that maps observations to their cell.
(Overrides AnovaModelGrouping.)
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.
(Overrides AnovaModelIsBalanced.)
Public propertyLogLikelihood
Gets the log-likelihood that the model generated the data.
(Inherited from AnovaModel.)
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.
(Overrides AnovaModelObservationsPerCell.)
Public propertyParameters
Gets a vector containing the estimated values of the model parameters.
(Inherited from AnovaModel.)
Public propertyPValue
Gets the probability corresponding to the F statistic for the regression.
(Inherited from AnovaModel.)
Public propertyRSquared
Gets the R Squared value for the regression.
(Inherited from AnovaModel.)
Public propertyStandardError
Gets the standard error of the regression.
(Inherited from AnovaModel.)
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 propertyTotalCell
Gets a cell containing summary statistics for all the data in the 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.)
Public methodFit
Fits the model to the data.
(Inherited from Model.)
Public methodFit(ParallelOptions)
Fits the model to the data.
(Inherited from Model.)
Public methodGetAkaikeInformationCriterion
Returns the Akaike information criterion (AIC) value for the model.
(Inherited from AnovaModel.)
Public methodGetBartlettTest
Returns Bartlett's test to verify that the cells have the same variance.
(Inherited from AnovaModel.)
Public methodGetBayesianInformationCriterion
Returns the Bayesian information criterion (BIC) value for the model.
(Inherited from AnovaModel.)
Public methodGetContrastEstimate
Gets an estimate for the specified contrast.
Public methodGetDifferenceBetweenMeansEstimate
Gets an estimate for the difference between the groups with the specified indexes.
Public methodGetFactor(Int32)
Gets the factor corresponding to the variable with the specified index.
(Inherited from AnovaModel.)
Public methodGetFisherHayterTest
Returns the Fisher-Hayter test for the pairwise comparison of two group means.
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.
(Inherited from AnovaModel.)
Public methodGetHomogeneityOfVariancesTest(TestOfHomogeneityOfVariances)
Returns a test to verify that the cells have the same variance.
(Inherited from AnovaModel.)
Public methodGetLeveneTest
Returns Levene's test to verify that the cells have the same variance.
(Inherited from AnovaModel.)
Public methodGetScheffeTest
Returns Scheffé's test for the pairwise comparison of two group means.
Public methodGetTukeyKramerTest
Returns the Tukey-Kramer test for the pairwise comparison of two group means.
Public methodGetTukeyTest
Returns Tukey's HSD test for the pairwise comparison of two group means.
Public methodGetType
Gets the Type of the current instance.
(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.
(Inherited from AnovaModel.)
Public methodToString
Returns a string representation of this instance.
(Inherited from AnovaModel.)
Top
Remarks

Use the OneWayAnovaModel to represent an analysis of variance model with one factor. The dependent variable and factor variable must be specified in the constructor. The dependent variable must be numerical. The factor variable must be categorical.

OneWayAnovaModel inherits from AnovaModel, which in turn inherits from AnovaModel. All methods and properties of these classes are available.

Before you can access the results of the analysis, you must call the Fit method.

The results of the analysis are available through properties of the model object, including FStatistic and PValue. They are summarized in the AnovaTable.

The Cells property returns a vector of Cell objects that represents the data organized into cells. There is one cell for every combination of factor levels. Cell means and other properties of the model can be accessed through the properties of individual cells.

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

See Also

Reference

Extreme.Statistics Namespace
Extreme.StatisticsAnovaTable
Extreme.StatisticsCell

Copyright (c) 2004-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, 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.