testtwice-package

0th

Percentile

testtwice

testtwice

Keywords
htest
Details

The DESCRIPTION file: testtwice testtwice

References

Rosenbaum, P. R. (2012) <doi:10.1093/biomet/ass032> Testing one hypothesis twice in observational studies. Biometrika, 99(4), 763-774.

Aliases
  • testtwice-package
Examples
# NOT RUN {
data(smokerlead)
attach(smokerlead)

# The following example reproduces parts of the first column of Table 3 in Rosenbaum (2012).
w<-rank(abs(lead))
wd<-rank(abs(lead))*dose
wl<-rank(abs(llead))
H<-cbind(w,wd,wl)
tt(lead,H,gamma=2.8)
tt(lead,H,gamma=3.2)

rm(w,wd,wl,H)
detach(smokerlead)
# }
Documentation reproduced from package testtwice, version 1.0.3, License: GPL-2

Community examples

Looks like there are no examples yet.