testtwice v1.0.3


Monthly downloads



Testing One Hypothesis Twice in Observational Studies

Tests one hypothesis with several test statistics, correcting for multiple testing. The central function in the package is testtwice(). In a sensitivity analysis, the method has the largest design sensitivity of its component tests. The package implements the method and examples in Rosenbaum, P. R. (2012) <doi:10.1093/biomet/ass032> Testing one hypothesis twice in observational studies. Biometrika, 99(4), 763-774.

Functions in testtwice

Name Description
tt Computes the P-value and Sensitivity Bound for Testing Twice From a User Supplied Matrix.
bmhranks One-step and Two-step Signed Ranks.
multrnk A family of Signed Ranks for Matched Pair Differences.
smokerlead Pair Differences in Blood Lead Levels in 679 Matched Pairs of One Smoker and One Control.
testtwice Computes the P-value and Sensitivity Bound for Testing Twice.
testtwice-package testtwice
No Results!

Last month downloads


Type Package
License GPL-2
Encoding UTF-8
LazyData true
NeedsCompilation no
Packaged 2020-09-08 00:35:42 UTC; Paul Rosenbaum
Repository CRAN
Date/Publication 2020-09-15 10:00:02 UTC
imports mvtnorm , stats
Contributors Paul Rosenbaum

Include our badge in your README