Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Chi-squared distribution
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Cumulative distribution function === [[File:Chernoff-bound.svg|thumb|400px|Chernoff bound for the [[Cumulative distribution function|CDF]] and tail (1-CDF) of a chi-squared random variable with ten degrees of freedom (<math>k = 10</math>)]] Its [[cumulative distribution function]] is: : <math> F(x;\,k) = \frac{\gamma(\frac{k}{2},\,\frac{x}{2})}{\Gamma(\frac{k}{2})} = P\left(\frac{k}{2},\,\frac{x}{2}\right), </math> where <math>\gamma(s,t)</math> is the [[lower incomplete gamma function]] and <math display="inline">P(s,t)</math> is the [[Incomplete gamma function#Regularized gamma functions and Poisson random variables|regularized gamma function]]. In a special case of <math>k = 2</math> this function has the simple form: : <math> F(x;\,2) = 1 - e^{-x/2} </math> which can be easily derived by integrating <math>f(x;\,2)=\frac{1}{2}e^{-x/2}</math> directly. The integer recurrence of the gamma function makes it easy to compute <math>F(x;\,k)</math> for other small, even <math>k</math>. Tables of the chi-squared cumulative distribution function are widely available and the function is included in many [[spreadsheet]]s and all [[statistical packages]]. Letting <math>z \equiv x/k</math>, [[Chernoff bound#The first step in the proof of Chernoff bounds|Chernoff bounds]] on the lower and upper tails of the CDF may be obtained.<ref>{{cite journal |last1=Dasgupta |first1=Sanjoy D. A. |last2=Gupta |first2=Anupam K. |date=January 2003 |title=An Elementary Proof of a Theorem of Johnson and Lindenstrauss |journal=Random Structures and Algorithms |volume=22 |issue=1 |pages=60β65 |doi=10.1002/rsa.10073 |s2cid=10327785 |url=http://cseweb.ucsd.edu/~dasgupta/papers/jl.pdf |access-date=2012-05-01 }}</ref> For the cases when <math>0 < z < 1</math> (which include all of the cases when this CDF is less than half): <math style="block"> F(z k;\,k) \leq (z e^{1-z})^{k/2}.</math> The tail bound for the cases when <math>z > 1</math>, similarly, is : <math> 1-F(z k;\,k) \leq (z e^{1-z})^{k/2}. </math> For another [[approximation]] for the CDF modeled after the cube of a Gaussian, see under [[Noncentral chi-squared distribution#Approximation|Noncentral chi-squared distribution]].
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Chi-squared distribution
(section)
Add topic