A Declarative Interface for Statistical Inference
Overview
A declarative interface for statistical inference built on the S7 object system. The layouts of the statistical inference are described using expressive variable mappers, null hypotheses are stated as mathematical expressions over population parameters, and estimation is deferred until explicitly requested. Supports estimation method involving hypothesis testing and model-based inference with an extensible variant system for registering custom estimation methods.
- Initial CRAN submission.
- New and much modern approach to statistical inference in R
- Core API built with S7, taking advantage of formal classes and constructors.
- Two complementary interfaces: 1. Eager Form Approach: ``
r <<STAT_FN>>(<var_id>, <data>)`2. Piped/Grammar Syntax`r ... |> define_model(<data/var_id>, <data/var_id>) |> prepare_*(<<STAT_FN>>) |> state_null(<expr>) |> via("<method>") |> conclude() |> <output-process-fn>()``
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK6 OK2026-08-08
Documentation
- Help pages
- 73 (9 internal)includes a package overview page
- Examples that run
- 100%42 run in a plain check
- Exported functions with examples
- 55%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 1%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 34
- Median days to close, 50 most recently updated closed PRs
- 2
Forks over time
Issues over time
PRs over time
13 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/s7-stats/statim on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-07 · The repository has a site deploy workflow
pkgdown site last built 2026-07-22, before release 0.1.0 (2026-08-07)
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
- 0.1.0Latest2026-08-07 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-07
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 502 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("statim")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.