| One-way ANOVA | 14 | 14 passed | 1.2e-4 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov; Holm-Šídák step-down on pooled-SD t tests computed in anova.R [validation/r/anova.R]; NIST StRD certified valuesCases- pass PlantGrowth (Dobson 1983): ctrl, trt1, trt2 (n = 10 each) (source), max relative error 1.1e-8, tolerance 1e-9
18 quantities compared; worst relative error 1.12e-8 on ctrl-trt1 Holm-Šídák P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass chickwts: 6 feeds, unequal n (10-14), casein = control/first column (source), max relative error 3.5e-8, tolerance 1e-9
54 quantities compared; worst relative error 3.52e-8 on casein-sunflower Holm-Šídák P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass InsectSprays (Beall 1942): 6 sprays, counts with many ties (source), max relative error 2.0e-8, tolerance 1e-9
54 quantities compared; worst relative error 1.99e-8 on C-D Holm-Šídák P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass NIST StRD SiRstv (25 observations) (source), max relative error 8.7e-14, tolerance 1e-9
9 quantities compared; worst relative error 8.73e-14 on F. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 13.1. Raw file validation/reference/nist/anova/SiRstv.dat. - pass NIST StRD SmLs01 (189 observations) (source), max relative error 7.4e-16, tolerance 1e-9
9 quantities compared; worst relative error 7.40e-16 on SS within. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 15.0. Raw file validation/reference/nist/anova/SmLs01.dat. - pass NIST StRD SmLs02 (1809 observations) (source), max relative error 1.0e-15, tolerance 1e-9
9 quantities compared; worst relative error 1.04e-15 on MS within. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 15.0. Raw file validation/reference/nist/anova/SmLs02.dat. - pass NIST StRD SmLs03 (18009 observations) (source), max relative error 1.8e-14, tolerance 1e-9
9 quantities compared; worst relative error 1.85e-14 on SS within. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 13.7. Raw file validation/reference/nist/anova/SmLs03.dat. - pass NIST StRD SmLs04 (189 observations) (source), max relative error 8.9e-11, tolerance 1e-9
9 quantities compared; worst relative error 8.87e-11 on SS between. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 10.1. Raw file validation/reference/nist/anova/SmLs04.dat. - pass NIST StRD SmLs05 (1809 observations) (source), max relative error 1.1e-10, tolerance 1e-9
9 quantities compared; worst relative error 1.14e-10 on SS between. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 9.9. Raw file validation/reference/nist/anova/SmLs05.dat. - pass NIST StRD SmLs06 (18009 observations) (source), max relative error 1.2e-10, tolerance 1e-9
9 quantities compared; worst relative error 1.16e-10 on SS between. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 9.9. Raw file validation/reference/nist/anova/SmLs06.dat. - pass NIST StRD SmLs07 (189 observations) (source), max relative error 9.3e-5, tolerance 1e-3
11 quantities compared; worst relative error 9.30e-5 on SS between. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 4.0. Raw file validation/reference/nist/anova/SmLs07.dat. Data have 13 significant digits at 0.1 resolution, below binary64 resolution at 1e12 (ulp 1.2e-4); certified values compared at 1e-3, and the sums of squares compared at 1e-12 with exact rational arithmetic on the binary64 inputs Plotvera receives. - pass NIST StRD SmLs08 (1809 observations) (source), max relative error 1.2e-4, tolerance 1e-3
11 quantities compared; worst relative error 1.19e-4 on SS between. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 3.9. Raw file validation/reference/nist/anova/SmLs08.dat. Data have 13 significant digits at 0.1 resolution, below binary64 resolution at 1e12 (ulp 1.2e-4); certified values compared at 1e-3, and the sums of squares compared at 1e-12 with exact rational arithmetic on the binary64 inputs Plotvera receives. - pass NIST StRD SmLs09 (18009 observations) (source), max relative error 1.2e-4, tolerance 1e-3
11 quantities compared; worst relative error 1.22e-4 on SS between. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 3.9. Raw file validation/reference/nist/anova/SmLs09.dat. Data have 13 significant digits at 0.1 resolution, below binary64 resolution at 1e12 (ulp 1.2e-4); certified values compared at 1e-3, and the sums of squares compared at 1e-12 with exact rational arithmetic on the binary64 inputs Plotvera receives. - pass NIST StRD AtmWtAg (48 observations) (source), max relative error 7.0e-11, tolerance 1e-9
9 quantities compared; worst relative error 7.00e-11 on F. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum log relative error (LRE, digits of agreement with the certified values) 10.2. Raw file validation/reference/nist/anova/AtmWtAg.dat.
|
| One-way ANOVA (Dunnett vs first column) | 3 | 3 passed | 5.4e-5 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): multcomp::glht(mcp(g = "Dunnett")) + mvtnorm::qmvt, mvtnorm::GenzBretz(maxpts = 5e5, abseps = 1e-5), seed 20261001 [validation/r/anova.R]Cases- pass PlantGrowth (Dobson 1983): ctrl, trt1, trt2 (n = 10 each) (source), max relative error 5.4e-5, tolerance 1e-9
8 quantities compared; worst relative error 5.44e-5 on trt2-ctrl CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The R reference is a randomised quasi-Monte-Carlo integral (reported abs. error 1.0e-15), so adjusted P values are compared absolutely at 0.00005 and simultaneous CI bounds at 1e-4 relative to the half-width; mean differences at 1e-9. - pass chickwts: 6 feeds, unequal n (10-14), casein = control/first column (source), max relative error 1.9e-5, tolerance 1e-9
20 quantities compared; worst relative error 1.88e-5 on sunflower-casein CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The R reference is a randomised quasi-Monte-Carlo integral (reported abs. error 9.6e-6), so adjusted P values are compared absolutely at 0.00005 and simultaneous CI bounds at 1e-4 relative to the half-width; mean differences at 1e-9. - pass InsectSprays (Beall 1942): 6 sprays, counts with many ties (source), max relative error 3.7e-5, tolerance 1e-9
20 quantities compared; worst relative error 3.70e-5 on F-A CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The R reference is a randomised quasi-Monte-Carlo integral (reported abs. error 9.6e-6), so adjusted P values are compared absolutely at 0.00005 and simultaneous CI bounds at 1e-4 relative to the half-width; mean differences at 1e-9.
|
| One-way ANOVA (log10 test scale) | 1 | 1 passed | 8.8e-13 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov(log10(y) ~ g) [validation/r/anova.R]Cases- pass PlantGrowth, log10-transformed before testing (Plotvera test-scale option) (source), max relative error 8.8e-13, tolerance 1e-9
5 quantities compared; worst relative error 8.76e-13 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| One-way ANOVA (Tukey HSD) | 3 | 3 passed | 8.0e-11 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::TukeyHSD (ptukey/qtukey) [validation/r/anova.R]Cases- pass PlantGrowth (Dobson 1983): ctrl, trt1, trt2 (n = 10 each) (source), max relative error 8.7e-12, tolerance 1e-9
12 quantities compared; worst relative error 8.74e-12 on ctrl-trt1 CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tukey-Kramer for unequal n. Mean differences 1e-9; CI bounds 0.000001 of the half-width; adjusted P values 1e-10 absolute because R's ptukey and Plotvera's (jStat port of it) are both 16-point Gauss-Legendre integrals with the upper tail formed as 1 - CDF (see numerical.distributions ptukeyUpper). - pass chickwts: 6 feeds, unequal n (10-14), casein = control/first column (source), max relative error 7.8e-11, tolerance 1e-9
60 quantities compared; worst relative error 7.82e-11 on casein-sunflower CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tukey-Kramer for unequal n. Mean differences 1e-9; CI bounds 0.000001 of the half-width; adjusted P values 1e-10 absolute because R's ptukey and Plotvera's (jStat port of it) are both 16-point Gauss-Legendre integrals with the upper tail formed as 1 - CDF (see numerical.distributions ptukeyUpper). - pass InsectSprays (Beall 1942): 6 sprays, counts with many ties (source), max relative error 8.0e-11, tolerance 1e-9
60 quantities compared; worst relative error 8.03e-11 on C-D CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tukey-Kramer for unequal n. Mean differences 1e-9; CI bounds 0.000001 of the half-width; adjusted P values 1e-10 absolute because R's ptukey and Plotvera's (jStat port of it) are both 16-point Gauss-Legendre integrals with the upper tail formed as 1 - CDF (see numerical.distributions ptukeyUpper).
|
| Two-way ANOVA (Type III) | 3 | 3 passed | 1.3e-7 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): car::Anova(lm(y ~ A * B, contrasts = contr.sum), type = 3) [validation/r/anova.R]Cases- pass ToothGrowth (Crampton 1947): rows supp (OJ, VC) x columns dose (0.5, 1, 2), n = 10 per cell (source), max relative error 8.6e-9, tolerance 1e-9
14 quantities compared; worst relative error 8.62e-9 on P A. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Type III sums of squares (sum-to-zero contrasts); balanced, so equal to sequential SS. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass warpbreaks (Tippett 1950): rows tension (L, M, H) x columns wool (A, B), n = 9 per cell (source), max relative error 1.3e-7, tolerance 1e-9
14 quantities compared; worst relative error 1.34e-7 on P B. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Type III sums of squares (sum-to-zero contrasts); balanced, so equal to sequential SS. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass warpbreaks with rows 1, 2, 3, 20, 47 removed (unbalanced: Type III SS) (source), max relative error 2.2e-8, tolerance 1e-9
14 quantities compared; worst relative error 2.21e-8 on P B. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Type III sums of squares (sum-to-zero contrasts); unbalanced design. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| Two-way ANOVA, repeated measures (columns repeated) | 1 | 1 passed | 9.3e-10 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov(y ~ A * B + Error(S/B)) (split-plot); car::Anova(mlm, idata, idesign = ~B, type = 3) for Greenhouse-Geisser [validation/r/anova.R]Cases- pass CO2 uptake (Potvin et al. 1990): rows Type (between, 6 plants each) x columns conc (7 levels, repeated within plant) (source), max relative error 9.3e-10, tolerance 1e-9
15 quantities compared; worst relative error 9.31e-10 on P AB (GG). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Huynh-Feldt compared with the Huynh & Feldt (1976) split-plot formula (N subjects, g groups); car's Lecoutre variant is 0.38584374200433724. Fixed in this release: Plotvera previously used N - 1 instead of N - g (see regression test below). Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| Area under curve (trapezoid) (signed areas) / smooth (Savitzky-Golay) | 1 | 1 passed | 4.1e-14 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): net trapezoid area; positive/negative areas split at linear zero crossings; Savitzky-Golay = local quadratic lm() fit over 7 points (interior points) [validation/r/misc.R]Cases- pass nottem 1920-1921 monthly temperature minus its mean (crosses zero) (source), max relative error 4.1e-14, tolerance 1e-9
21 quantities compared; worst relative error 4.10e-14 on Savitzky-Golay(7) at month 16. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Positive/negative areas split segments at linear zero crossings. Savitzky-Golay (engine smoothXY, window 7, quadratic) compared at interior points only: Plotvera clamps the window at the ends (repeats the end value), a convention with no R equivalent; the R reference is an explicit local quadratic least-squares fit, independent of the tabulated coefficients. Smoothed values scaled by max(|value|, 1).
|
| Area under curve (trapezoid) / integral / derivative / smooth | 1 | 1 passed | 2.2e-16 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): trapezoid sum(diff(x)*(y[-n]+y[-1])/2); cumsum; central differences (forward/backward at ends); zoo::rollapply(y, 5, mean, partial = TRUE) [validation/r/misc.R]Cases- pass Indometh subject 1: conc vs time (11 unequally spaced points) (source), max relative error 2.2e-16, tolerance 1e-9
35 quantities compared; worst relative error 2.19e-16 on moving average (window 5) at row 6. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Trapezoidal rule; central differences with one-sided ends; centred moving average whose window shrinks at the ends (zoo::rollapply partial = TRUE). Cumulative areas scaled by the total area.
|
| Bland-Altman agreement | 1 | 1 passed | 2.0e-9 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): bias = mean(d); LoA = bias +/- 1.96 SD (Bland & Altman 1986); CIs: bias +/- t SD/sqrt(n), LoA +/- t sqrt(3 SD^2/n) (Bland & Altman 1986) [validation/r/misc.R]Cases- pass sleep: drug 1 vs drug 2 treated as two methods on 10 patients (source), max relative error 2.0e-9, tolerance 1e-9
10 quantities compared; worst relative error 2.02e-9 on bias 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Limits of agreement use the conventional 1.96 multiplier, and their CIs the approximate SE sqrt(3 s²/n), both from Bland & Altman (1986); the R reference uses the same definitions (the 1999 paper's sqrt(1/n + 1.96²/(2(n-1))) gives slightly narrower intervals). Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001.
|
| Check data: Grubbs (replicates / subjects) | 6 | 6 passed | 4.9e-9 | R 4.3.3 (outliers 0.15): outliers::grubbs.test(x, type = 10, two.sided = TRUE); critical value outliers::qgrubbs(0.975, n) [validation/r/qc.R]Cases- pass ELISA OD450 triplicate with one bad well (synthetic) (source), max relative error 1.1e-13, tolerance 1e-9
8 quantities compared; worst relative error 1.07e-13 on P (two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The flag is G > critical value; the P value is outliers::grubbs.test(two.sided = TRUE), ie 2·n·(1 − pt(t, n − 2)). Tolerances: G, mean, SD, CV 1e-9; critical value and P 0.000001. - pass Triplicate with one extreme replicate (synthetic) (source), max relative error 1.6e-13, tolerance 1e-9
8 quantities compared; worst relative error 1.64e-13 on P (two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The flag is G > critical value; the P value is outliers::grubbs.test(two.sided = TRUE), ie 2·n·(1 − pt(t, n − 2)). Tolerances: G, mean, SD, CV 1e-9; critical value and P 0.000001. - pass Clean ELISA triplicate (synthetic) (source), max relative error 5.3e-12, tolerance 1e-9
8 quantities compared; worst relative error 5.25e-12 on P (two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The flag is G > critical value; the P value is outliers::grubbs.test(two.sided = TRUE), ie 2·n·(1 − pt(t, n − 2)). Tolerances: G, mean, SD, CV 1e-9; critical value and P 0.000001. - pass qPCR quadruplicate with one high well (synthetic) (source), max relative error 2.1e-14, tolerance 1e-9
8 quantities compared; worst relative error 2.15e-14 on P (two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The flag is G > critical value; the P value is outliers::grubbs.test(two.sided = TRUE), ie 2·n·(1 − pt(t, n − 2)). Tolerances: G, mean, SD, CV 1e-9; critical value and P 0.000001. - pass Tumour volume, 6 mice, one far out (synthetic) (source), max relative error 7.0e-11, tolerance 1e-9
8 quantities compared; worst relative error 7.02e-11 on critical value (alpha 0.05, two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The flag is G > critical value; the P value is outliers::grubbs.test(two.sided = TRUE), ie 2·n·(1 − pt(t, n − 2)). Tolerances: G, mean, SD, CV 1e-9; critical value and P 0.000001. - pass Michelson speed of light, experiment 1 (datasets::morley, n = 20) (source), max relative error 4.9e-9, tolerance 1e-9
8 quantities compared; worst relative error 4.88e-9 on P (two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The flag is G > critical value; the P value is outliers::grubbs.test(two.sided = TRUE), ie 2·n·(1 − pt(t, n − 2)). Tolerances: G, mean, SD, CV 1e-9; critical value and P 0.000001.
|
| Check data: replicate CV | 3 | 3 passed | 0 (identical) | R 4.3.3 (outliers 0.15): stats::sd(x) / mean(x) * 100 (n - 1 denominator) [validation/r/qc.R]Cases- pass replicates 20, 31, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. CV = SD (n − 1 denominator) / mean × 100. - pass replicates 10, 12, 14, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. CV = SD (n − 1 denominator) / mean × 100. - pass replicates 0.452, 0.468, 0.445, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. CV = SD (n − 1 denominator) / mean × 100.
|
| Check data: robust screen (MAD + BH, Q = 1%) | 1 | 1 passed | 4.2e-16 | R 4.3.3 (outliers 0.15): robust z = |x - median|/(MAD/0.6745), 2 * pnorm(-z), stats::p.adjust(method = 'BH'), flagged at adjusted P <= 0.01 [validation/r/qc.R]Cases- pass Tumour volume, 6 mice (synthetic), max relative error 4.2e-16, tolerance 1e-9
20 quantities compared; worst relative error 4.24e-16 on P 2. The same rule as the validated "Robust FDR outlier screening" analysis (rout.*). It is Plotvera's stand-in for Prism's ROUT, which it does not reproduce.
|
| Chi-square upper-tail P value | 1 | 1 passed | 4.1e-11 | R 4.3.3: pchisq(x, df, lower.tail = FALSE) [validation/r/distributions.R]Cases- pass 54-point grid of arguments (validation/r/distributions.R), max relative error 4.1e-11, tolerance 1e-6
54 quantities compared; worst relative error 4.13e-11 on pChi(40, 2). Tolerance 0.000001, relative; probabilities use |a - e| / max(e, 0.000001) so P values below 0.000001 are held to 1e-12 absolute (upper tails are 1 - CDF: values below ~1e-16 return 0, displayed "< 0.0001").
|
| Chi-square / Fisher exact | 4 | 4 passed | 4.7e-14 | R 4.3.3: stats::fisher.test (two-sided); stats::chisq.test(correct = TRUE); sample odds ratio ad/bc [validation/r/contingency.R]; R 4.3.3: stats::chisq.test(m) (Pearson, no continuity correction for r x c) [validation/r/contingency.R]; R 4.3.3: stats::chisq.test(m) [validation/r/contingency.R]Cases- pass Fisher's Lady Tasting Tea (Fisher 1935; R ?fisher.test): 3, 1 / 1, 3 (source), max relative error 4.7e-14, tolerance 1e-9
5 quantities compared; worst relative error 4.65e-14 on Yates P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera reports the sample odds ratio (ad/bc = 9); R's fisher.test estimate is the conditional MLE (6.408308867005788), a different estimator, so the sample OR is compared with its definition. The Baptista-Pike OR CI has no independent reference here (exact2x2 not installed). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass Convictions of like-sex twins of criminals (Fisher 1962; R ?fisher.test): 2, 10 / 15, 3 (source), max relative error 3.2e-14, tolerance 1e-9
5 quantities compared; worst relative error 3.21e-14 on Yates P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera reports the sample odds ratio (ad/bc = 0.04); R's fisher.test estimate is the conditional MLE (0.04693660882769891), a different estimator, so the sample OR is compared with its definition. The Baptista-Pike OR CI has no independent reference here (exact2x2 not installed). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass HairEyeColor summed over sex: 4 hair x 4 eye colours (n = 592) (source), max relative error 2.3e-19, tolerance 1e-9
3 quantities compared; worst relative error 2.33e-19 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass HairEyeColor black/brown hair x brown/blue/hazel eyes (2 x 3) (source), max relative error 1.1e-14, tolerance 1e-9
3 quantities compared; worst relative error 1.06e-14 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001.
|
| Correlation matrix | 1 | 1 passed | 7.9e-9 | R 4.3.3: stats::cor; stats::cor.test per pair [validation/r/regression.R]Cases- pass mtcars mpg, disp, hp, wt, qsec (n = 32) (source), max relative error 7.9e-9, tolerance 1e-9
45 quantities compared; worst relative error 7.92e-9 on P mpg-qsec. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| Cox proportional hazards | 4 | 4 passed | 1.8e-10 | R 4.3.3 (survival 3.5.8): survival::coxph(ties = 'efron', eps = 1e-11) [validation/r/survival.R]Cases- pass survival::aml: acute myelogenous leukaemia, Maintained (reference) vs Nonmaintained, n = 23 (source), max relative error 1.2e-10, tolerance 1e-8
11 quantities compared; worst relative error 1.25e-10 on LR P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Partial-likelihood Newton iterations on both sides, so estimates are held to 1e-8; P values and CI bounds 0.000001. - pass survival::ovarian: rx 1 (reference) vs rx 2, n = 26 (source), max relative error 1.1e-12, tolerance 1e-8
11 quantities compared; worst relative error 1.07e-12 on Wald P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Partial-likelihood Newton iterations on both sides, so estimates are held to 1e-8; P values and CI bounds 0.000001. - pass survival::lung: male (reference) vs female, n = 228, status 2 = death (source), max relative error 6.0e-14, tolerance 1e-8
11 quantities compared; worst relative error 5.99e-14 on LR P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Partial-likelihood Newton iterations on both sides, so estimates are held to 1e-8; P values and CI bounds 0.000001. - pass survival::veteran: standard (reference) vs test chemotherapy, n = 137 (source), max relative error 1.8e-10, tolerance 1e-8
11 quantities compared; worst relative error 1.77e-10 on LR chi-square. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Partial-likelihood Newton iterations on both sides, so estimates are held to 1e-8; P values and CI bounds 0.000001.
|
| curvefit: boltzmann | 1 | 1 passed | 1.9e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + exp((V - x)/S))), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass DNase run 1: density vs ln(conc) (Boltzmann = SSfpl form) (source), max relative error 1.9e-8, tolerance 1e-4
22 quantities compared; worst relative error 1.89e-8 on Bottom CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 3.7e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: dose3pl | 1 | 1 passed | 1.2e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + 10^(L - x))), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass DNase run 1: density vs log10(conc), Hill slope fixed at 1 (source), max relative error 1.2e-8, tolerance 1e-4
18 quantities compared; worst relative error 1.21e-8 on Bottom. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 3.3e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: dose4pl | 1 | 1 passed | 7.3e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + 10^((L - x) * H))), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass DNase run 1: density vs log10(conc), n = 16 (source), max relative error 7.3e-8, tolerance 1e-4
22 quantities compared; worst relative error 7.26e-8 on Bottom. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 1.1e-8. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: dose5pl | 1 | 1 passed | 2.0e-7 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + 10^((L - x) * H))^S), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass DNase run 1: density vs log10(conc), asymmetric 5PL (source), max relative error 2.0e-7, tolerance 1e-4
26 quantities compared; worst relative error 2.02e-7 on LogC CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 3.8e-8. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). S: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: expdecay | 1 | 1 passed | 2.7e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ P + (Y0 - P) * exp(-K * x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Indometh subject 1: plasma conc vs time (h), n = 11 (source), max relative error 2.7e-8, tolerance 1e-4
18 quantities compared; worst relative error 2.72e-8 on Plateau CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 6.1e-11. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). K: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: expgrow | 1 | 1 passed | 5.2e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ Y0 * exp(K * x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass uspop 1790-1870 (millions) vs years since 1790, n = 9 (source), max relative error 5.2e-8, tolerance 1e-4
14 quantities compared; worst relative error 5.18e-8 on Y0 CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 7.3e-11. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: expplateau | 1 | 1 passed | 4.1e-9 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ M - (M - Y0) * exp(-K * x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Loblolly pine height vs age, exponential plateau form (source), max relative error 4.1e-9, tolerance 1e-4
18 quantities compared; worst relative error 4.07e-9 on K CI upper (log scale). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 1.1e-13. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). K: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: gaussian | 2 | 2 passed | 6.2e-9 | NIST StRD certified values; R 4.3.3 (drc 4.0.0): stats::nls(y ~ A * exp(-0.5 * ((x - M)/S)^2)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass NIST StRD Eckerle4 (n = 35) (source), max relative error 6.2e-9, tolerance 1e-5
6 quantities compared; worst relative error 6.25e-9 on SE Mean. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. NIST (b1/b2)·exp(-0.5((x-b3)/b2)²) = Gaussian with Amplitude b1/b2, Mean b3, SD b2; the Amplitude SE needs the b1-b2 covariance, which NIST does not certify, so it is not compared. Minimum LRE 8.2. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. - pass NIST Eckerle4 transmittance vs wavelength (n = 35), Gaussian peak (source), max relative error 5.9e-9, tolerance 1e-4
18 quantities compared; worst relative error 5.92e-9 on Mean SE. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 5.8e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). SD: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: hill | 1 | 1 passed | 1.9e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ V * x^h/(K^h + x^h)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Puromycin treated, Hill equation (source), max relative error 1.9e-8, tolerance 1e-4
18 quantities compared; worst relative error 1.92e-8 on K SE. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 4.3e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). K, n: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: logarithmic | 1 | 1 passed | 9.8e-10 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ A + B * log(x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Puromycin untreated: rate vs ln(conc), n = 11 (source), max relative error 9.8e-10, tolerance 1e-4
14 quantities compared; worst relative error 9.76e-10 on B CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 4.9e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: loglogistic | 1 | 1 passed | 4.6e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + (x/E)^(-H))), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass drc::ryegrass root length vs ferulic acid conc (mM, linear scale incl. 0), n = 24 (source), max relative error 4.6e-8, tolerance 1e-4
22 quantities compared; worst relative error 4.65e-8 on Bottom CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 1.0e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). EC50: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: loglogistic3 | 1 | 1 passed | 2.9e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + E/x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Puromycin treated, 3-parameter log-logistic (slope 1) (source), max relative error 2.9e-8, tolerance 1e-4
18 quantities compared; worst relative error 2.91e-8 on Bottom CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 2.1e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). EC50: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: loglogistic5 | 1 | 1 passed | 5.7e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ B + (T - B)/(1 + (x/C)^(-H))^S), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass drc::ryegrass, asymmetric 5-parameter log-logistic (source), max relative error 5.7e-8, tolerance 1e-4
26 quantities compared; worst relative error 5.70e-8 on S CI upper (log scale). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 2.7e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). C, S: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: mm | 2 | 2 passed | 1.4e-8 | NIST StRD certified values; R 4.3.3 (drc 4.0.0): stats::nls(y ~ V * x/(K + x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass NIST StRD Misra1d (n = 14) (source), max relative error 2.7e-9, tolerance 1e-5
5 quantities compared; worst relative error 2.75e-9 on SE Km = SD(b2)/b2². Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. NIST b1·b2·x/(1 + b2·x) = Michaelis-Menten Vmax·x/(Km + x) with Vmax = b1, Km = 1/b2 (SE by the exact linearised transform SE(b2)/b2²). Minimum LRE 8.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. - pass Puromycin treated: rate vs substrate conc (ppm), n = 12 (source), max relative error 1.4e-8, tolerance 1e-4
14 quantities compared; worst relative error 1.41e-8 on Km CI lower (log scale). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 5.2e-10. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). Km: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: onephaseassoc | 1 | 1 passed | 5.0e-9 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ Y0 + (P - Y0) * (1 - exp(-K * x))), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Loblolly pine height (ft) vs age (yr), 14 trees pooled, n = 84 (source), max relative error 5.0e-9, tolerance 1e-4
18 quantities compared; worst relative error 4.99e-9 on K CI upper (log scale). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 1.3e-11. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). K: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: poly2 | 2 | 2 passed | 3.4e-8 | NIST StRD certified values; R 4.3.3 (drc 4.0.0): stats::nls(y ~ b0 + b1 * x + b2 * x^2), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass NIST StRD Pontius (n = 40) (source), max relative error 3.5e-10, tolerance 1e-9
14 quantities compared; worst relative error 3.48e-10 on B0 (curve fit, LM). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Closed-form polynomial (fitWizard polynomialFit) held to 1e-9; the built-in poly2 curve fit is solved iteratively by Levenberg-Marquardt, so its estimates are held to 1e-6, SDs 1e-4, residual SD 1e-8. Minimum LRE 9.5. Raw file validation/reference/nist/lls/Pontius.dat. - pass cars: stopping distance (ft) vs speed (mph), n = 50 (source), max relative error 3.4e-8, tolerance 1e-4
18 quantities compared; worst relative error 3.42e-8 on B2 CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 6.4e-16. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: poly3 | 1 | 1 passed | 4.1e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ b0 + b1 * x + b2 * x^2 + b3 * x^3), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass cars: cubic in speed (source), max relative error 4.1e-8, tolerance 1e-4
22 quantities compared; worst relative error 4.11e-8 on B0. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 2.8e-15. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: power | 2 | 2 passed | 1.8e-8 | NIST StRD certified values; R 4.3.3 (drc 4.0.0): stats::nls(y ~ a * x^b), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass NIST StRD DanWood (n = 6) (source), max relative error 5.5e-10, tolerance 1e-5
5 quantities compared; worst relative error 5.55e-10 on a = b1. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Built-in power law a·X^b = NIST b1·x^b2, automatic starts. Minimum LRE 9.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. - pass Puromycin treated: power law rate = a * conc^b (source), max relative error 1.8e-8, tolerance 1e-4
14 quantities compared; worst relative error 1.76e-8 on b CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 2.5e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| curvefit: sine | 1 | 1 passed | 1.5e-8 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ O + A * sin(2 * pi * x/W + P)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass nottem: Nottingham monthly mean temperature (F), 1920-1922, vs month index (source), max relative error 1.5e-8, tolerance 1e-4
22 quantities compared; worst relative error 1.52e-8 on Phase CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 2.1e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). Wavelength: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| curvefit: twophasedecay | 1 | 1 passed | 1.1e-7 | R 4.3.3 (drc 4.0.0): stats::nls(y ~ P + Af * exp(-Kf * x) + As * exp(-Ks * x)), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- pass Indometh all 6 subjects pooled, n = 66 (source), max relative error 1.1e-7, tolerance 1e-4
26 quantities compared; worst relative error 1.09e-7 on Plateau CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 5.9e-10. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header). Afast, Aslow, Kslow: constrained positive and fitted in log10 coordinates, so Plotvera reports the CI on the log scale, exp(log(est) ± t·SE/est); compared with that interval computed in nonlinear.R from R's estimate and SE (R's symmetric Wald interval is a different, legitimate choice).
|
| Fit your own equation | 86 | 47 passed 39 known limitations | 2.0e-5 | NIST StRD certified values; R 4.3.3 (drc 4.0.0): stats::nls(y ~ A * exp(-k * x) + C), then Gauss-Newton polish with analytic gradient (stats::deriv); Wald CI estimate +/- qt(0.975, df) SE [validation/r/nonlinear.R]Cases- known limitation NIST StRD NoInt1 (n = 11) (source), tolerance 1e-6
NOT MATCHED. KNOWN LIMITATION: Plotvera withholds a fit whose centred R² is negative ("fits worse than the response mean"). For this no-intercept model that R² is -0.157 while NIST certifies the uncentred R²; the estimate B1 = 2.074380165302 itself agrees with the certified value to 11 digits. Plotvera output: Fitted Custom fit. R² = -0.15702479338842767, Sy.x = 3.5675303400633758. B1 = 2.074380165302114. Note: the numerical candidate fits worse than the response mean and is unavailable for citation. - pass NIST StRD NoInt2 (n = 3) (source), max relative error 2.1e-11, tolerance 1e-6
3 quantities compared; worst relative error 2.15e-11 on B1. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Entered as a user equation and solved by Levenberg-Marquardt from Plotvera's automatic starting values: estimates 1e-6, SDs 1e-4, residual SD 1e-8. Minimum LRE 10.7. Raw file validation/reference/nist/lls/NoInt2.dat. - pass NIST StRD Wampler1 (n = 21) (source), max relative error 0 (identical), tolerance 1e-6
13 quantities compared. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Entered as a user equation and solved by Levenberg-Marquardt from Plotvera's automatic starting values: estimates 1e-6, SDs 1e-4, residual SD 1e-8 (exact-fit problem: certified residual SD and parameter SDs are 0, compared absolutely). Minimum LRE 15.0. Raw file validation/reference/nist/lls/Wampler1.dat. - known limitation NIST StRD Wampler2 (n = 21) (source), max relative error 3.6e-4, tolerance 1e-6
KNOWN LIMITATION: Exact-fit data (certified residual ~0): the optimiser stops once SSR <= 1e-12 x total SS ("Converged: residuals reached the error tolerance"), which leaves the estimates correct to only 2-5 significant digits. Minimum LRE 3.4. NOT MATCHED: B0 0.9999912762242609 vs 1; B0 SD 0.000002507542892674518 vs 0; B1 0.10001029031708633 vs 0.1; B1 SD 0.000002753628714199255 vs 0. - known limitation NIST StRD Wampler3 (n = 21) (source), tolerance 1e-6
NOT MATCHED. KNOWN LIMITATION: Reported "did not fully converge" (iteration limit) on this ill-conditioned degree-5 polynomial entered as a custom equation; Plotvera has no linear least-squares polynomial above degree 3. Plotvera output: Fitted Custom fit. R² = 0.9999955590258199, Sy.x = 2360.145023792655. B0 = 0.9999965053192701, B1 = 1.0000017078595758, B2 = 0.9999985973164451, B3 = 0.9999996408481227, B4 = 1.0000000476061588, B5 = 0.9999999987001327. Note: the fit did not fully converge. - known limitation NIST StRD Wampler4 (n = 21) (source), tolerance 1e-6
NOT MATCHED. KNOWN LIMITATION: The automatic start (all parameters 1) is already the certified solution; a fit that cannot improve on its start is not labelled converged, so Plotvera withholds it. Plotvera output: Fitted Custom fit. R² = 0.9574784408256621, Sy.x = 236014.50237926765. B0 = 1, B1 = 1, B2 = 1, B3 = 1, B4 = 1, B5 = 1. Note: the fit did not fully converge. - known limitation NIST StRD Wampler5 (n = 21) (source), tolerance 1e-6
NOT MATCHED. KNOWN LIMITATION: The automatic start (all parameters 1) is already the certified solution; a fit that cannot improve on its start is not labelled converged, so Plotvera withholds it. Plotvera output: Fitted Custom fit. R² = 0.0022466892157494422, Sy.x = 23601450.237926763. B0 = 1, B1 = 1, B2 = 1, B3 = 1, B4 = 1, B5 = 1. Note: the fit did not fully converge. - known limitation NIST StRD Filip (n = 82) (source), tolerance 1e-6
NOT MATCHED. KNOWN LIMITATION: Degree-10 polynomial: refused by the custom-fit work budget; Plotvera has no linear least-squares polynomial above degree 3. Plotvera output: Custom nonlinear fitting was not run because the combination of 82 points, 11 fitted parameters, and 29 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - pass NIST StRD Misra1a (Lower difficulty, n = 14) (source), max relative error 5.5e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 500, 0.0001. Converged flag: yes (restart-stable). Minimum LRE 6.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.12455138894773993 (certified 0.12455138894). - pass NIST StRD Misra1a (Lower difficulty, n = 14) (source), max relative error 5.4e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 250, 0.0005. Converged flag: yes (restart-stable). Minimum LRE 6.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.1245513889450045 (certified 0.12455138894). - known limitation NIST StRD Misra1a (Lower difficulty, n = 14) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 6761.787892857142 (certified 0.12455138894). NOT MATCHED: b1 43.34071428569311 vs 238.94212918; b2 1 vs 0.00055015643181; b1 SD NaN vs 2.7070075241; b2 SD NaN vs 0.0000072668688436; .... - known limitation NIST StRD Chwirut2 (Lower difficulty, n = 54) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: From this start Plotvera stops away from the minimum and now says so ("not a least-squares minimum"; before this release it was labelled converged); no estimates are offered as converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 0.1, 0.01, 0.02. Converged flag: no (not-stationary). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 14794.790154797307 (certified 513.04802941). NOT MATCHED: b1 0.1 vs 0.16657666537; b2 0.01 vs 0.0051653291286; b3 0.02 vs 0.012150007096; b1 SD NaN vs 0.03830328681; .... - pass NIST StRD Chwirut2 (Lower difficulty, n = 54) (source), max relative error 1.4e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.15, 0.008, 0.01. Converged flag: yes (restart-stable). Minimum LRE 7.8. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 513.0480294068652 (certified 513.04802941). - known limitation NIST StRD Chwirut2 (Lower difficulty, n = 54) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 55588.217071901665 (certified 513.04802941). NOT MATCHED: b1 0.15759413995466143 vs 0.16657666537; b2 -0.10251876378311489 vs 0.0051653291286; b3 0.269945951850058 vs 0.012150007096; b1 SD NaN vs 0.03830328681; .... - known limitation NIST StRD Chwirut1 (Lower difficulty, n = 214) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: From this start Plotvera stops away from the minimum and now says so ("not a least-squares minimum"; before this release it was labelled converged); no estimates are offered as converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 0.1, 0.01, 0.02. Converged flag: no (not-stationary). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 50068.64891449799 (certified 2384.4771393). NOT MATCHED: b1 0.1 vs 0.1902781837; b2 0.01 vs 0.0061314004477; b3 0.02 vs 0.010530908399; b1 SD NaN vs 0.021938557035; .... - pass NIST StRD Chwirut1 (Lower difficulty, n = 214) (source), max relative error 3.3e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.15, 0.008, 0.01. Converged flag: yes (restart-stable). Minimum LRE 7.5. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 2384.4771393093565 (certified 2384.4771393). - known limitation NIST StRD Chwirut1 (Lower difficulty, n = 214) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 198912.56601201804 (certified 2384.4771393). NOT MATCHED: b1 0.03658103328235077 vs 0.1902781837; b2 -0.07437481865803273 vs 0.0061314004477; b3 0.22337295448271693 vs 0.010530908399; b1 SD NaN vs 0.021938557035; .... - known limitation NIST StRD Lanczos3 (Lower difficulty, n = 24) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Iteration limit reached without a stable solution; reported as not converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1.2, 0.3, 5.6, 5.5, 6.5, 7.6. Converged flag: no (iteration-limit). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1.611719359360658e-8 (certified 1.6117193594e-8). NOT MATCHED: b1 SD NaN vs 0.017197908859; b2 SD NaN vs 0.097041624475; b3 SD NaN vs 0.041488663282; b4 SD NaN vs 0.10766312506; .... - pass NIST StRD Lanczos3 (Lower difficulty, n = 24) (source), max relative error 1.0e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.5, 0.7, 3.6, 4.2, 4, 6.3. Converged flag: yes (restart-stable). Minimum LRE 6.0. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1.6117193593570107e-8 (certified 1.6117193594e-8). - pass NIST StRD Lanczos3 (Lower difficulty, n = 24) (source), max relative error 7.8e-7, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 6.1. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1.6117193593539686e-8 (certified 1.6117193594e-8). - pass NIST StRD Gauss1 (Lower difficulty, n = 250) (source), max relative error 1.2e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 97, 0.009, 100, 65, 20, 70, 178, 16.5. Converged flag: yes (restart-stable). Minimum LRE 6.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1315.8222432036198 (certified 1315.8222432). - pass NIST StRD Gauss1 (Lower difficulty, n = 250) (source), max relative error 1.1e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 94, 0.0105, 99, 63, 25, 71, 180, 20. Converged flag: yes (restart-stable). Minimum LRE 7.0. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1315.8222432035996 (certified 1315.8222432). - known limitation NIST StRD Gauss1 (Lower difficulty, n = 250) (source)
KNOWN LIMITATION, NOT RUN through the user path: Custom nonlinear fitting was not run because the combination of 250 points, 8 fitted parameters, and 20 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - pass NIST StRD Gauss2 (Lower difficulty, n = 250) (source), max relative error 1.3e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 96, 0.009, 103, 106, 18, 72, 151, 18. Converged flag: yes (restart-stable). Minimum LRE 7.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1247.5282092309988 (certified 1247.5282092). - pass NIST StRD Gauss2 (Lower difficulty, n = 250) (source), max relative error 1.3e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 98, 0.0105, 103, 105, 20, 73, 150, 20. Converged flag: yes (restart-stable). Minimum LRE 7.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1247.528209230998 (certified 1247.5282092). - known limitation NIST StRD Gauss2 (Lower difficulty, n = 250) (source)
KNOWN LIMITATION, NOT RUN through the user path: Custom nonlinear fitting was not run because the combination of 250 points, 8 fitted parameters, and 20 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - pass NIST StRD DanWood (Lower difficulty, n = 6) (source), max relative error 7.6e-10, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1, 5. Converged flag: yes (restart-stable). Minimum LRE 9.1. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.004317308408290979 (certified 0.0043173084083). - pass NIST StRD DanWood (Lower difficulty, n = 6) (source), max relative error 7.9e-11, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.7, 4. Converged flag: yes (restart-stable). Minimum LRE 10.1. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.004317308408290984 (certified 0.0043173084083). - pass NIST StRD DanWood (Lower difficulty, n = 6) (source), max relative error 4.2e-10, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 9.4. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.004317308408290987 (certified 0.0043173084083). - pass NIST StRD Misra1b (Lower difficulty, n = 14) (source), max relative error 1.3e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 500, 0.0001. Converged flag: yes (restart-stable). Minimum LRE 5.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.07546468153473121 (certified 0.075464681533). - pass NIST StRD Misra1b (Lower difficulty, n = 14) (source), max relative error 1.3e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 300, 0.0002. Converged flag: yes (restart-stable). Minimum LRE 5.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.07546468153882656 (certified 0.075464681533). - pass NIST StRD Misra1b (Lower difficulty, n = 14) (source), max relative error 1.3e-6, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 5.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.07546468153547226 (certified 0.075464681533). - known limitation NIST StRD Kirby2 (Average difficulty, n = 151) (source), max relative error 2.3e-3, tolerance 1e-5
KNOWN LIMITATION: Stationary to the 1e-3 relative-offset test and RSS within 1e-7 of certified, but the additive-damping Levenberg-Marquardt crawls along a badly scaled valley and stops with estimates at 3-5 significant digits (within ~1e-3 standard errors). Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 2, -0.1, 0.003, -0.001, 0.00001. Converged flag: yes (restart-stable). Minimum LRE 2.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 3.9050740554309047 (certified 3.9050739624). NOT MATCHED: b1 1.6743711244050548 vs 1.6745063063; b2 -0.13926671334590635 vs -0.13927397867; b3 0.002596046496419386 vs 0.0025961181191; b4 -0.001724258506890456 vs -0.001724181187; .... - known limitation NIST StRD Kirby2 (Average difficulty, n = 151) (source), max relative error 2.3e-3, tolerance 1e-5
KNOWN LIMITATION: Stationary to the 1e-3 relative-offset test and RSS within 1e-7 of certified, but the additive-damping Levenberg-Marquardt crawls along a badly scaled valley and stops with estimates at 3-5 significant digits (within ~1e-3 standard errors). Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 1.5, -0.15, 0.0025, -0.0015, 0.00002. Converged flag: yes (restart-stable). Minimum LRE 2.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 3.905074064944148 (certified 3.9050739624). NOT MATCHED: b1 1.6743646265076226 vs 1.6745063063; b2 -0.13926633627233165 vs -0.13927397867; b3 0.0025960427203621512 vs 0.0025961181191; b4 -0.001724262850652889 vs -0.001724181187; .... - known limitation NIST StRD Kirby2 (Average difficulty, n = 151) (source)
KNOWN LIMITATION, NOT RUN through the user path: Custom nonlinear fitting was not run because the combination of 151 points, 5 fitted parameters, and 11 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - known limitation NIST StRD Hahn1 (Average difficulty, n = 236) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: From this start Plotvera stops away from the minimum and now says so ("not a least-squares minimum"; before this release it was labelled converged); no estimates are offered as converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 10, -1, 0.05, -0.00001, -0.05, 0.001, -0.000001. Converged flag: no (not-stationary). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 22.997708391041996 (certified 1.5324382854). NOT MATCHED: b1 10.594691863815557 vs 1.0776351733; b2 -0.7860513880438336 vs -0.12269296921; b3 0.014920572693755326 vs 0.004086375061; b4 -0.00000427453209766687 vs -0.0000014262662514; .... - known limitation NIST StRD Hahn1 (Average difficulty, n = 236) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: From NIST Start 2 the optimiser ends at a point worse than the response mean and reports it as unavailable (R² < 0). Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 1, -0.1, 0.005, -0.000001, -0.005, 0.0001, -1e-7. Converged flag: no (inadequate-fit). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 126373.1961726429 (certified 1.5324382854). NOT MATCHED: b1 -1.3918996872930853 vs 1.0776351733; b2 0.049974226507013345 vs -0.12269296921; b3 0.0011736051179147679 vs 0.004086375061; b4 -0.000001575958276534019 vs -0.0000014262662514; .... - known limitation NIST StRD Hahn1 (Average difficulty, n = 236) (source)
KNOWN LIMITATION, NOT RUN through the user path: Custom nonlinear fitting was not run because the combination of 236 points, 7 fitted parameters, and 17 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - known limitation NIST StRD Nelson (Average difficulty) (source)
KNOWN LIMITATION, NOT RUN: Two predictor variables (log[y] = b1 - b2*x1*exp(-b3*x2)); Plotvera curve fits have one X. - known limitation NIST StRD MGH17 (Average difficulty, n = 33) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: From this start Plotvera stops away from the minimum and now says so ("not a least-squares minimum"; before this release it was labelled converged); no estimates are offered as converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 50, 150, -100, 1, 2. Converged flag: no (not-stationary). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.00007977461759216987 (certified 0.000054648946975). NOT MATCHED: b1 0.3822374569685451 vs 0.37541005211; b2 69.57992404588184 vs 1.9358469127; b3 -69.11382197185411 vs -1.4646871366; b4 0.01659134352596647 vs 0.01286753464; .... - pass NIST StRD MGH17 (Average difficulty, n = 33) (source), max relative error 2.7e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.5, 1.5, -1, 0.01, 0.02. Converged flag: yes (restart-stable). Minimum LRE 5.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.000054648946974902014 (certified 0.000054648946975). - known limitation NIST StRD MGH17 (Average difficulty, n = 33) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.09730828428507829 (certified 0.000054648946975). NOT MATCHED: b1 0.3724355986492191 vs 0.37541005211; b2 0.31625716713054247 vs 1.9358469127; b3 0.3162513257630131 vs -1.4646871366; b4 0.006473421333946164 vs 0.01286753464; .... - known limitation NIST StRD Lanczos1 (Average difficulty, n = 24) (source), max relative error 4.3e+13, tolerance 1e-5
KNOWN LIMITATION: Exact-fit data (certified residual ~0): the optimiser stops once SSR <= 1e-12 x total SS ("Converged: residuals reached the error tolerance"), which leaves the estimates correct to only 2-5 significant digits. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1.2, 0.3, 5.6, 5.5, 6.5, 7.6. Converged flag: yes (error-tolerance). Minimum LRE -13.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 6.222115732850583e-12 (certified 1.4307867721e-25). NOT MATCHED: b1 0.09640486042602324 vs 0.095100000027; b2 1.0066594786950636 vs 1.0000000001; b3 0.8640142075982403 vs 0.86070000013; b4 3.0081721570823503 vs 3.0000000002; .... - known limitation NIST StRD Lanczos1 (Average difficulty, n = 24) (source), max relative error 3.8e+13, tolerance 1e-5
KNOWN LIMITATION: Exact-fit data (certified residual ~0): the optimiser stops once SSR <= 1e-12 x total SS ("Converged: residuals reached the error tolerance"), which leaves the estimates correct to only 2-5 significant digits. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.5, 0.7, 3.6, 4.2, 4, 6.3. Converged flag: yes (error-tolerance). Minimum LRE -13.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 5.411773636716287e-12 (certified 1.4307867721e-25). NOT MATCHED: b1 0.0963322397436497 vs 0.095100000027; b2 1.0062909686897137 vs 1.0000000001; b3 0.8638289010414053 vs 0.86070000013; b4 3.0077173111949036 vs 3.0000000002; .... - known limitation NIST StRD Lanczos1 (Average difficulty, n = 24) (source), max relative error 4.6e+13, tolerance 1e-5
KNOWN LIMITATION: Exact-fit data (certified residual ~0): the optimiser stops once SSR <= 1e-12 x total SS ("Converged: residuals reached the error tolerance"), which leaves the estimates correct to only 2-5 significant digits. "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE -13.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 6.6156584229664144e-12 (certified 1.4307867721e-25). NOT MATCHED: b1 0.09643774545749081 vs 0.095100000027; b2 1.0068262711393194 vs 1.0000000001; b3 0.8640981518555625 vs 0.86070000013; b4 3.008378125413623 vs 3.0000000002; .... - known limitation NIST StRD Lanczos2 (Average difficulty, n = 24) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Iteration limit reached without a stable solution; reported as not converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1.2, 0.3, 5.6, 5.5, 6.5, 7.6. Converged flag: no (iteration-limit). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 2.2299428124251022e-11 (certified 2.2299428125e-11). NOT MATCHED: b1 SD NaN vs 0.00066770575477; b2 SD NaN vs 0.0033989646176; b3 SD NaN vs 0.0017185846685; b4 SD NaN vs 0.0041707005856; .... - pass NIST StRD Lanczos2 (Average difficulty, n = 24) (source), max relative error 4.1e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.5, 0.7, 3.6, 4.2, 4, 6.3. Converged flag: yes (restart-stable). Minimum LRE 6.4. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 2.2299428124627447e-11 (certified 2.2299428125e-11). - pass NIST StRD Lanczos2 (Average difficulty, n = 24) (source), max relative error 6.9e-7, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 6.2. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 2.2299428127013935e-11 (certified 2.2299428125e-11). - pass NIST StRD Gauss3 (Average difficulty, n = 250) (source), max relative error 2.2e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 94.9, 0.009, 90.1, 113, 20, 73.8, 140, 20. Converged flag: yes (restart-stable). Minimum LRE 7.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1244.4846360131583 (certified 1244.484636). - pass NIST StRD Gauss3 (Average difficulty, n = 250) (source), max relative error 3.4e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 96, 0.0096, 80, 110, 25, 74, 139, 25. Converged flag: yes (restart-stable). Minimum LRE 7.5. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1244.4846360131592 (certified 1244.484636). - known limitation NIST StRD Gauss3 (Average difficulty, n = 250) (source)
KNOWN LIMITATION, NOT RUN through the user path: Custom nonlinear fitting was not run because the combination of 250 points, 8 fitted parameters, and 20 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - pass NIST StRD Misra1c (Average difficulty, n = 14) (source), max relative error 5.1e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 500, 0.0001. Converged flag: yes (restart-stable). Minimum LRE 5.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.040966836986242115 (certified 0.040966836971). - pass NIST StRD Misra1c (Average difficulty, n = 14) (source), max relative error 5.1e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 600, 0.0002. Converged flag: yes (restart-stable). Minimum LRE 5.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.04096683698281204 (certified 0.040966836971). - pass NIST StRD Misra1c (Average difficulty, n = 14) (source), max relative error 5.1e-6, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 5.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.04096683698275048 (certified 0.040966836971). - pass NIST StRD Misra1d (Average difficulty, n = 14) (source), max relative error 2.3e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 500, 0.0001. Converged flag: yes (restart-stable). Minimum LRE 5.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.0564192952888034 (certified 0.056419295283). - pass NIST StRD Misra1d (Average difficulty, n = 14) (source), max relative error 2.3e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 450, 0.0003. Converged flag: yes (restart-stable). Minimum LRE 5.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.05641929528664313 (certified 0.056419295283). - known limitation NIST StRD Misra1d (Average difficulty, n = 14) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 6761.807648621474 (certified 0.056419295283). NOT MATCHED: b1 43.3406491196352 vs 437.36970754; b2 -3687.6201649454097 vs 0.00030227324449; b1 SD NaN vs 3.6489174345; b2 SD NaN vs 0.0000029334354479; .... - known limitation NIST StRD Roszman1 (Average difficulty) (source)
KNOWN LIMITATION, NOT RUN: Model uses arctan, which the custom-equation parser does not provide (exp, ln, log10, sqrt, abs, sin, cos, tan, pow only). - pass NIST StRD ENSO (Average difficulty, n = 168) (source), max relative error 7.2e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 11, 3, 0.5, 40, -0.7, -1.3, 25, -0.3, 1.4. Converged flag: yes (restart-stable). Minimum LRE 7.1. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 788.5397866829113 (certified 788.53978668). - pass NIST StRD ENSO (Average difficulty, n = 168) (source), max relative error 2.0e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 10, 3, 0.5, 44, -1.5, 0.5, 26, -0.1, 1.5. Converged flag: yes (restart-stable). Minimum LRE 6.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 788.5397866829117 (certified 788.53978668). - known limitation NIST StRD ENSO (Average difficulty, n = 168) (source)
KNOWN LIMITATION, NOT RUN through the user path: Custom nonlinear fitting was not run because the combination of 168 points, 9 fitted parameters, and 36 equation operations exceeds Plotvera's browser main-thread safety budget. Use a simpler prespecified equation, fit fewer parameters by fixing known constants, or use an audited offline fitting workflow for this workload; do not discard observations without scientific justification. - pass NIST StRD MGH09 (Higher difficulty, n = 11) (source), max relative error 2.5e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 25, 39, 41.5, 39. Converged flag: yes (restart-stable). Minimum LRE 7.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.00030750560384923685 (certified 0.00030750560385). - pass NIST StRD MGH09 (Higher difficulty, n = 11) (source), max relative error 4.9e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.25, 0.39, 0.415, 0.39. Converged flag: yes (restart-stable). Minimum LRE 7.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.0003075056038492371 (certified 0.00030750560385). - pass NIST StRD MGH09 (Higher difficulty, n = 11) (source), max relative error 3.0e-8, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 7.5. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.00030750560384923723 (certified 0.00030750560385). - pass NIST StRD Thurber (Higher difficulty, n = 37) (source), max relative error 2.0e-5, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1000, 1000, 400, 40, 0.7, 0.3, 0.03. Converged flag: yes (restart-stable). Minimum LRE 4.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 5642.708240132372 (certified 5642.7082397). - pass NIST StRD Thurber (Higher difficulty, n = 37) (source), max relative error 1.6e-6, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 1300, 1500, 500, 75, 1, 0.4, 0.05. Converged flag: yes (restart-stable). Minimum LRE 5.8. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 5642.708239670759 (certified 5642.7082397). - known limitation NIST StRD Thurber (Higher difficulty, n = 37) (source), max relative error 6.6e+2, tolerance 1e-5
KNOWN LIMITATION: From the automatic start the fit converges to a different stationary point (a local minimum of this rational model with a higher RSS), which Plotvera reports as converged; any local least-squares optimiser can do this, which is why NIST supplies starting values. "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE -2.8. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 494165.65910237 (certified 5642.7082397). NOT MATCHED: b1 1168.6381557775385 vs 1288.13968; b2 6989.581967839887 vs 1491.0792535; b3 -16432.226728623777 vs 583.23836877; b4 -6392.734025540455 vs 75.416644291; .... - pass NIST StRD BoxBOD (Higher difficulty, n = 6) (source), max relative error 1.6e-9, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1, 1. Converged flag: yes (restart-stable). Minimum LRE 8.8. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1168.0088765555515 (certified 1168.0088766). - pass NIST StRD BoxBOD (Higher difficulty, n = 6) (source), max relative error 1.4e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 100, 0.75. Converged flag: yes (restart-stable). Minimum LRE 7.9. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1168.008876555553 (certified 1168.0088766). - pass NIST StRD BoxBOD (Higher difficulty, n = 6) (source), max relative error 1.6e-9, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 8.8. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1168.0088765555515 (certified 1168.0088766). - pass NIST StRD Rat42 (Higher difficulty, n = 9) (source), max relative error 1.9e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 100, 1, 0.1. Converged flag: yes (restart-stable). Minimum LRE 6.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 8.056522933815536 (certified 8.0565229338). - pass NIST StRD Rat42 (Higher difficulty, n = 9) (source), max relative error 1.9e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 75, 2.5, 0.07. Converged flag: yes (restart-stable). Minimum LRE 6.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 8.056522933815742 (certified 8.0565229338). - pass NIST StRD Rat42 (Higher difficulty, n = 9) (source), max relative error 1.9e-7, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 6.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 8.056522933815668 (certified 8.0565229338). - known limitation NIST StRD MGH10 (Higher difficulty, n = 16) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: From this start Plotvera stops away from the minimum and now says so ("not a least-squares minimum"; before this release it was labelled converged); no estimates are offered as converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 2, 400000, 25000. Converged flag: no (not-stationary). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 1417843973.35865 (certified 87.945855171). NOT MATCHED: b1 10016.35577732795 vs 0.005609636471; b2 174487.9030320435 vs 6181.3463463; b3 807485.5435542146 vs 345.22363462; b1 SD NaN vs 0.00015687892471; .... - known limitation NIST StRD MGH10 (Higher difficulty, n = 16) (source), max relative error 2.7e-5, tolerance 1e-5
KNOWN LIMITATION: Stationary to the 1e-3 relative-offset test and RSS within 1e-7 of certified, but the additive-damping Levenberg-Marquardt crawls along a badly scaled valley and stops with estimates at 3-5 significant digits (within ~1e-3 standard errors). Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 0.02, 4000, 250. Converged flag: yes (restart-stable). Minimum LRE 4.6. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 87.94586141273768 (certified 87.945855171). NOT MATCHED: b1 0.0056097871100683405 vs 0.005609636471; RSS 87.94586141273768 vs 87.945855171; residual SD 2.600974098778818 vs 2.6009740065. - known limitation NIST StRD MGH10 (Higher difficulty, n = 16) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 132139.6146638207 (certified 87.945855171). NOT MATCHED: b1 0.1242949151288906 vs 0.005609636471; b2 3868.3708058686825 vs 6181.3463463; b3 258.3257573407099 vs 345.22363462; b1 SD NaN vs 0.00015687892471; .... - pass NIST StRD Eckerle4 (Higher difficulty, n = 35) (source), max relative error 3.3e-9, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 1, 10, 500. Converged flag: yes (restart-stable). Minimum LRE 8.5. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.0014635887487274698 (certified 0.0014635887487). - pass NIST StRD Eckerle4 (Higher difficulty, n = 35) (source), max relative error 3.5e-9, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 1.5, 5, 450. Converged flag: yes (restart-stable). Minimum LRE 8.5. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.0014635887487274698 (certified 0.0014635887487). - known limitation NIST StRD Eckerle4 (Higher difficulty, n = 35) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.6996962541495202 (certified 0.0014635887487). NOT MATCHED: b1 1 vs 1.5543827178; b2 1 vs 4.0888321754; b3 1 vs 451.54121844; b1 SD NaN vs 0.015408051163; .... - pass NIST StRD Rat43 (Higher difficulty, n = 15) (source), max relative error 1.6e-7, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): 100, 10, 1, 1. Converged flag: yes (restart-stable). Minimum LRE 6.8. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 8786.404907963599 (certified 8786.404908). - pass NIST StRD Rat43 (Higher difficulty, n = 15) (source), max relative error 2.0e-8, tolerance 1e-5
Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): 700, 5, 0.75, 1.3. Converged flag: yes (restart-stable). Minimum LRE 7.7. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 8786.404907963124 (certified 8786.404908). - pass NIST StRD Rat43 (Higher difficulty, n = 15) (source), max relative error 4.5e-8, tolerance 1e-5
"Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: yes. Minimum LRE 7.3. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 8786.404907963137 (certified 8786.404908). - known limitation NIST StRD Bennett5 (Higher difficulty, n = 154) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Iteration limit reached (Bennett5 converges very slowly); reported as not converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 1 (far): -2000, 50, 0.8. Converged flag: no (iteration-limit). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.0005307553234789672 (certified 0.00052404744073). NOT MATCHED: b1 -2153.6323065903703 vs -2523.5058043; b2 45.05614807687564 vs 46.736564644; b3 0.9603788872738734 vs 0.93218483193; b1 SD NaN vs 297.15175411; .... - known limitation NIST StRD Bennett5 (Higher difficulty, n = 154) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Iteration limit reached (Bennett5 converges very slowly); reported as not converged. Engine fitModel (the optimiser behind "Fit your own equation") started from NIST Start 2 (near): -1500, 45, 0.85. Converged flag: no (iteration-limit). Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 0.0005455734052090879 (certified 0.00052404744073). NOT MATCHED: b1 -1913.3856790591967 vs -2523.5058043; b2 43.795497123500404 vs 46.736564644; b3 0.9826765184302441 vs 0.93218483193; b1 SD NaN vs 297.15175411; .... - known limitation NIST StRD Bennett5 (Higher difficulty, n = 154) (source), max relative error , tolerance 1e-5
KNOWN LIMITATION: Automatic starting values (every parameter named b1..bk starts at 1) are far from the solution; Plotvera reports the fit as not converged and withholds standard errors (no silent wrong answer). "Fit your own equation" through runAnalysis with Plotvera's automatic starting values (parameters named b1..bk, so each starts at 1). Reported converged: no. Minimum LRE NaN. Tolerances: estimates 0.00001 relative to max(|certified|, certified SD), standard errors 0.0001 (finite-difference Jacobian), RSS and residual SD 1e-8 relative. RSS 49.338882350707856 (certified 0.00052404744073). NOT MATCHED: b1 -32.258018348901984 vs -2523.5058043; b2 2360.456564977261 vs 46.736564644; b3 -2336.0676400544735 vs 0.93218483193; b1 SD NaN vs 297.15175411; .... - pass Indometh subject 1, user equation A*exp(-k*X)+C (source), max relative error 1.0e-8, tolerance 1e-4
18 quantities compared; worst relative error 1.02e-8 on C CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera starts from its own automatic initial values (the user path). R optimum polished to relative offset 1.7e-9. Tolerances: RSS, Sy.x, R² 1e-9; parameters 0.0001 relative to max(|estimate|, SE); SE and CI bounds 0.0001 (iterative optimisers on both sides; see file header).
|
| Descriptive statistics | 17 | 17 passed | 5.6e-9 | R 4.3.3: mean, var, sd, qt; quantile(type = 6); adjusted skewness G1 and excess kurtosis G2 (Joanes & Gill 1998 b/G) from moments [validation/r/normality.R]; NIST StRD certified valuesCases- pass precip: annual precipitation, 70 US cities (source), max relative error 1.3e-9, tolerance 1e-9
15 quantities compared; worst relative error 1.30e-9 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass rivers: lengths of 141 North American rivers (skewed) (source), max relative error 2.5e-9, tolerance 1e-9
15 quantities compared; worst relative error 2.47e-9 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass mtcars mpg (n = 32) (source), max relative error 2.4e-9, tolerance 1e-9
15 quantities compared; worst relative error 2.35e-9 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass PlantGrowth weight (n = 30) (source), max relative error 8.2e-10, tolerance 1e-9
15 quantities compared; worst relative error 8.25e-10 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass women weight (n = 15) (source), max relative error 2.1e-10, tolerance 1e-9
15 quantities compared; worst relative error 2.06e-10 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass faithful eruption durations (n = 272, bimodal) (source), max relative error 1.2e-9, tolerance 1e-9
15 quantities compared; worst relative error 1.23e-9 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass morley: Michelson speed-of-light runs (n = 100) (source), max relative error 4.8e-10, tolerance 1e-9
15 quantities compared; worst relative error 4.85e-10 on 95% CI of mean lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass sleep extra, first 3 values (Shapiro-Wilk exact n = 3 branch) (source), max relative error 1.6e-10, tolerance 1e-9
14 quantities compared; worst relative error 1.57e-10 on 95% CI of mean upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Quartiles by Hyndman & Fan definition 6 (R quantile type = 6, Prism's method). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001. - pass NIST StRD PiDigits (n = 5000) (source), max relative error 6.2e-16, tolerance 1e-9
2 quantities compared; worst relative error 6.20e-16 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 15.0 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/PiDigits.dat. - pass NIST StRD Lottery (n = 218) (source), max relative error 6.6e-16, tolerance 1e-9
2 quantities compared; worst relative error 6.57e-16 on mean. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 15.0 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/Lottery.dat. - pass NIST StRD Lew (n = 200) (source), max relative error 4.1e-16, tolerance 1e-9
2 quantities compared; worst relative error 4.10e-16 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 15.0 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/Lew.dat. - pass NIST StRD Mavro (n = 50) (source), max relative error 7.6e-14, tolerance 1e-9
2 quantities compared; worst relative error 7.57e-14 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 13.1 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/Mavro.dat. - pass NIST StRD Michelso (n = 100) (source), max relative error 1.4e-14, tolerance 1e-9
2 quantities compared; worst relative error 1.42e-14 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 13.8 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/Michelso.dat. - pass NIST StRD NumAcc1 (n = 3) (source), max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 15.0 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/NumAcc1.dat. - pass NIST StRD NumAcc2 (n = 1001) (source), max relative error 2.8e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.78e-16 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 15.0 (NIST certifies 15 digits). Mean held to 1e-14. SD held to 1e-9. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/NumAcc2.dat. - pass NIST StRD NumAcc3 (n = 1001) (source), max relative error 3.5e-10, tolerance 1e-7
3 quantities compared; worst relative error 3.49e-10 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 9.5 (NIST certifies 15 digits). Mean held to 1e-14. Inputs not exactly representable in binary64 (8 constant leading digits); SD held to 1e-7 vs certified and 1e-12 vs exact arithmetic on the binary64 inputs. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/NumAcc3.dat. - pass NIST StRD NumAcc4 (n = 1001) (source), max relative error 5.6e-9, tolerance 1e-7
3 quantities compared; worst relative error 5.59e-9 on SD. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. LRE mean 15.0, SD 8.3 (NIST certifies 15 digits). Mean held to 1e-14. Inputs not exactly representable in binary64 (8 constant leading digits); SD held to 1e-7 vs certified and 1e-12 vs exact arithmetic on the binary64 inputs. The certified lag-1 autocorrelation is not checked: Plotvera does not offer autocorrelation. Raw file validation/reference/nist/univ/NumAcc4.dat.
|
| Sensitivity / specificity (2x2) | 1 | 1 passed | 1.4e-14 | R 4.3.3: proportions; Wilson score CI = stats::prop.test(x, n, correct = FALSE)$conf.int; LR+ = sens/(1-spec), LR- = (1-sens)/spec [validation/r/contingency.R]Cases- pass mtcars: test = weight > 3000 lb, condition = automatic transmission (TP 18, FP 2, FN 1, TN 11) (source), max relative error 1.4e-14, tolerance 1e-9
20 quantities compared; worst relative error 1.40e-14 on spec Wilson CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Percentages divided by 100 before comparison. Wilson score intervals match prop.test(correct = FALSE). Tolerances: closed-form values 1e-9 relative; P values and CI bounds 0.000001.
|
| F upper-tail P value | 1 | 1 passed | 1.9e-7 | R 4.3.3: pf(F, d1, d2, lower.tail = FALSE) [validation/r/distributions.R]Cases- pass 168-point grid of arguments (validation/r/distributions.R), max relative error 1.9e-7, tolerance 1e-6
168 quantities compared; worst relative error 1.87e-7 on pF(3, 1, 46). Tolerance 0.000001, relative; probabilities use |a - e| / max(e, 0.000001) so P values below 0.000001 are held to 1e-12 absolute (upper tails are 1 - CDF: values below ~1e-16 return 0, displayed "< 0.0001").
|
| Friedman test (+ Dunn) | 1 | 1 passed | 3.1e-14 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::friedman.test(matrix); Dunn z on within-subject mean ranks, SE sqrt(k(k+1)/(6n)), Bonferroni [validation/r/anova.R]Cases- pass RoundingTimes (Hollander & Wolfe 1973, p. 140; R ?friedman.test example): 22 players x 3 methods, ties within rows (source), max relative error 3.1e-14, tolerance 1e-9
16 quantities compared; worst relative error 3.10e-14 on Round Out-Wide Angle P Bonferroni. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Friedman statistic with within-row tie correction (R friedman.test). Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| Outlier test (Grubbs) | 2 | 2 passed | 1.3e-9 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): G = max|x - mean|/sd; two-sided critical value (n-1)/sqrt(n) sqrt(t^2/(n-2+t^2)), t = qt(0.05/(2n), n-2) (Grubbs 1969) [validation/r/misc.R]Cases- pass mtcars horsepower (n = 32; Maserati Bora 335 hp) (source), max relative error 1.3e-9, tolerance 1e-9
4 quantities compared; worst relative error 1.34e-9 on critical value (alpha 0.05, two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The R package 'outliers' is not installed; the statistic and two-sided critical value are computed from Grubbs' (1969) formulas in misc.R. Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001. - pass precip (n = 70) (source), max relative error 3.4e-10, tolerance 1e-9
4 quantities compared; worst relative error 3.43e-10 on critical value (alpha 0.05, two-sided). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The R package 'outliers' is not installed; the statistic and two-sided critical value are computed from Grubbs' (1969) formulas in misc.R. Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001.
|
| Kaplan-Meier survival estimate (Greenwood log-log 95% CI) | 5 | 5 passed | 1.3e-15 | R 4.3.3 (survival 3.5.8): survival::survfit(conf.type = 'log-log'); summary(censored = TRUE) [validation/r/survival.R]Cases- pass survival::aml: acute myelogenous leukaemia, Maintained (reference) vs Nonmaintained, n = 23 (source), max relative error 6.2e-16, tolerance 1e-9
78 quantities compared; worst relative error 6.20e-16 on Maintained S(13) 95% CI lower. Engine function kaplanMeier (feeds the KM graph). Every distinct time in every group compared (S, number at risk, pointwise CI). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::ovarian: rx 1 (reference) vs rx 2, n = 26 (source), max relative error 5.9e-16, tolerance 1e-9
104 quantities compared; worst relative error 5.88e-16 on rx1 S(59) 95% CI lower. Engine function kaplanMeier (feeds the KM graph). Every distinct time in every group compared (S, number at risk, pointwise CI). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::lung: male (reference) vs female, n = 228, status 2 = death (source), max relative error 5.4e-16, tolerance 1e-9
824 quantities compared; worst relative error 5.42e-16 on male S(567) 95% CI lower. Engine function kaplanMeier (feeds the KM graph). Every distinct time in every group compared (S, number at risk, pointwise CI). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::veteran: standard (reference) vs test chemotherapy, n = 137 (source), max relative error 1.3e-15, tolerance 1e-9
452 quantities compared; worst relative error 1.29e-15 on standard S(392) 95% CI upper. Engine function kaplanMeier (feeds the KM graph). Every distinct time in every group compared (S, number at risk, pointwise CI). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::lung by ECOG score 0, 1, 2 (three groups, n = 227) (source), max relative error 7.8e-16, tolerance 1e-9
858 quantities compared; worst relative error 7.84e-16 on ecog1 S(731) 95% CI lower. Engine function kaplanMeier (feeds the KM graph). Every distinct time in every group compared (S, number at risk, pointwise CI). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| k-means clustering | 1 | 1 passed | 1.2e-15 | R 4.3.3: stats::kmeans(scale(X), 3, nstart = 200, algorithm = 'Hartigan-Wong'), set.seed(1); best of 200 starts [validation/r/regression.R]Cases- pass iris sepal/petal length and width (150 rows), standardised, k = 3 (source), max relative error 1.2e-15, tolerance 1e-9
15 quantities compared; worst relative error 1.24e-15 on cluster 1 centroid Petal.Width. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. k-means has local optima: the check is that Plotvera's 10 seeded Lloyd restarts reach the same partition as R's best of 200 Hartigan-Wong starts (total within SS 138.88835971735148 in standardised units); clusters matched by first-centroid order.
|
| Kruskal-Wallis test (+ Dunn) | 3 | 3 passed | 6.5e-10 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::kruskal.test; Dunn (1964) z with tie correction computed in the script, Bonferroni [validation/r/anova.R]Cases- pass PlantGrowth (Dobson 1983): ctrl, trt1, trt2 (n = 10 each) (source), max relative error 6.2e-15, tolerance 1e-9
15 quantities compared; worst relative error 6.24e-15 on trt1-trt2 P raw. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. H is tie-corrected (R kruskal.test); Dunn z uses the tie-corrected variance. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass chickwts: 6 feeds, unequal n (10-14), casein = control/first column (source), max relative error 1.0e-10, tolerance 1e-9
63 quantities compared; worst relative error 1.04e-10 on casein-horsebean P raw. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. H is tie-corrected (R kruskal.test); Dunn z uses the tie-corrected variance. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision). - pass InsectSprays (Beall 1942): 6 sprays, counts with many ties (source), max relative error 6.5e-10, tolerance 1e-9
63 quantities compared; worst relative error 6.50e-10 on C-F P Bonferroni. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. H is tie-corrected (R kruskal.test); Dunn z uses the tie-corrected variance. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| Linear regression | 6 | 6 passed | 2.0e-9 | NIST StRD certified values; R 4.3.3: stats::lm(y ~ x); summary; confint; anova [validation/r/regression.R]Cases- pass NIST StRD Norris (n = 36) (source), max relative error 1.7e-13, tolerance 1e-9
6 quantities compared; worst relative error 1.70e-13 on B0. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum LRE 12.8 (digits of agreement with 15-digit certified values). Raw file validation/reference/nist/lls/Norris.dat. - pass women: weight (lb) on height (in), n = 15 (source), max relative error 3.3e-10, tolerance 1e-9
15 quantities compared; worst relative error 3.32e-10 on intercept 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass Anscombe quartet set 1 (n = 11) (source), max relative error 2.0e-9, tolerance 1e-9
15 quantities compared; worst relative error 2.02e-9 on intercept 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass Anscombe quartet set 2 (n = 11) (source), max relative error 2.0e-9, tolerance 1e-9
15 quantities compared; worst relative error 2.02e-9 on slope 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass Anscombe quartet set 3 (n = 11) (source), max relative error 2.0e-9, tolerance 1e-9
15 quantities compared; worst relative error 2.02e-9 on intercept 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass Anscombe quartet set 4 (n = 11) (source), max relative error 2.0e-9, tolerance 1e-9
15 quantities compared; worst relative error 2.02e-9 on slope 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| Simple logistic regression | 2 | 2 passed | 6.5e-14 | R 4.3.3: stats::glm(family = binomial, epsilon = 1e-15) then Newton-Raphson polish; SE from inverse information; Wald CI exp(b +/- qnorm(0.975) SE) [validation/r/regression.R]Cases- pass mtcars am (manual = 1) ~ wt (n = 32) (source), max relative error 6.5e-14, tolerance 1e-8
14 quantities compared; worst relative error 6.54e-14 on Slope (X) P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Iterative ML on both sides (Plotvera Newton/IRLS; R glm polished by Newton-Raphson), so estimates are held to 1e-8 rather than 1e-9; P values and CI bounds 0.000001. - pass mtcars am ~ qsec (n = 32) (source), max relative error 5.8e-14, tolerance 1e-8
14 quantities compared; worst relative error 5.77e-14 on Slope (X) P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Iterative ML on both sides (Plotvera Newton/IRLS; R glm polished by Newton-Raphson), so estimates are held to 1e-8 rather than 1e-9; P values and CI bounds 0.000001.
|
| Survival: Kaplan-Meier and log-rank | 5 | 5 passed | 1.2e-10 | R 4.3.3 (survival 3.5.8): survival::survfit(conf.type = 'log-log'), quantile.survfit, survdiff; Gehan-Breslow weights n_at_risk and hazard ratios from survdiff O/E/V computed in the script; coxph(ties = 'efron') [validation/r/survival.R]Cases- pass survival::aml: acute myelogenous leukaemia, Maintained (reference) vs Nonmaintained, n = 23 (source), max relative error 1.2e-10, tolerance 1e-9
21 quantities compared; worst relative error 1.20e-10 on log-rank P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Median and its Brookmeyer-Crowley (log-log) CI compared exactly (event times). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::ovarian: rx 1 (reference) vs rx 2, n = 26 (source), max relative error 2.2e-13, tolerance 1e-9
21 quantities compared; worst relative error 2.16e-13 on Gehan-Breslow P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Median and its Brookmeyer-Crowley (log-log) CI compared exactly (event times). Median not reached for rx2: Plotvera shows no median CI there, while R reports the lower limit; the engine's limits (kmMedianCI) match R. Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::lung: male (reference) vs female, n = 228, status 2 = death (source), max relative error 8.2e-14, tolerance 1e-9
21 quantities compared; worst relative error 8.23e-14 on Gehan-Breslow P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Median and its Brookmeyer-Crowley (log-log) CI compared exactly (event times). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::veteran: standard (reference) vs test chemotherapy, n = 137 (source), max relative error 8.8e-14, tolerance 1e-9
21 quantities compared; worst relative error 8.84e-14 on Gehan-Breslow P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Median and its Brookmeyer-Crowley (log-log) CI compared exactly (event times). For test (median 52.5, first time at 50% 52) S is exactly 0.5 over an interval: R quantile.survfit and Prism (GraphPad FAQ 44, after Machin) both report the midpoint, and so does Plotvera since engine 1.19.0. Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass survival::lung by ECOG score 0, 1, 2 (three groups, n = 227) (source), max relative error 5.9e-13, tolerance 1e-9
20 quantities compared; worst relative error 5.89e-13 on Gehan-Breslow P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Median and its Brookmeyer-Crowley (log-log) CI compared exactly (event times). Tolerances: estimates/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| Mann-Whitney test | 27 | 27 passed | 1.6e-14 | R 4.3.3 (survival 3.5.8): stats::wilcox.test(a, b) [validation/r/rankexact.R]Cases- pass seeded normal, n = 5 vs 7, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 12 vs 12, no ties, max relative error 1.5e-16, tolerance 1e-9
3 quantities compared; worst relative error 1.55e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 30 vs 30, no ties, max relative error 2.4e-15, tolerance 1e-9
3 quantities compared; worst relative error 2.41e-15 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 31 vs 8, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 35 vs 3, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 40 vs 45, no ties, max relative error 3.6e-15, tolerance 1e-9
3 quantities compared; worst relative error 3.58e-15 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 49 vs 49, no ties, max relative error 3.3e-15, tolerance 1e-9
3 quantities compared; worst relative error 3.26e-15 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 49 vs 20, no ties, max relative error 1.9e-16, tolerance 1e-9
3 quantities compared; worst relative error 1.86e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 50 vs 10, no ties, max relative error 1.6e-14, tolerance 1e-9
3 quantities compared; worst relative error 1.60e-14 on P (two-tailed). Plotvera method: normal approximation. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 60 vs 60, no ties, max relative error 1.3e-15, tolerance 1e-9
3 quantities compared; worst relative error 1.32e-15 on P (two-tailed). Plotvera method: normal approximation. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 15 vs 26, no ties, max relative error 1.9e-16, tolerance 1e-9
3 quantities compared; worst relative error 1.86e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 15 vs 24, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 31 vs 47, no ties, max relative error 1.3e-15, tolerance 1e-9
3 quantities compared; worst relative error 1.29e-15 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 10 vs 22, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 41 vs 29, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 24 vs 44, no ties, max relative error 2.9e-16, tolerance 1e-9
3 quantities compared; worst relative error 2.86e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 49 vs 34, no ties, max relative error 3.7e-16, tolerance 1e-9
3 quantities compared; worst relative error 3.67e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 35 vs 32, no ties, max relative error 3.8e-16, tolerance 1e-9
3 quantities compared; worst relative error 3.84e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 45 vs 5, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 26 vs 45, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 47 vs 46, no ties, max relative error 4.3e-15, tolerance 1e-9
3 quantities compared; worst relative error 4.31e-15 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 32 vs 48, no ties, max relative error 9.2e-15, tolerance 1e-9
3 quantities compared; worst relative error 9.24e-15 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 27 vs 29, no ties, max relative error 2.8e-16, tolerance 1e-9
3 quantities compared; worst relative error 2.83e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 15 vs 27, no ties, max relative error 1.2e-16, tolerance 1e-9
3 quantities compared; worst relative error 1.23e-16 on P (two-tailed). Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 47 vs 15, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass seeded normal, n = 38 vs 3, no ties, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Plotvera method: exact. R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001. - pass small integers with ties, max relative error 2.7e-15, tolerance 1e-9
3 quantities compared; worst relative error 2.71e-15 on P (two-tailed). Plotvera method: normal approximation (ties present). R uses the exact distribution when both groups have under 50 values and there are no ties, else the continuity-corrected normal approximation; Plotvera follows the same rule. P tolerance 0.000001.
|
| Mann-Whitney test | 2 | 2 passed | 5.7e-13 | R 4.3.3 (MASS 7.3.60.0.1): stats::wilcox.test(x, y, correct = TRUE, exact = FALSE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::wilcox.test(x, y, exact = TRUE) [validation/r/ttests.R]Cases- pass airquality Ozone, May vs August (ties: normal approximation) (source), max relative error 5.7e-13, tolerance 1e-9
3 quantities compared; worst relative error 5.69e-13 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. U is reported as min(U1, U2); R reports W = U1, converted in the R script. Normal approximation with tie and continuity correction on both sides (R correct = TRUE). Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass MASS::anorexia post-treatment weight, FT (n=17) vs CBT (n=29); no ties, exact (source), max relative error 3.5e-16, tolerance 1e-9
3 quantities compared; worst relative error 3.49e-16 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. U is reported as min(U1, U2); R reports W = U1, converted in the R script. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|
| Multiple logistic regression | 2 | 2 passed | 1.4e-11 | R 4.3.3: stats::glm(family = binomial, epsilon = 1e-15) then Newton-Raphson polish; SE from inverse information; Wald CI exp(b +/- qnorm(0.975) SE) [validation/r/regression.R]Cases- pass mtcars am ~ wt + hp (n = 32) (source), max relative error 1.2e-11, tolerance 1e-8
24 quantities compared; worst relative error 1.20e-11 on LR P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Iterative ML on both sides (Plotvera Newton/IRLS; R glm polished by Newton-Raphson), so estimates are held to 1e-8 rather than 1e-9; P values and CI bounds 0.000001. - pass mtcars am ~ mpg + drat + carb (n = 32) (source), max relative error 1.4e-11, tolerance 1e-8
31 quantities compared; worst relative error 1.40e-11 on LR P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Iterative ML on both sides (Plotvera Newton/IRLS; R glm polished by Newton-Raphson), so estimates are held to 1e-8 rather than 1e-9; P values and CI bounds 0.000001.
|
| Multiple regression | 3 | 3 passed | 1.2e-8 | NIST StRD certified values; R 4.3.3: stats::lm; summary.lm [validation/r/regression.R]Cases- pass NIST StRD Longley (n = 16, 6 collinear predictors) (source), max relative error 4.2e-12, tolerance 1e-9
16 quantities compared; worst relative error 4.16e-12 on B1. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Minimum LRE 11.4. Longley's design is severely collinear (condition number ~1e7 after centring). Raw file validation/reference/nist/lls/Longley.dat. - pass mtcars mpg ~ wt + hp + disp (n = 32) (source), max relative error 1.1e-8, tolerance 1e-9
23 quantities compared; worst relative error 1.11e-8 on disp P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass mtcars qsec ~ hp + wt + am + drat (n = 32) (source), max relative error 1.2e-8, tolerance 1e-9
27 quantities compared; worst relative error 1.20e-8 on wt P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| Multiple t tests (one per row) | 1 | 1 passed | 1.5e-12 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): stats::t.test(var.equal = FALSE) per row; stats::p.adjust('BH' / 'holm') [validation/r/misc.R]Cases- pass CO2 uptake, nonchilled plants: Quebec (3) vs Mississippi (3) at each of 7 concentrations (source), max relative error 1.5e-12, tolerance 1e-6
21 quantities compared; worst relative error 1.46e-12 on conc500 P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Welch t test per row; adjusted with Benjamini-Hochberg and with Holm. Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001.
|
| Nested one-way ANOVA | 1 | 1 passed | 1.3e-14 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov(y ~ group + Error(subject)) [validation/r/anova.R]Cases- pass lme4::Pastes paste strength, batches A-E, 3 casks (subjects) x 2 replicate tests (source), max relative error 1.3e-14, tolerance 1e-9
3 quantities compared; worst relative error 1.35e-14 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| Nested t test | 1 | 1 passed | 1.1e-13 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov(y ~ group + Error(subject)); equivalently t.test on subject means (balanced) [validation/r/anova.R]Cases- pass lme4::Pastes paste strength, batches A vs B, 3 casks (subjects) x 2 replicate tests (source), max relative error 1.1e-13, tolerance 1e-9
4 quantities compared; worst relative error 1.05e-13 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| Normality diagnostics (Shapiro-Wilk, KS-Lilliefors, Anderson-Darling) | 8 | 8 passed | 4.3e-9 | R 4.3.3: stats::shapiro.test (Royston 1995 AS R94); KS-Lilliefors D and Anderson-Darling A2/A* from their definitions; AD P from the D'Agostino & Stephens (1986) piecewise formula [validation/r/normality.R]Cases- pass precip: annual precipitation, 70 US cities (source), max relative error 9.6e-10, tolerance 1e-9
6 quantities compared; worst relative error 9.63e-10 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass rivers: lengths of 141 North American rivers (skewed) (source), max relative error 1.4e-10, tolerance 1e-9
6 quantities compared; worst relative error 1.40e-10 on Shapiro-Wilk W. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass mtcars mpg (n = 32) (source), max relative error 5.1e-10, tolerance 1e-9
6 quantities compared; worst relative error 5.11e-10 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass PlantGrowth weight (n = 30) (source), max relative error 1.2e-9, tolerance 1e-9
6 quantities compared; worst relative error 1.23e-9 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass women weight (n = 15) (source), max relative error 4.3e-9, tolerance 1e-9
6 quantities compared; worst relative error 4.31e-9 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass faithful eruption durations (n = 272, bimodal) (source), max relative error 1.5e-11, tolerance 1e-9
6 quantities compared; worst relative error 1.54e-11 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass morley: Michelson speed-of-light runs (n = 100) (source), max relative error 1.4e-9, tolerance 1e-9
6 quantities compared; worst relative error 1.42e-9 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result. - pass sleep extra, first 3 values (Shapiro-Wilk exact n = 3 branch) (source), max relative error 3.6e-15, tolerance 1e-9
3 quantities compared; worst relative error 3.64e-15 on Shapiro-Wilk P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Shapiro-Wilk W at 1e-7 (both sides evaluate Royston's polynomial approximations to the coefficients) and P at 0.000001. KS-Lilliefors D and Anderson-Darling A* are compared with their definitions; the Lilliefors P value (Dallal-Wilkinson) has no independent reference here because nortest is not installed. The AD P value is checked against the published D'Agostino & Stephens (1986) formula written out in normality.R, an independent transcription rather than an R package result.
|
| One-sample t test | 2 | 2 passed | 3.0e-9 | R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(x, mu = 0) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(x, mu = 60) [validation/r/ttests.R]Cases- pass sleep (Student 1908), drug 1, mu = 0 (source), max relative error 2.0e-9, tolerance 1e-9
7 quantities compared; worst relative error 2.02e-9 on 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass women heights, mu = 60 (source), max relative error 3.0e-9, tolerance 1e-9
7 quantities compared; worst relative error 3.02e-9 on 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|
| Paired t test | 2 | 2 passed | 2.0e-9 | R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(a, b, paired = TRUE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(log10(a), log10(b), paired = TRUE) [validation/r/ttests.R]Cases- pass sleep (Student 1908), drug 1 vs drug 2 within patient (source), max relative error 2.0e-9, tolerance 1e-9
7 quantities compared; worst relative error 2.02e-9 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt1 paired by row (illustrative pairing), log10-transformed (source), max relative error 2.0e-9, tolerance 1e-9
5 quantities compared; worst relative error 2.02e-9 on 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on log10-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|
| Principal component analysis | 1 | 1 passed | 5.6e-11 | R 4.3.3: stats::prcomp(X, scale. = TRUE) [validation/r/regression.R]Cases- pass USArrests: Murder, Assault, UrbanPop, Rape (50 states), correlation-matrix PCA (source), max relative error 5.6e-11, tolerance 1e-9
120 quantities compared; worst relative error 5.59e-11 on loading Rape PC4. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Eigenvalues at 1e-9; loadings and scores at 1e-8 after aligning each component's arbitrary sign to R (the eigenvector solvers differ: Jacobi/QR vs LAPACK SVD). Scores scaled by max(|score|, 1).
|
| Pearson correlation | 3 | 3 passed | 1.9e-10 | R 4.3.3: stats::cor.test(x, y, method = 'pearson') [validation/r/regression.R]Cases- pass mtcars wt vs mpg (n = 32) (source), max relative error 4.3e-11, tolerance 1e-9
7 quantities compared; worst relative error 4.27e-11 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Fisher-z CI as R cor.test. Plotvera's CI previously used z = 1.96 rather than qnorm(0.975), a 1e-5 relative shift; fixed in this release. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass mtcars hp vs qsec (n = 32) (source), max relative error 1.9e-10, tolerance 1e-9
7 quantities compared; worst relative error 1.90e-10 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Fisher-z CI as R cor.test. Plotvera's CI previously used z = 1.96 rather than qnorm(0.975), a 1e-5 relative shift; fixed in this release. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass mtcars disp vs drat (n = 32) (source), max relative error 1.9e-10, tolerance 1e-9
7 quantities compared; worst relative error 1.91e-10 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Fisher-z CI as R cor.test. Plotvera's CI previously used z = 1.96 rather than qnorm(0.975), a 1e-5 relative shift; fixed in this release. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| One-way ANOVA, repeated measures | 1 | 1 passed | 3.4e-8 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov(y ~ cond + Error(subj/cond)); Greenhouse-Geisser from the double-centred covariance (also car::Anova); Huynh-Feldt (1976) formula, capped at 1 [validation/r/anova.R]Cases- pass RoundingTimes (Hollander & Wolfe 1973): 22 subjects x 3 conditions (source), max relative error 3.4e-8, tolerance 1e-9
9 quantities compared; worst relative error 3.40e-8 on P (GG). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. GG epsilon also equals car::Anova (0.7735014632705628). Huynh-Feldt is the original 1976 formula (as SPSS); car reports the Lecoutre (1991) variant, which is a different estimator. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| One-way ANOVA, repeated measures (log10 test scale) | 1 | 1 passed | 1.1e-12 | R 4.3.3 (car 3.1.5, multcomp 1.4.32, mvtnorm 1.4.2, lme4 2.0.6): stats::aov(log10(y) ~ cond + Error(subj/cond)) [validation/r/anova.R]Cases- pass RoundingTimes, log10-transformed before testing (Plotvera test-scale option) (source), max relative error 1.1e-12, tolerance 1e-9
4 quantities compared; worst relative error 1.08e-12 on P (sphericity assumed). Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: SS/MS/F/df/means 1e-9 relative; P values and CI bounds 0.000001 (distribution-function precision).
|
| ROC curve | 2 | 2 passed | 3.2e-15 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): AUC = Mann-Whitney U/(n1 n0) (stats::wilcox.test); Hanley-McNeil (1982) SE; Youden J over observed thresholds (positive if marker >= threshold) [validation/r/misc.R]Cases- pass mtcars: weight as a marker of automatic transmission (19 vs 13) (source), max relative error 2.8e-15, tolerance 1e-9
8 quantities compared; worst relative error 2.76e-15 on AUC 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Hanley-McNeil interval truncated to [0, 1] on both sides. Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001. - pass infert: number of prior spontaneous abortions as a marker of case status (83 cases, 165 controls; heavy ties) (source), max relative error 3.2e-15, tolerance 1e-9
8 quantities compared; worst relative error 3.21e-15 on AUC 95% CI lower. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Hanley-McNeil interval truncated to [0, 1] on both sides. Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001.
|
| Robust FDR outlier screening (MAD + BH) (robust MAD + BH screening) | 2 | 2 passed | 5.8e-14 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): robust z = |x - median|/(MAD/0.6745), two-sided normal P, stats::p.adjust(method = 'BH') (Plotvera's documented screening rule) [validation/r/misc.R]Cases- pass mtcars horsepower (n = 32; Maserati Bora 335 hp) (source), max relative error 8.7e-15, tolerance 1e-9
98 quantities compared; worst relative error 8.73e-15 on P row 31. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera's own documented screening rule (not GraphPad's ROUT): z = |x - median|/(MAD/0.6745) with the rounded constant 0.6745 as documented, two-sided normal P, Benjamini-Hochberg. Robust z scaled by max(|z|, 1). Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001. - pass precip (n = 70) (source), max relative error 5.8e-14, tolerance 1e-9
212 quantities compared; worst relative error 5.76e-14 on BH row 1. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Plotvera's own documented screening rule (not GraphPad's ROUT): z = |x - median|/(MAD/0.6745) with the rounded constant 0.6745 as documented, two-sided normal P, Benjamini-Hochberg. Robust z scaled by max(|z|, 1). Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001.
|
| Spearman correlation | 3 | 3 passed | 7.8e-10 | R 4.3.3: stats::cor.test(x, y, method = 'spearman', exact = FALSE) [t approximation]; CI: Fisher z with Bonett-Wright SE sqrt((1 + rho^2/2)/(n - 3)) computed in the script [validation/r/regression.R]Cases- pass mtcars wt vs mpg (n = 32, ties) (source), max relative error 7.0e-11, tolerance 1e-9
5 quantities compared; worst relative error 7.03e-11 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Spearman P uses the t approximation (R exact = FALSE, which R also uses with ties); the Bonett-Wright Fisher-z CI has no base-R function and is computed from its formula in regression.R. Plotvera's CI previously used z = 1.96 rather than qnorm(0.975), a 1e-5 relative shift; fixed in this release. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass mtcars hp vs qsec (n = 32, ties) (source), max relative error 7.8e-10, tolerance 1e-9
5 quantities compared; worst relative error 7.76e-10 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Spearman P uses the t approximation (R exact = FALSE, which R also uses with ties); the Bonett-Wright Fisher-z CI has no base-R function and is computed from its formula in regression.R. Plotvera's CI previously used z = 1.96 rather than qnorm(0.975), a 1e-5 relative shift; fixed in this release. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001. - pass mtcars disp vs drat (n = 32, ties) (source), max relative error 4.4e-10, tolerance 1e-9
5 quantities compared; worst relative error 4.43e-10 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Spearman P uses the t approximation (R exact = FALSE, which R also uses with ties); the Bonett-Wright Fisher-z CI has no base-R function and is computed from its formula in regression.R. Plotvera's CI previously used z = 1.96 rather than qnorm(0.975), a 1e-5 relative shift; fixed in this release. Tolerances: estimates/SE/statistics 1e-9 relative; P values and CI bounds 0.000001.
|
| Spearman correlation | 27 | 27 passed | 2.7e-14 | R 4.3.3 (survival 3.5.8): stats::cor.test(x, y, method = 'spearman') [validation/r/rankexact.R]Cases- pass seeded, n = 3, no ties, max relative error 2.2e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.22e-16 on rho. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 4, no ties, perfect order, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 4, no ties, perfect reverse order, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 5, no ties, max relative error 1.6e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.59e-16 on rho. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 6, no ties, max relative error 1.4e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.44e-16 on rho. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 7, no ties, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 8, no ties, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 9, no ties, max relative error 2.3e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.30e-16 on rho. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 9, no ties, max relative error 2.0e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.02e-16 on rho. Plotvera method: exact (all orderings). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 10, no ties, max relative error 2.7e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.74e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 11, no ties, max relative error 4.2e-16, tolerance 1e-9
2 quantities compared; worst relative error 4.16e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 12, no ties, max relative error 2.7e-14, tolerance 1e-9
2 quantities compared; worst relative error 2.74e-14 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 15, no ties, max relative error 4.2e-16, tolerance 1e-9
2 quantities compared; worst relative error 4.17e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 20, no ties, max relative error 1.1e-15, tolerance 1e-9
2 quantities compared; worst relative error 1.12e-15 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 30, no ties, max relative error 9.4e-15, tolerance 1e-9
2 quantities compared; worst relative error 9.40e-15 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 42, no ties, max relative error 3.5e-15, tolerance 1e-9
2 quantities compared; worst relative error 3.53e-15 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 60, no ties, max relative error 2.6e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.65e-16 on rho. Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 100, no ties, max relative error 4.8e-16, tolerance 1e-9
2 quantities compared; worst relative error 4.78e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 23, no ties, max relative error 1.4e-14, tolerance 1e-9
2 quantities compared; worst relative error 1.40e-14 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 34, no ties, max relative error 2.2e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.22e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 10, no ties, max relative error 3.1e-16, tolerance 1e-9
2 quantities compared; worst relative error 3.12e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 20, no ties, max relative error 3.5e-16, tolerance 1e-9
2 quantities compared; worst relative error 3.46e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 33, no ties, max relative error 2.2e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.25e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 12, no ties, max relative error 3.8e-16, tolerance 1e-9
2 quantities compared; worst relative error 3.77e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 36, no ties, max relative error 8.9e-16, tolerance 1e-9
2 quantities compared; worst relative error 8.94e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass seeded, n = 17, no ties, max relative error 2.3e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.28e-16 on P (two-tailed). Plotvera method: Edgeworth series (AS 89). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation. - pass ties: t approximation, max relative error 1.0e-14, tolerance 1e-9
2 quantities compared; worst relative error 9.96e-15 on P (two-tailed). Plotvera method: t approximation (ties present). R cor.test computes the P by AS 89 (every ordering for n <= 9, an Edgeworth series above) when there are no ties and n <= 1290, else the t approximation.
|
| Standard normal CDF | 1 | 1 passed | 1.2e-13 | R 4.3.3: pnorm(z) [validation/r/distributions.R]Cases- pass 12-point grid of arguments (validation/r/distributions.R), max relative error 1.2e-13, tolerance 1e-6
12 quantities compared; worst relative error 1.24e-13 on normCDF(-6). Tolerance 0.000001, relative; probabilities use |a - e| / max(e, 0.000001) so P values below 0.000001 are held to 1e-12 absolute (upper tails are 1 - CDF: values below ~1e-16 return 0, displayed "< 0.0001").
|
| Standard normal quantile | 1 | 1 passed | 2.2e-15 | R 4.3.3: qnorm(p) [validation/r/distributions.R]Cases- pass 9-point grid of arguments (validation/r/distributions.R), max relative error 2.2e-15, tolerance 1e-6
9 quantities compared; worst relative error 2.16e-15 on normInv(0.001). Tolerance 0.000001, relative; probabilities use |a - e| / max(e, 0.000001) so P values below 0.000001 are held to 1e-12 absolute (upper tails are 1 - CDF: values below ~1e-16 return 0, displayed "< 0.0001").
|
| Standard curve: read unknowns (ELISA) | 1 | 1 passed | 2.1e-7 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): stats::nls 4PL Bottom + (Top-Bottom)/(1+(conc/EC50)^(-Hill)); investr::invest(interval = 'inversion') (calibration interval for one new reading) [validation/r/misc.R]Cases- pass DNase ELISA: run 1 standards (16 points, 4PL on linear concentration), 4 run-2 readings as unknowns (source), max relative error 2.1e-7, tolerance 1e-4
20 quantities compared; worst relative error 2.14e-7 on Hill SE. Engine standardCurve (the analysis behind "Standard curve: read unknowns"). Both fits are iterative (Plotvera LM; R nls to relative offset 1e-7) and both inversion intervals are root searches, so parameters are held to 1e-4 of their SE and interpolated concentrations and calibration limits to 1e-4 relative.
|
| Studentized range upper-tail P (Tukey) | 1 | 1 passed | 0 (identical) | R 4.3.3: ptukey(q, k, df, lower.tail = FALSE) [validation/r/distributions.R]Cases- pass 81-point grid of arguments (validation/r/distributions.R), max relative error 0 (identical), tolerance 1e-6
81 quantities compared. Absolute tolerance 1e-10: both R's ptukey and jStat.tukey (a port of it) integrate numerically (16-point Gauss-Legendre) and form the upper tail as 1 - CDF, so agreement is absolute, not relative.
|
| Survival: Kaplan-Meier median and 95% CI | 12 | 12 passed | 0 (identical) | R 4.3.3 (survival 3.5.8): survival::survfit(Surv(t, e) ~ 1, conf.type = 'log-log') [validation/r/rankexact.R]Cases- pass seeded exponential, n = 5, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 6, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 8, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 10, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 12, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 20, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 10, some censored, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 15, some censored, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 25, some censored, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 4, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 3, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism. - pass seeded exponential, n = 7, every subject has the event, max relative error 0 (identical), tolerance 1e-9
3 quantities compared. Brookmeyer-Crowley CI on the log-log Greenwood band. A bound R reports as NA (the curve fell to 0 first, or never crossed) is "not estimable" or NR in Plotvera. A curve exactly on 50% gives the midpoint to the next event, as R and Prism.
|
| t quantile | 1 | 1 passed | 5.7e-8 | R 4.3.3: qt(p, df) [validation/r/distributions.R]Cases- pass 72-point grid of arguments (validation/r/distributions.R), max relative error 5.7e-8, tolerance 1e-6
72 quantities compared; worst relative error 5.66e-8 on tInv(0.75, 1). Tolerance 0.000001, relative; probabilities use |a - e| / max(e, 0.000001) so P values below 0.000001 are held to 1e-12 absolute (upper tails are 1 - CDF: values below ~1e-16 return 0, displayed "< 0.0001").
|
| Area under curve per mouse, compare arms | 1 | 1 passed | 1.6e-9 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): trapezoid AUC per chick; stats::aov(auc ~ diet) [validation/r/misc.R]Cases- pass ChickWeight: per-chick AUC over days 0-21 for the 45 chicks weighed at all 12 times, 4 diets (source), max relative error 1.6e-9, tolerance 1e-9
49 quantities compared; worst relative error 1.61e-9 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Only chicks weighed at all 12 times are passed, so Plotvera's common window is the full day 0-21 range used in R. Tolerances: closed-form 1e-9 relative; P values and CI bounds 0.000001.
|
| Mixed-effects model (arm x time) | 1 | 1 passed | 4.1e-6 | R 4.3.3 (zoo 1.9.1, investr 1.4.2, lme4 2.0.6, lmerTest 3.2.1, emmeans 2.0.4): lmerTest::lmer(weight ~ Diet * factor(Time) + (1 | Chick), REML, sum-to-zero contrasts); anova(type = 3, ddf = 'Satterthwaite') [validation/r/misc.R]Cases- pass ChickWeight: all 578 weights of 50 chicks (dropouts kept), diet x day, random intercept per chick (source), max relative error 4.1e-6, tolerance 1e-6
14 quantities compared; worst relative error 4.06e-6 on Arm P. Engine fitMixedTimeCourse (behind "Mixed-effects model (arm × time)"). REML is a one-dimensional numerical optimisation on both sides (Plotvera profiles the variance ratio; lme4 uses its own optimiser), so variance components and F are held to 1e-6 and Satterthwaite df and P values to 1e-5 relative.
|
| Two-tailed t P value | 1 | 1 passed | 3.7e-8 | R 4.3.3: 2 * pt(-|t|, df) [validation/r/distributions.R]Cases- pass 99-point grid of arguments (validation/r/distributions.R), max relative error 3.7e-8, tolerance 1e-6
99 quantities compared; worst relative error 3.66e-8 on pTwoT(0.1, 100). Tolerance 0.000001, relative; probabilities use |a - e| / max(e, 0.000001) so P values below 0.000001 are held to 1e-12 absolute (upper tails are 1 - CDF: values below ~1e-16 return 0, displayed "< 0.0001").
|
| Unpaired t test | 4 | 4 passed | 1.2e-8 | R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(a, b, var.equal = TRUE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(log10(a), log10(b), var.equal = TRUE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(ln(a), ln(b), var.equal = TRUE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(log2(a), log2(b), var.equal = TRUE) [validation/r/ttests.R]Cases- pass sleep (Student 1908), drug 1 vs drug 2 as independent groups (source), max relative error 1.2e-8, tolerance 1e-9
7 quantities compared; worst relative error 1.21e-8 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt2, log10-transformed before testing (source), max relative error 1.2e-8, tolerance 1e-9
5 quantities compared; worst relative error 1.21e-8 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on log10-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt2, ln-transformed before testing (source), max relative error 1.2e-8, tolerance 1e-9
5 quantities compared; worst relative error 1.21e-8 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on ln-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt2, log2-transformed before testing (source), max relative error 1.2e-8, tolerance 1e-9
5 quantities compared; worst relative error 1.21e-8 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on log2-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|
| Unpaired t test (with an excluded value) | 1 | 1 passed | 4.0e-9 | R 4.3.3 (outliers 0.15): stats::t.test(A[-5], B, var.equal = TRUE) on the reduced data [validation/r/qc.R]Cases- pass A (n = 5, A row 5 = 25.0 excluded) vs B (n = 5), synthetic (source), max relative error 4.0e-9, tolerance 1e-9
7 quantities compared; worst relative error 4.04e-9 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. The excluded cell stays in the table; the analysis reads the table with it left out and must equal R on the reduced data. Tolerances: t, df, mean difference 1e-9; P and CI 0.000001.
|
| Welch's t test | 4 | 4 passed | 1.1e-8 | R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(a, b, var.equal = FALSE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(log10(a), log10(b), var.equal = FALSE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(ln(a), ln(b), var.equal = FALSE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::t.test(log2(a), log2(b), var.equal = FALSE) [validation/r/ttests.R]Cases- pass sleep (Student 1908), drug 1 vs drug 2 as independent groups (source), max relative error 1.1e-8, tolerance 1e-9
7 quantities compared; worst relative error 1.14e-8 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt2, log10-transformed before testing (source), max relative error 6.4e-9, tolerance 1e-9
5 quantities compared; worst relative error 6.37e-9 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on log10-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt2, ln-transformed before testing (source), max relative error 6.4e-9, tolerance 1e-9
5 quantities compared; worst relative error 6.37e-9 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on ln-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass PlantGrowth ctrl vs trt2, log2-transformed before testing (source), max relative error 6.4e-9, tolerance 1e-9
5 quantities compared; worst relative error 6.37e-9 on 95% CI upper. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Test on log2-transformed values (Plotvera "test scale" option); CI is on the transformed scale. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|
| Wilcoxon matched-pairs signed-rank | 2 | 2 passed | 5.2e-15 | R 4.3.3 (MASS 7.3.60.0.1): stats::wilcox.test(a, b, paired = TRUE, correct = TRUE, exact = FALSE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::wilcox.test(post, pre, paired = TRUE, exact = TRUE) [validation/r/ttests.R]Cases- pass sleep drug 1 vs drug 2 (one zero difference dropped; tied |d|: normal approximation) (source), max relative error 5.2e-15, tolerance 1e-9
3 quantities compared; worst relative error 5.15e-15 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Normal approximation with tie and continuity correction on both sides (R correct = TRUE). Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass MASS::anorexia FT group, Postwt vs Prewt (n=17, no ties): exact (source), max relative error 2.6e-16, tolerance 1e-9
3 quantities compared; worst relative error 2.58e-16 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|
| Wilcoxon matched-pairs signed-rank | 23 | 23 passed | 1.5e-12 | R 4.3.3 (survival 3.5.8): stats::wilcox.test(a, b, paired = TRUE) [validation/r/rankexact.R]Cases- pass seeded paired normal, n = 6, no ties or zeros, max relative error 4.4e-16, tolerance 1e-9
2 quantities compared; worst relative error 4.44e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 10, no ties or zeros, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 25, no ties or zeros, max relative error 2.1e-16, tolerance 1e-9
2 quantities compared; worst relative error 2.11e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 30, no ties or zeros, max relative error 1.6e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.57e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 31, no ties or zeros, max relative error 1.3e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.28e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 38, no ties or zeros, max relative error 1.1e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.14e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 45, no ties or zeros, max relative error 1.7e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.70e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 49, no ties or zeros, max relative error 7.9e-17, tolerance 1e-9
2 quantities compared; worst relative error 7.94e-17 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 50, no ties or zeros, max relative error 5.8e-16, tolerance 1e-9
2 quantities compared; worst relative error 5.80e-16 on P (two-tailed). Plotvera method: normal approximation. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 70, no ties or zeros, max relative error 1.5e-12, tolerance 1e-9
2 quantities compared; worst relative error 1.48e-12 on P (two-tailed). Plotvera method: normal approximation. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 12, no ties or zeros, max relative error 6.5e-16, tolerance 1e-9
2 quantities compared; worst relative error 6.54e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 22, no ties or zeros, max relative error 1.8e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.78e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 36, no ties or zeros, max relative error 1.8e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.77e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 47, no ties or zeros, max relative error 1.8e-15, tolerance 1e-9
2 quantities compared; worst relative error 1.77e-15 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 17, no ties or zeros, max relative error 2.0e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.99e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 32, no ties or zeros, max relative error 1.7e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.73e-16 on P (two-tailed). Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 10, no ties or zeros, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 10, no ties or zeros, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 9, no ties or zeros, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired normal, n = 40, no ties or zeros, max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Plotvera method: exact. Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired, n = 8 with 2 zero differences, max relative error 1.3e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.33e-16 on P (two-tailed). Plotvera method: normal approximation (zero differences present). Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired, n = 15 with 2 zero differences, max relative error 1.2e-15, tolerance 1e-9
2 quantities compared; worst relative error 1.21e-15 on P (two-tailed). Plotvera method: normal approximation (zero differences present). Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P. - pass seeded paired, n = 30 with 2 zero differences, max relative error 4.2e-15, tolerance 1e-9
2 quantities compared; worst relative error 4.18e-15 on P (two-tailed). Plotvera method: normal approximation (zero differences present). Exact below 50 non-zero pairs with no tied |differences| and no zero differences (as R); the graph bracket uses the same P.
|
| One-sample Wilcoxon signed-rank | 2 | 2 passed | 1.1e-16 | R 4.3.3 (MASS 7.3.60.0.1): stats::wilcox.test(x, mu = 85, exact = TRUE) [validation/r/ttests.R]; R 4.3.3 (MASS 7.3.60.0.1): stats::wilcox.test(x, mu = 1) [R default method] [validation/r/ttests.R]Cases- pass MASS::anorexia FT Postwt vs hypothetical 85 lb (no ties): exact (source), max relative error 1.1e-16, tolerance 1e-9
2 quantities compared; worst relative error 1.14e-16 on P. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions). - pass sleep drug 2 vs hypothetical 1 (R default: exact; decimal ties 0.9/-0.9 differ in binary64) (source), max relative error 0 (identical), tolerance 1e-9
2 quantities compared. Display formatters fmt/fmtP/fmtR2/fmtDecisionP replaced by full-precision String(x) for the test; engine arithmetic untouched. Tolerances: statistics 1e-9 relative; P values and CI bounds 1e-6 (distribution-function precision, see numerical.distributions).
|