Package: safestats 0.8.7
safestats: Safe Anytime-Valid Inference
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.
Authors:
safestats_0.8.7.tar.gz
safestats_0.8.7.zip(r-4.5)safestats_0.8.7.zip(r-4.4)safestats_0.8.7.zip(r-4.3)
safestats_0.8.7.tgz(r-4.4-any)safestats_0.8.7.tgz(r-4.3-any)
safestats_0.8.7.tar.gz(r-4.5-noble)safestats_0.8.7.tar.gz(r-4.4-noble)
safestats_0.8.7.tgz(r-4.4-emscripten)safestats_0.8.7.tgz(r-4.3-emscripten)
safestats.pdf |safestats.html✨
safestats/json (API)
NEWS
# Install 'safestats' in R: |
install.packages('safestats', repos = c('https://alexanderlynl.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alexanderlynl/safestats/issues
evalueshacktoberfestsafe-testingstatistics
Last updated 2 years agofrom:67b00855fe. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | OK | Nov 05 2024 |
R-4.5-linux | OK | Nov 05 2024 |
R-4.4-win | OK | Nov 05 2024 |
R-4.4-mac | OK | Nov 05 2024 |
R-4.3-win | OK | Nov 05 2024 |
R-4.3-mac | OK | Nov 05 2024 |
Exports:checkDoubleArgumentsDesignObjectcomputeBetaSafeTcomputeBetaSafeZcomputeBootObjcomputeConfidenceBoundForLogOddsTwoProportionscomputeConfidenceBoundsForDifferenceTwoProportionscomputeConfidenceIntervalTcomputeConfidenceIntervalZcomputeLogrankBetaFromcomputeLogrankNEventscomputeLogrankZcomputeNPlanSafeTcomputeNPlanSafeZcomputeStatsForLogrankdesignFreqTdesignFreqZdesignPilotSafeTdesignPilotSafeZdesignSafeLogrankdesignSafeTdesignSafeTwoProportionsdesignSafeZgenerateNormalDatagenerateSurvDataisTryErrorlogrankSingleEExactlogrankSingleZplotConfidenceSequenceTwoProportionsplotHistogramDistributionStoppingTimesplotSafeTDesignSampleSizeProfilereplicateTTestsreturnOnerLogranksafe.prop.testsafe.t.testsafe.z.testsafeLogrankTestsafeLogrankTestStatsafeTTestsafeTTestStatsafeTwoProportionsTestsafeZ10InversesafeZTestsafeZTestStatsampleLogrankStoppingTimessampleStoppingTimesSafeTsampleStoppingTimesSafeZselectivelyContinueTTestCombineDatasetSafeStatsPlotOptionsAndReturnOldOnessimulateCoverageDifferenceTwoProportionssimulateIncorrectStoppingTimesFishersimulateOptionalStoppingScenarioTwoProportionssimulateTwoProportions
Dependencies:BiasedUrnbootclicontfracdeSolvedplyrellipticfansigenericsgluehypergeolatticelifecyclemagrittrMASSMatrixpillarpkgconfigpurrrR6rlangsurvivaltibbletidyselectutf8vctrswithr
Safe Tests and Confidence Intervals for Tests of Two Proportions: Practical Scenarios
Rendered fromcontingency-tables-vignette.Rmd
usingknitr::rmarkdown
on Nov 05 2024.Last update: 2022-11-23
Started: 2022-01-06
Safe Flexible Hypothesis Tests for Practical Scenarios
Rendered fromsafestats-vignette.Rmd
usingknitr::rmarkdown
on Nov 05 2024.Last update: 2022-11-23
Started: 2020-02-07