R.QWEIBULL Function (Gnumeric)
Find Weibull percentiles with Gnumeric R.QWEIBULL. Verify scale and shape, upper/log probability modes, finite endpoint rules and CDF reconstruction.
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.QWEIBULL(.5,2,3) gives 2.497663833473 in Gnumeric 1.12.57.
Availability and version history
- Introduced: First release not established; present in the retained 1.12.57 source.
- 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.QWEIBULL returns
R.QWEIBULL returns a Weibull cutoff. With lower-tail probability p, its ordinary formula is scale×(−LN(1−p))^(1/shape). Upper-tail mode takes a survival probability instead; log_p means the supplied probability is already logarithmic. Versioned function help.
Syntax and arguments
=R.QWEIBULL(probability,shape,scale[,lower_tail[,log_p]])
Probability, shape and scale are required, with positive shape and scale. lower_tail defaults to TRUE and log_p to FALSE. Use an ordinary probability from 0 through 1, or a nonpositive log probability with log_p=TRUE.
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.QWEIBULL(.5,2,3) |
2.497663833473 |
=R.QWEIBULL(.9,2,3) |
4.552281388155 |
=R.QWEIBULL(.1,2,3,FALSE()) |
4.552281388155 |
=R.QWEIBULL(LN(.1),2,3,FALSE(),TRUE()) |
4.552281388155 |
=R.QWEIBULL(.5,1,2) |
1.38629436112 |
=R.QWEIBULL(.75,.5,2) |
3.843624111346 |
=R.QWEIBULL(0,2,3) |
0 |
=R.QWEIBULL(1,2,3,FALSE()) |
0 |
Practical worksheet
For shape 2 and scale 3, the median is approximately 2.497663833473. The 90th-percentile cutoff is approximately 4.552281388155. An upper-tail probability of 0.1 and its logarithmic form produce the same cutoff.
A stated target such as “90% of values are below this threshold” corresponds to a lower probability of 0.9. It does not mean entering 90 or using an upper probability of 0.9. Keep the percentage display separate from the decimal formula input.
Advanced interpretation and checks
The executed roundtrip below evaluates the lower CDF at the computed 90th percentile and recovers 0.9. Shape 1 reduces to an exponential quantile; for scale 2 the median is 2×LN(2), approximately 1.386294361120.
At fixed shape and probability, multiplying scale by a positive factor multiplies the quantile by the same factor. Shape changes the exponent and therefore the relative spacing of percentiles. This function does not estimate shape or scale from observations.
The saved advanced-check result for =R.PWEIBULL(R.QWEIBULL(.9,2,3),2,3) was 0.9.
Boundaries and troubleshooting
Lower probability zero returns zero. Lower probability one has an infinite cutoff and becomes #NUM!; upper endpoints reverse those results. In log mode, input zero represents probability one and reaches that infinite lower endpoint. A positive log probability is invalid.
The helper checks positive shape and scale before its probability-boundary shortcut, so zero probability does not rescue a zero shape. Nonnumeric text gives #VALUE!; empty F5 becomes ordinary probability zero. Missing or extra arguments give #N/A. Infinite support limits are mathematical endpoints, not finite thresholds.
F5 is genuinely empty, rather than a cell containing an empty string.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=R.QWEIBULL(1,2,3) |
#NUM! |
=R.QWEIBULL(0,2,3,FALSE()) |
#NUM! |
=R.QWEIBULL(-.1,2,3) |
#NUM! |
=R.QWEIBULL(1.1,2,3) |
#NUM! |
=R.QWEIBULL(.5,0,3) |
#NUM! |
=R.QWEIBULL(.5,-1,3) |
#NUM! |
=R.QWEIBULL(.5,2,0) |
#NUM! |
=R.QWEIBULL(.5,2,-1) |
#NUM! |
=R.QWEIBULL(0,0,3) |
#NUM! |
=R.QWEIBULL(0,2,3,TRUE(),TRUE()) |
#NUM! |
=R.QWEIBULL(1,2,3,TRUE(),TRUE()) |
#NUM! |
=R.QWEIBULL("abc",2,3) |
#VALUE! |
=R.QWEIBULL(F5,2,3) |
0 |
=R.QWEIBULL(.5,2) |
#N/A |
=R.QWEIBULL(.5,2,3,0,0,1) |
#N/A |
Official evidence and checking scope
- Current worksheet callback
- Tested-version worksheet callback
- Current qweibull calculation
- Tested-version qweibull calculation
- Nonfinite worksheet-value handling
- Statistical Functions From R plugin declaration
- Quantile boundary convention
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.