Learn R Programming

asht (version 1.0.3)

Applied Statistical Hypothesis Tests

Description

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).

Copy Link

Version

Install

install.packages('asht')

Monthly Downloads

881

Version

1.0.3

License

GPL-3

Maintainer

Michael Fay

Last Published

August 20th, 2025

Functions in asht (1.0.3)

tukeyWelsch

Tukey-Welsch Pairwise Tests
meldtTest

Meld t Test
simulateSS

Simulate sample sizes
metaNorm

Meta analysis of normally distributed parameters with assumed known variance
methodRuleWMW

Function to pick the method for wmwTest given the data and exact argument.
prevSeSp

Estimate prevalence with confidence interval accounting for sensitivity and specificity
signTest

Exact Sign Test with Confidence Intervals
quantileTest

Tests and Confidence Intervals about a Quantile.
pbf

Behrens-Fisher distribution
meldCD

Meld Two Confidence Distributions
wspoissonTest

Test and Confidence Intervals on Weighted Sum of Poissons
wmwControl

Arguments passed to wmwTest.
var1Test

One Sample Test of Normal Variance
wsrTest

Exact Wilcoxon Signed Rank Test
wmwTest

Wilcoxon-Mann-Whitney test with Confidence Interval on Mann-Whitney Parameter
anovaOneWay

One-Way ANOVA
bfTest

Behrens-Fisher Test
Vpo

Variance for estimated Mann-Whitney parameter under proportional odds.
latentTransform

Transform Mann-Whiteny parameter to latent Mann-Whitney parameter
bfControl

Algorithm control arguments for Behrens-Fisher test
ama1c1cpg

Three arm phase 1 malaria vaccine trial
WprevSeSp

Weighted prevalence inferences adjusted for sensitivity and specificity
asht-package

Applied Statistical Hypothesis Tests
abcnonHtest

Nonparametric ABC (Approximate Bootstrap Confidence) intervals.
cvTest

Coefficient of Variation Test