Applied Statistical Hypothesis Tests

Gives some hypothesis test functions (sign test, median and other quantile tests, Wilcoxon signed rank test, coefficient of variation test, test of normal variance, test on weighted sums of Poisson [see Fay and Kim ], sample size for t-tests with different variances and non-equal n per arm, Behrens-Fisher test, nonparametric ABC intervals, Wilcoxon-Mann-Whitney test [with effect estimates and confidence intervals, see Fay and Malinovsky ], two-sample melding tests [see Fay, Proschan, and Brittain ], one-way ANOVA allowing var.equal=FALSE [see Brown and Forsythe, 1974, Biometrics]), prevalence confidence intervals that adjust for sensitivity and specificity [see Lang and Reiczigel, 2014 ] or Bayer, Fay, and Graubard, 2023 ). The focus is on hypothesis tests that have compatible confidence intervals, but some functions only have confidence intervals (e.g., prevSeSp).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("asht")

1.0.3 by Michael P. Fay, a year ago


Browse source code at https://github.com/cran/asht


Authors: Michael P. Fay [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports perm, ssanv

Depends on stats, exact2x2, exactci, bpcp, coin

Suggests bootstrap


Imported by dsrTest.

Suggested by LMMstar, tram.


See at CRAN