NEWS R Documentation

## News for R Package asht

### Version 0.9.8 (2021-09-15)

#### Changes

• Fixed bug in simulateSS function (see comment inside estNpower function within simulateSS).

### Version 0.9.6 (2020-07-03)

#### Changes

• Added unconditional difference option for the statistic for the sign test. This calls ncnemarExactDP, that is why the package now requires exact2x2 (>=1.6.4).

### Version 0.9.5.1 (2020-06-22)

#### Changes

• added utol argument to meldCD.

• Changed wmwTest so that it gives a warning if the uniroot function may fail for method='exact.mc'. See Note section on the man page.

### Version 0.9.4 (2018-09-14)

#### Changes

• Added meldtTest and meldCD functions to do two-sample tests by melding.

• Added tukeyWelsch function to do multiplicity adjusted pairwise tests from k-samples

• Added anovaOneWay, to output an ICC or other estimate, also allow var.eqaul=FALSE using the Brown-Forsythe method.

• Fixed wmwTest when exact and there are tied values and value is most extreme. For example, wmwTest(c(1,3),c(3,4)) previously had given an error for calculating the confidence interval.

• use match.arg with method in wmwTest, so that method='asy' will work for method='asymptotic'

• updated wmwTest reference

• added output to bfTest so it outputs the R statistic.

### Version 0.9.3 (2017-10-06)

#### Changes

• Added wmwTest to calculate the Wilcoxon-Mann-Whitney test with confidence intervals for the Mann-Whitney parameter that are unified with the test.

### Version 0.9.2 (2017-08-10)

#### Changes

• Added the abcnonHtest function to give nonparametric ABC (approximate bootstrap confidence) intervals with p-values and estimates.

### Version 0.9.1 (2017-05-01)

#### Changes

• Fixed error in one-sided tests for wspoissonTest when midp=TRUE. Thanks to Michael Nelson for pointing out this error. Also fixed data description for wspoissonTest.

### Version 0.9 (2017-04-01)

#### Changes

• Created bfTest function to perform the Behrens-Fisher test using the Behrens-Fisher solution with p-values and CIs.

### Version 0.8 (2017-02-06)

#### Changes

• Made changes to the estimate and confidence interval for wsrTest. The default estimate previously used the estimator of the pseudo-median from the difference using the estimator from wilcox.test. The new estimator is based on the shift value where the one-sided p-values are equal. This ensures that the estimate will be within the confidence interval and will not change as the null hypothesis changes.

• Updated citation for Fay and Kim (2017).

### Version 0.7 (2016-11-15)

#### Changes

• Corrected error in wsrTest. The p-value was incorrectly calculated when mu was not 0, now it is correct. Also added the tieDigits option.

• Updated citation for Fay and Kim (2017).

### Version 0.6 (2016-05-04)

#### Changes

• Modified wspoissonTest to be calculated using uniroot by default, instead of by Monte Carlo simulation.

### Version 0.5 (2015-06-26)

First CRAN release of asht, “Applied Statistical Hypothesis Tests” by Michael P. Fay (author, maintainer).

#### Tests

• signTest gives exact sign test with confidence intervals

• cvTest gives coefficient of variance tests based on normality or lognormal assumptions

• quantileTest and medianTest give exact tests on a quantile (including median). No assumptions on the distribution are needed (ordered factors are allowed).

• var1Test gives one-sample test of normal variance.

• wsrTest gives exact Wilcoxon signed rank test, gives exact matching confidence intervals.

• wspoissonTest gives confidence intervals for weighted sums of Poisson, useful for directly standardized rates.