Package: safestats
Type: Package
Title: Safe Anytime-Valid Inference
Version: 0.8.7
Authors@R: c(
  person("Rosanne", "Turner", email = "rosanne.turner@cwi.nl",
  role = "aut"),
  person("Alexander", "Ly", email = "a.ly@jasp-stats.org",
  role = c("cre", "aut")),
  person("Muriel Felipe", "Perez-Ortiz", email = "Muriel.Perez@cwi.nl",
  role = c("ctb")),
  person("Judith", "ter Schure", email = "Judith.ter.Schure@cwi.nl",
  role = c("ctb")),
  person("Peter", "Grunwald", email = "Peter.Grunwald@cwi.nl",
  role = c("ctb"))
  )
Maintainer: Alexander Ly <a.ly@jasp-stats.org>
Description: 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" <arXiv:1906.07801>, 
  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" <arXiv:2011.06931v3> and Turner, Ly and Grunwald (2021)
  "Safe Tests and Always-Valid Confidence Intervals for contingency tables and 
  beyond" <arXiv:2106.02693> for details on safe contingency table tests.
License: LGPL (>= 3)
Encoding: UTF-8
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
VignetteBuilder: knitr
NeedsCompilation: no
RoxygenNote: 7.2.2
Language: en-GB
Config/testthat/edition: 3
Packaged: 2022-11-24 14:19:09 UTC; AlexLy
Author: Rosanne Turner [aut],
  Alexander Ly [cre, aut],
  Muriel Felipe Perez-Ortiz [ctb],
  Judith ter Schure [ctb],
  Peter Grunwald [ctb]
Repository: CRAN
Date/Publication: 2022-11-24 14:40:02 UTC
Built: R 4.5.3; ; 2026-06-22 05:04:27 UTC; windows
