- Extreme Optimization
- Documentation
- Statistics Library User's Guide
- Continuous Distributions
- Continuous Distributions
- The Beta Distribution
- The Cauchy Distribution
- The Chi Square Distribution
- The Erlang Distribution
- The Exponential Distribution
- The F Distribution
- The Gamma Distribution
- The Generalized Pareto Distribution
- The Gumbel Distribution
- The Laplace Distribution
- The Logistic Distribution
- Log-Logistic Distribution
- The Lognormal Distribution
- The Non-central Beta Distribution
- The Non-central Chi Square Distribution
- The Non-central F Distribution
- The Non-central Student t distribution
- The Normal Distribution
- The Pareto Distribution
- The Rayleigh Distribution
- Student's t Distribution
- The Transformed Beta Distribution
- The Transformed Gamma Distribution
- The Triangular Distribution
- The Continuous Uniform Distribution
- The Weibull Distribution

- The Non-central Chi Square Distribution

The Non-central Chi Square Distribution | Extreme Optimization Numerical Libraries for .NET Professional |

The non-central chi square (χ^{2}) distribution
with n degrees of freedom and non-centrality parameter
λ is a generalization of the
chi square distribution.
It is used in the power analysis of statistical tests,
including likelihood ratio tests.

The non-central chi square distribution has two parameters. The first is the degrees of freedom. This value is usually an integer, but this is not an absolute requirement. The second parameter is the non-centrality parameter. The probability density function (PDF) is:

where n is the degrees of freedom and λ is the non-centrality parameter.

The non-central chi square distribution is implemented by the NonCentralChiSquareDistribution class. It has one constructor which takes the degrees of freedom and the non-centrality parameter as arguments. The following constructs a non-central chi square distribution with 10 degrees of freedom and non-centrality parameter 15:

The NonCentralChiSquareDistribution class has two specific properties. DegreesOfFreedom returns the degrees of freedom of the distribution. NonCentralityParameter returns the non-centrality parameter.

For details of the properties and methods common to all continuous distribution classes, see the topic on continuous distributions..

#### Other Resources

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