# C# ANOVA

ANOVA means Analysis of Variance.

NMath from CenterSpace Software is a .NET class library that provides functions for statistical computation and biostatistics, including descriptive statistics, probability distributions, combinatorial functions, multiple linear regression, hypothesis testing, analysis of variance, and multivariate statistics.

NMath provides classes for both one-way (or one-factor) and two-way (or two-factor) ANOVAs. One-way ANOVA is supported for both balanced and unbalanced designs, and with or without repeated measures (RANOVA). Two-way ANOVA is supported for balanced designs only, with or without repeated measures.

### ANOVA Documentation

Complete documentation for all NMath libraries is available online. For more general information on ANOVA, read the chapter on analysis of variance in the NMath Stats User’s Guide.

The complete API documentation for the analysis of variance classes is available in the NMath Reference Guide, and is summarized in the table below.

Class
Description
Computes and summarizes a traditional one-way (single factor) Analysis of Variance (ANOVA).
Computes and summarizes the information of a one-way repeated measures Analysis of Variance (RANOVA).
Performs a balanced two-way analysis of variance.
Performs a balanced two-way analysis of variance with repeated measures on one factor.

### ANOVA Code Examples

All NMath libraries include extensive code examples in both C# and Visual Basic.NET. Studying these examples is one of the best ways to learn how to use NMath libraries. For more information on analysis of variance, see:

• OneWayAnovaExample [C#]  [VB.NET]
Example showing how use class OneWayAnova to perform a simple one-way ANOVA.
Example showing some of the advanced features of class OneWayAnova.
• OneWayRanovaExample [C#]  [VB.NET]
Example showing how to use class OneWayRanova to perform a simple one-way ANOVA with repeated measures.
Example showing some of the advanced features of class OneWayRanova.
• TwoWayAnovaExample [C#]  [VB.NET]
Example showing how to use class TwoWayAnova to perform a simple two-way ANOVA.
Example showing some of the advanced features of class TwoWayAnova.
• TwoWayRanovaExample [C#]  [VB.NET]
Example showing how to use class TwoWayRanova to perform a two-way ANOVA with repeated measures on one factor.
• TwoWayRanovaTwoExample [C#]  [VB.NET]
Example showing how to use class TwoWayRanovaTwo to perform a two-way ANOVA with repeated measures on both factors.

### Try a Free Evaluation

 If you are interested in evaluating the analysis of variance classes in NMath, we offer a free trial version, for a 30-day evaluation period. This trial version is a fully featured distribution of NMath with no limitations. In only a few minutes you can be enjoying the power of NMath.