R.QPOIS Function (Gnumeric)
Find Poisson count thresholds with Gnumeric R.QPOIS. Use lower or upper tails, log probabilities, discrete jump checks and tested zero-mean endpoints.
Verification status: 24 reference, boundary and advanced-check formulas were recalculated with Gnumeric 1.12.57 ssconvert. Saved identities, the blank input and numerical results were independently checked. Gnumeric 1.12.62 was source-checked only. How formula examples are checked
Quick answer: =R.QPOIS(.5,2) gives 2 in Gnumeric 1.12.57.
Availability and version history
- Introduced: First release not established; named in Gnumeric 1.5.2 release notes.
- Supported in: Gnumeric 1.12.62; no retirement is established.
- Scope: Desktop Gnumeric with its Statistical Functions From R plugin. English comma-separated formulas are shown.
- Checked: October 14, 2026. Tables and the named advanced check use 1.12.57 ssconvert. Current 1.12.62 source was inspected; that release was not executed.
What R.QPOIS returns
R.QPOIS returns a Poisson count quantile for the supplied mean. For an ordinary interior lower-tail probability p, it selects the smallest nonnegative integer k with P(X≤k)≥p. A discrete quantile generally does not make the CDF equal p exactly. Versioned function help.
Syntax and arguments
=R.QPOIS(probability,mean[,lower_tail[,log_p]])
- probability: required probability from 0 through 1, or its natural logarithm when log_p is TRUE.
- mean: nonnegative expected event count for the observation interval.
- lower_tail: optional TRUE for a lower-tail probability; FALSE supplies the strict upper-tail probability.
- log_p: optional FALSE. TRUE means the input is a natural logarithm, such as LN(0.1), rather than 0.1.
Brackets mark optional arguments; do not type them. Current worksheet implementation.
Reproducible examples
These self-contained formulas were recalculated natively. Ordinary-domain results were checked against independent mathematics; source guards explain the boundary cases. Results are rounded to twelve decimal places, or thirteen significant digits for small nonzero values. This is presentation precision, not a universal accuracy guarantee.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=R.QPOIS(.5,2) |
2 |
=R.QPOIS(.9,2) |
4 |
=R.QPOIS(.95,4) |
8 |
=R.QPOIS(.1,2,FALSE()) |
4 |
=R.QPOIS(LN(.1),2,FALSE(),TRUE()) |
4 |
=R.QPOIS(.5,10) |
10 |
=R.QPOIS(0,2) |
0 |
=R.QPOIS(.5,0) |
0 |
Practical worksheet
Suppose a stable event model has mean two arrivals per interval. R.QPOIS(0.9,2) returns 4: P(X≤3) is approximately 0.857123460499, while P(X≤4) is 0.947346982656. Four is therefore the first count reaching 90% cumulative coverage. It is a count threshold, not a 90% confidence interval for the unknown mean.
Advanced interpretation and checks
Check both sides of the jump with R.PPOIS(k-1,mean) and R.PPOIS(k,mean). Upper-tail 0.1 and lower-tail 0.9 describe the same threshold here; the log-upper-tail example supplies LN(0.1). If the expected rate is three events per hour, a twenty-minute interval has mean one. Convert the exposure before requesting its count threshold.
The saved advanced-check result for =R.PPOIS(R.QPOIS(.9,2),2) was 0.947346982656.
Boundaries and troubleshooting
The generic discrete inverter uses an unbounded upper support endpoint. A lower-tail input of 1 returns a nonfinite value, displayed as #NUM!, including the tested mean-zero endpoint. Interior probabilities with mean zero return 0. This endpoint convention is separate from the mathematical point mass at zero. Negative means, invalid probabilities and incorrect argument counts fail as shown. Numeric text is accepted in the tested scalar positions; nonnumeric text is not.
F5 is genuinely empty, rather than a cell containing an empty string.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=R.QPOIS(1,2) |
#NUM! |
=R.QPOIS(0,2,FALSE()) |
#NUM! |
=R.QPOIS(1,2,FALSE()) |
0 |
=R.QPOIS(-.1,2) |
#NUM! |
=R.QPOIS(1.1,2) |
#NUM! |
=R.QPOIS(.5,-1) |
#NUM! |
=R.QPOIS(1,0) |
#NUM! |
=R.QPOIS(0,0) |
0 |
=R.QPOIS(0,2,TRUE(),TRUE()) |
#NUM! |
=R.QPOIS(1,2,TRUE(),TRUE()) |
#NUM! |
=R.QPOIS(".5",2) |
2 |
=R.QPOIS("abc",2) |
#VALUE! |
=R.QPOIS(F5,2) |
0 |
=R.QPOIS(.5) |
#N/A |
=R.QPOIS(.5,2,1,0,1) |
#N/A |
Official evidence and checking scope
- Current worksheet callback
- Tested-version worksheet callback
- Current qpois calculation
- Tested-version qpois calculation
- Nonfinite worksheet-value handling
- Statistical Functions From R plugin declaration
- Discrete quantile inverter
The relevant complete worksheet callback and main calculation helper are unchanged between the inspected versions. That does not establish later-version numerical execution. Both stale and uncached SUM controls recalculated correctly. Native XML preserves the R.* identities. The secondary ODF export keeps these calls in the ORG.GNUMERIC namespace; it does not establish execution in another product. GUI entry, other locales and other spreadsheet products were not tested.