Hypothesis Testing

C# Hypothesis Testing

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, analysis of variance, and multivariate statistics.

NMath also includes basic hypothesis tests, such as z test, t-test, and F-test, with calculation of p-values, critical values, and confidence intervals. This functionality can be used from any .NET language including VB.NET and F#.

Hypothesis Testing Documentation

Complete documentation for all NMath libraries is available online. For more general information on linear regression, see the chapter on hypothesis testing in the NMath Stats User’s Guide.

API documentation for the hypothesis testing classes is available in the NMath Stats Reference Guide, with pertainent classes outlined in the table below.

Compares a single sample mean to an expected mean from a normal distribution with known standard deviation.
Compares a single sample mean to an expected mean from a normal distribution with an unknown standard deviation.
Tests the null hypothesis that the population mean of the paired differences of two samples is zero.
Tests whether two samples from a normal distribution could have the same mean when the standard deviations are unknown but assumed to be equal.
Tests the null hypothesis that the two population means corresponding to two random samples are equal. The two samples are assumed to be independent of each other. A pooled estimate of the variance is not used.
Tests whether the variances of two populations are equal.
Performs a Kolmogorov-Smirnov test of the distribution of one sample.
Performs a two-sample Kolmogorov-Smirnov test to compare the distributions of values in two data sets.
Performs a Anderson-Darling test of the distribution of one sample.
Tests whether the frequency distribution of experimental outcomes are consistant with a particular theoretical distribution.
Tests the null hypothesis that the sample comes from a normally distributed population.

Hypothesis Testing 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 hypothesis testing, see:

  • HypothesisTestExample [C#]  [VB.NET]
    Example showing how to use the hypothesis test classes to test statistical hypotheses.

Try a Free Evaluation

If you are interested in evaluating the hypothesis testing 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.

Buy Now

Orders may be placed through our secure online store using either google checkout or paypal checkout. Our sales staff would be happy to help you with any questions that you may have about our products.  We are looking forward to working with you!