Skip to content

testtwice

Testing One Hypothesis Twice in Observational Studies

v1.0.3 · Sep 15, 2020 · GPL-2

Description

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.

Downloads

218

Last 30 days

21034th

503

Last 90 days

1.8K

Last year

Trend: +27.5% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Paul", "R."),
                    family = "Rosenbaum",
                    role = c("aut", "cre"),
                    email = "rosenbaum@wharton.upenn.edu")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Paul", "R."),
                    family = "Rosenbaum",
                    role = c("aut", "cre"),
                    email = "rosenbaum@wharton.upenn.edu")
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Paul", "R."),
                    family = "Rosenbaum",
                    role = c("aut", "cre"),
                    email = "rosenbaum@wharton.upenn.edu")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Paul", "R."),
                    family = "Rosenbaum",
                    role = c("aut", "cre"),
                    email = "rosenbaum@wharton.upenn.edu")
as necessary.

Dependency Network

Dependencies Reverse dependencies mvtnorm testtwice

Version History

new 1.0.3 Mar 10, 2026