C# Probability Distributions
NMath Stats 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 Stats provides classes for computing the probability density function (PDF), the cumulative distribution function (CDF), the inverse cumulative distribution function, and random variable moments for a variety of probability distributions, including beta, binomial, chisquare, exponential, F, gamma, geometric, logistic, lognormal, negative binomial, normal (Gaussian), Poisson, Student's t, triangular, and Weibull distributions. The distribution classes share a common interface, so once you learn how to use one distribution class, it's easy to use any of the others. This functionality can be used from any .NET language including VB.NET and F#.
The NMath Stats library is part of CenterSpace Software's NMath Suite of numerical libraries, which provides building blocks for mathematical, financial, engineering, and scientific applications on the .NET platform. Features include matrix and vector classes, linear algebra, random number generators, numerical integration methods, interpolation, statistics, biostatistics, multiple linear regression, analysis of variance (ANOVA), optimization, and objectoriented interfaces to public domain computing packages such as the BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra PACKage). All NMath routines are callable from any .NET language, including C#, Visual Basic.NET, and F#.
Probability Distribution Documentation
Complete documentation for all NMath libraries is available online. For more information on probability distributions, see the chapter on probability distributions in the NMath Stats User's Guide.
API documentation for distribution classes is avaliable in the NMath Stats Reference Guide, summarized in the table below.
.NET / C# / VB Class

Probability Distribution


Beta distribution


Binomial distribution


ChiSquare distribution


Exponential distribution


F distribution


Gamma distribution


Geometric distribution


Johnson system of distributions


Logistic distribution


LogNormal distribution


Negative Binomial distribution


Normal (Gaussian) distribution


Poisson distribution


Student's t distribution


Triangular distribution


Uniform distribution


Weibull distribution

Probability Distribution 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 probability distributions, see:

ProbabilityDistributionExample [C#] [VB.NET]
Example showing how to use the probability distribution classes.
Try a Free Evaluation
If you are interested in evaluating the probability distribution classes in NMath, we offer a free trial version, for a 30day 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! 