CRAN/E | safestats

safestats

Safe Anytime-Valid Inference

Installation

About

Functions to design and apply tests that are anytime valid. The functions can be used to design hypothesis tests in the prospective/randomised control trial setting or in the observational/retrospective setting. The resulting tests remain valid under both optional stopping and optional continuation. The current version includes safe t-tests and safe tests of two proportions. For details on the theory of safe tests, see Grunwald, de Heide and Koolen (2019) "Safe Testing" , for details on safe logrank tests see ter Schure, Perez-Ortiz, Ly and Grunwald (2020) "The Safe Logrank Test: Error Control under Continuous Monitoring with Unlimited Horizon" and Turner, Ly and Grunwald (2021) "Safe Tests and Always-Valid Confidence Intervals for contingency tables and beyond" for details on safe contingency table tests.

Key Metrics

Version 0.8.7
R ≥ 3.6
Published 2022-11-24 528 days ago
Needs compilation? no
License LGPL (≥ 3)
CRAN checks safestats results
Language en-GB

Downloads

Yesterday 6 0%
Last 7 days 46 -32%
Last 30 days 195 -1%
Last 90 days 540 -28%
Last 365 days 2.493 -6%

Maintainer

Maintainer

Alexander Ly

a.ly@jasp-stats.org

Authors

Rosanne Turner

aut

Alexander Ly

cre / aut

Muriel Felipe Perez-Ortiz

ctb

Judith ter Schure

ctb

Peter Grunwald

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

contingency-tables-vignette
safestats-vignette

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

safestats archive

Depends

R ≥ 3.6

Imports

stats ≥ 3.6
hypergeo ≥ 1.2-13
survival ≥ 3.2-13
BiasedUrn ≥ 1.07
boot ≥ 1.3-28
dplyr ≥ 1.0.6
purrr ≥ 0.3.5
rlang ≥ 1.0.6

Suggests

testthat ≥ 3.0.0
knitr
rmarkdown
graphics