Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

asht (version 1.0.0)

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

828

Version

1.0.0

License

GPL-3

Maintainer

Michael Fay

Last Published

February 8th, 2023

Functions in asht (1.0.0)

quantileTest

Tests and Confidence Intervals about a Quantile.
methodRuleWMW

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

Meld Two Confidence Distributions
metaNorm

Meta analysis of normally distributed parameters with assumed known variance
pbf

Behrens-Fisher distribution
signTest

Exact Sign Test with Confidence Intervals
prevSeSp

Estimate prevalence with confidence interval accounting for sensitivity and specificity
meldtTest

Meld t Test
simulateSS

Simulate sample sizes
tukeyWelsch

Tukey-Welsch Pairwise Tests
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
wspoissonTest

Test and Confidence Intervals on Weighted Sum of Poissons
cvTest

Coefficient of Variation Test
latentTransform

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

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

Behrens-Fisher Test
WprevSeSp

Weighted prevalence inferences adjusted for sensitivity and specificity
bfControl

Algorithm control arguments for Behrens-Fisher test
anovaOneWay

One-Way ANOVA
asht-package

Applied Statistical Hypothesis Tests
ama1c1cpg

Three arm phase 1 malaria vaccine trial
abcnonHtest

Nonparametric ABC (Approximate Bootstrap Confidence) intervals.