ChiDistribution
represents a distribution with ν degrees of freedom.
Details
- ChiDistribution[ν] represents the distribution for the square root of a random variable. »
- ChiDistribution allows ν to be any positive real number.
- ChiDistribution allows ν to be a dimensionless quantity. »
- ChiDistribution can be used with such functions as Mean, CDF, and RandomVariate. »
Background & Context
- ChiDistribution[ν] represents a statistical distribution parametrized by a positive value ν indicating the degrees of freedom of the distribution. ν determines the general shape of the probability density function (PDF) of a chi distribution and, depending on the values of ν, the PDF may be either monotonic decreasing or may have a single "peak" (i.e. an absolute maximum) with a potential singularity approaching the lower boundary of its domain.
- ChiDistribution is the distribution followed by the square root of a chi-squared random variable. In other words, if is a random variable and (where denotes "is distributed as"), then . The sum of a collection , , …, of identically-normally-distributed independent random variables is also chi-distributed. In addition to their statistical significance, chi distributions also arise in a number of scientific applications including the speed distribution of an ideal gas, the accuracy of projectiles under various conditions, and the effects of radar on fluid dispersion.
- RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a chi distribution. Distributed[x,ChiDistribution[ν]], written more concisely as xChiDistribution[ν], can be used to assert that a random variable x is distributed according to a chi distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
- The probability density and cumulative distribution functions may be given using PDF[ChiDistribution[ν],x] and CDF[ChiDistribution[ν],x]. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively.
- DistributionFitTest can be used to test if a given dataset is consistent with a chi distribution, EstimatedDistribution to estimate a chi parametric distribution from given data, and FindDistributionParameters to fit data to a chi distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic chi distribution and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic chi distribution.
- TransformedDistribution can be used to represent a transformed chi distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain a chi distribution and ProductDistribution can be used to compute a joint distribution with independent component distributions involving chi distributions.
- ChiDistribution is closely related to a number of other distributions. For example, for and , ChiDistribution[η] is equivalent to RayleighDistribution[η] and MaxwellDistribution[η], respectively. Moreover, ChiDistribution can be viewed as a special case of the more general NakagamiDistribution in the sense that if XNakagamiDistribution[m,ω] is an independent random variable, then where YChiDistribution[2m]. ChiDistribution can also be obtained as a transformation of NoncentralChiSquareDistribution and is closely related to GammaDistribution, NormalDistribution, and HalfNormalDistribution.
Examples
open allclose allBasic Examples (4)
Cumulative distribution function:
Mean and variance of a distribution are related to the Gamma function:
Scope (8)
Generate a sample of pseudorandom numbers from a distribution:
Compare its histogram to the PDF:
Distribution parameters estimation:
Estimate the distribution parameters from sample data:
Compare the density histogram of the sample with the PDF of the estimated distribution:
In the limit the distribution becomes symmetric:
In the limit the distribution has the same kurtosis as NormalDistribution:
Different moments with closed forms as functions of parameters:
Closed form for symbolic order:
Use dimensionless Quantity to specify the degree of freedom parameter ν:
Applications (1)
Properties & Relations (8)
ChiDistribution[ν] converges to a normal distribution as ν->∞:
Relationships to other distributions:
The square of a variable follows the ChiSquareDistribution:
The distribution with is equivalent to HalfNormalDistribution with :
The distribution with is equivalent to RayleighDistribution with :
The distribution with is equivalent to MaxwellDistribution with :
distribution is a special case of GammaDistribution:
The norm of standard normally distributed variables is a distribution:
Possible Issues (2)
ChiDistribution is not defined when ν is a not a positive real number:
Substitution of invalid parameters into symbolic outputs gives results that are not meaningful:
Text
Wolfram Research (2007), ChiDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/ChiDistribution.html (updated 2016).
CMS
Wolfram Language. 2007. "ChiDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/ChiDistribution.html.
APA
Wolfram Language. (2007). ChiDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChiDistribution.html