CHISQ.INV
Returns the chi-square value whose left-tail probability is probability.
CHISQ.INV inverts CHISQ.DIST(x, deg_freedom, TRUE).
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=CHISQ.INV(probability, deg_freedom)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
probability | number | Required | — |
deg_freedom | number | Required | — |
How it works
Finds the cutoff q with P(X ≤ q) equal to the requested probability, using a chi-squared variate with positive degrees of freedom.
Remarks
probabilitymust be strictly between0and1.deg_freedommust be at least1.- Invalid numeric coercions propagate as spreadsheet errors.
Error cases
- Returns
#NUM!when arguments are outside valid ranges.
Examples
Find the chi-square median with three degrees of freedom.
Formula =CHISQ.INV(0.5,3)
Expected result 2.36597388437534
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Find the first lower-tail quartile with ten degrees of freedom.
Formula =CHISQ.INV(0.25,10)
Expected result 6.73720077195464
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Use one degree of freedom and find the lower-tail median.
Formula =CHISQ.INV(0.5,1)
Expected result 0.454936423119572
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A probability above one is invalid.
Formula =CHISQ.INV(1.1,3)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Median chi-square quantile for df=2
Formula =CHISQ.INV(0.5,2)
Expected result 1.38629436111989
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Upper quantile for df=10
Formula =CHISQ.INV(0.95,10)
Expected result 18.3070380532751
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.