CHIDIST in WPS Spreadsheet: Chi-Square Right-Tail Probability
Calculate a chi-square upper-tail probability with explicit degrees of freedom, verify simple survival formulas and distinguish a p-value from a statistic.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
CHIDIST returns the right-tail probability P(X>x) for a chi-square random variable with specified degrees of freedom. The direction matters: it is the area above x, not the lower-tail CDF. Its output is a probability; x is the statistic value supplied as input.
Syntax and scope
=CHIDIST(x, degrees_freedom)
Both arguments are required. Original controls use positive x and small positive integer degrees of freedom. The WPS description and function dialog explicitly identify the right tail. Do not infer the same tail convention for a modern function with a similar name.
Degrees of freedom are part of the model, not the number of rows automatically counted by CHIDIST. When used in a statistical test, the statistic, degrees of freedom and assumptions must be derived separately.
Original two-degree example
Enter 2 in A2 and 2 in B2. Use =CHIDIST(A2,B2) in C2.
For two degrees of freedom, the chi-square survival function simplifies to exp(−x/2). Thus the independent expectation is exp(−1), approximately 0.367879441171442. The complementary lower-tail probability is about 0.632120558828558.
If x increases to 4 while degrees of freedom stay 2, the right-tail probability decreases to exp(−2), approximately 0.135335283236613. A larger statistic does not mean a larger right-tail probability.
Independently calculable controls
| Formula | Independent survival expression | Expected probability |
|---|---|---|
=CHIDIST(1,2) |
exp(−0.5) | 0.606530659712633 |
=CHIDIST(2,2) |
exp(−1) | 0.367879441171442 |
=CHIDIST(4,2) |
exp(−2) | 0.135335283236613 |
=CHIDIST(2,4) |
exp(−1)*(1+1) | 0.735758882342885 |
=CHIDIST(4,4) |
exp(−2)*(1+2) | 0.406005849709838 |
=CHIDIST(6,6) |
exp(−3)*(1+3+9/2) | 0.423190081126844 |
For even degrees of freedom 2m, these controls use exp(−x/2)*sum((x/2)^j/j!, j=0..m−1). They provide independent finite-sum checks without executing WPS.
An interval and a cautious interpretation
For degrees of freedom 2, the model probability between 1 and 4 is survival(1) minus survival(4), approximately 0.471195376476021. Reversing that subtraction would create a negative number and reveal a tail-direction mistake.
If a supplied x comes from a valid chi-square test statistic under the stated null model, its right-tail value may serve as a p-value. It is not the probability that the null hypothesis is true, and a single probability cannot prove an initial hypothesis valid. Sampling design, expected counts, parameter estimation and the chosen test all affect validity.
Vendor evidence and error boundaries
The WPS walkthrough uses x=15 and degrees of freedom 3, displaying approximately 0.001816649. Its broad wording about determining whether a hypothesis is valid should not be read as a proof claim; the function only evaluates the specified distribution tail.
The lesson documents #NUM! for negative x or degrees outside its stated range, #VALUE! for nonnumeric arguments, and truncation of fractional degrees. Original controls use small integer degrees and avoid all those errors, endpoints and extreme tails. No current numeric precision or automatic test construction is asserted. See CONFIDENCE for a different inferential quantity with its own known-sigma assumptions.
Availability and evidence scope
The official WPS lesson is dated 2019-05-07 and explicitly labels WPS Office for Windows Personal. Its numeric build is unspecified. This documents the function by that date; it does not establish first introduction, the last functioning build, other-platform parity or a retirement/deprecation history.
The official lesson was rechecked on October 19, 2026. Original examples are documentation-derived independent calculations, not WPS or other spreadsheet-engine executions. Numeric reference values do not certify application precision or statistical model suitability.