Skip to content

History / R Python differences

Revisions

  • Follow the greybox fixes: CALM predict, stepwise, lowess ties, scale of measures, rmcb, temporaldummy Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

    @config-i1 config-i1 committed Oct 22, 2026
  • Home, Roadmap, R-Python-differences, rolling_origin: current state of both ports Home: runnable quick start (temporaldummy, from greybox import measures, a working ro() call), and a parity matrix in which sm, coefbootstrap, cramer and the plots are in Python and lmDynamic, pAIC, accuracy and the utilities are R-only. Roadmap: smooth's layout, the R-only functions and options, and the Python-only items; no pBICc. R-Python- differences: versions, what was measured to agree, what differs, the full comparison suite (2093 passed), no 'different optimiser' claim. rolling_origin: R value/silent/parallel, working R calls with value, outputs from identical data in both languages. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

    @config-i1 config-i1 committed Oct 22, 2026
  • Document lowess R parity R groups the weighted spread as w * (d*d); grouping it (w*d)*d compounds through the robustness iterations into tens of ULPs, and reaches smooth's ADAM initials through msdecompose. Adds a distributions.md section, an R-Python-differences row and the llms.txt line. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

    @config-i1 config-i1 committed Aug 25, 2026
  • Document dnorm/dlnorm R parity Both now follow R's nmath grouping rather than SciPy's: the correctly-rounded log(sqrt(2*pi)) literal, R's split of large |z|, and log(q) used directly in dlnorm. Adds a distributions.md section, an R-Python-differences row and the llms.txt line. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

    @config-i1 config-i1 committed Aug 25, 2026
  • Document dgamma's saddle-point implementation dgamma() now computes its log-density the way R's stats::dgamma does, through Loader's saddle-point form in a native extension, instead of deferring to SciPy's direct expression. The direct form cancels once the shape grows: measured against R, its relative error is 8.4e-14 at a shape of 143 and 1.1e-11 at 10000, where the saddle-point form stays near 2e-15. Small shapes were never affected. - distributions.md gains a "Numerical accuracy of dgamma" section with the measured comparison, the boundary conventions R defines at q = 0 and outside the support, the note that shape and scale may each vary per observation, and the SciPy fallback for checkouts without a compiler. - R-Python-differences.md records dgamma in the verified-agreement table. - llms.txt mentions it on the distributions entry.

    @config-i1 config-i1 committed Aug 25, 2026
  • Add RMCB wiki page; mark rmcb() as ported to Python Add RMCB.md documenting Regression for Multiple Comparison with the Best (Nemenyi/MCB test) with R/Python parity, distribution options, and plot styles. Update Home, Roadmap, R-Python-differences and llms.txt to move rmcb() out of the R-only lists now that the Python port exists. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

    @config-i1 config-i1 committed Jun 29, 2026
  • Align Smoothers/AID pages with wiki conventions; fix port-status drift After the rebase brought in the new Smoothers and AID pages (with aid() now ported to Python): - Smoothers.md, AID.md: add YAML frontmatter, convert relative links to [[WikiLink]] syntax, and add "## Function signatures" blocks. - Roadmap.md: drop aid()/aidCat() from the R-only list (now ported); add Smoothers and AID to the "already ported" reference. - llms.txt: index the Smoothers and AID pages; remove aid() from the R-only line. - R-Python-differences.md: add Smoothers (~1e-15) and AID (categorical match; IC ~1e-3) parity rows; fix stale "R-only function" wording. - Resources.md: add Cleveland (1979), Friedman (1984), and Svetunkov & Sroginis (2025) references. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    @config-i1 config-i1 committed Jun 25, 2026
  • LLM-friendly wiki: frontmatter, wikilinks, llms.txt, signatures, nav pages - Add EDA page documenting stick() (STI decomposition) with an AirPassengers example (R built-in; Python via fcompdata). - Add YAML frontmatter (title/slug/summary/status/applies_to/related) to all content pages. - Convert inter-page links to [[WikiLink]] syntax; fix broken case-sensitive links ([Stepwise]/[Distributions]). - Add "## Function signatures" blocks (verbatim R + typed Python) to the function pages. - Add Glossary, Resources, Roadmap, and R-Python-differences nav pages. - Add llms.txt machine index; wire new pages into Home navigation. - Fix mtcars import typo in Home. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    @config-i1 config-i1 committed Jun 24, 2026