Chi-squared distribution | R Documentation |
Compute the first four ordinary moments, central moments, mean, and variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the (non-central) Chi-squared distribution.
d_chi(n)
n |
It is a degree of freedom and the positive parameter of the Chi-squared distribution ( |
The following is the probability density function of the (non-central) Chi-squared distribution:
f(x)=\frac{1}{2^{\frac{n}{2}}\Gamma(\frac{n}{2})}x^{\frac{n}{2}-1}e^{-\frac{x}{2}},
where x > 0
and n > 0
.
d_chi gives the first four ordinary moments, central moments, mean, and variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the (non-central) Chi-squared distribution.
Muhammad Imran.
R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com.
Ding, C. G. (1992). Algorithm AS275: computing the non-central chi-squared distribution function. Journal of the Royal Statistical Society. Series C (Applied Statistics), 41(2), 478-482.
Johnson, N. L., Kotz, S., & Balakrishnan, N. (1995). Continuous univariate distributions, volume 2 (Vol. 289). John Wiley & Sons.
d_gamma
d_chi(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.