EnvStats (version 2.8.1)

FcnsByCatHypothTests: EnvStats Functions for Hypothesis Tests

Description

The EnvStats functions listed below are useful for performing hypothesis tests not already built into R. See Power and Sample Size Calculations for a list of functions you can use to perform power and sample size calculations based on various hypothesis tests.

Arguments

Details

For goodness-of-fit tests, see Goodness-of-Fit Tests.

Function NameDescription
chenTTestChen's modified one-sided t-test for skewed
distributions.
kendallTrendTestNonparametric test for monotonic trend
based on Kendall's tau statistic (and
optional confidence interval for slope).
kendallSeasonalTrendTestNonparametric test for monotonic trend
within each season based on Kendall's tau
statistic (and optional confidence interval
for slope).
oneSamplePermutationTestFisher's one-sample randomization
(permutation) test for location.
quantileTestTwo-sample rank test to detect a shift in
a proportion of the “treated” population.
quantileTestPValueCompute p-value associated with a specified
combination of \(m\), \(n\), \(r\) and \(k\)
for the quantile test.
Useful for determining \(r\) and \(k\) for a
given significance level \(\alpha\).
serialCorrelationTestTest for the presence of serial correlation.
signTestOne- or paired-sample sign test on the
median.
twoSampleLinearRankTestTwo-sample linear rank test to detect a
shift in the “treated” population.
twoSamplePermutationTestLocationTwo-sample or paired-sample randomization
(permutation) test for location.
twoSamplePermutationTestProportionRandomization (permutation) test to compare
two proportions (Fisher's exact test).
varTestOne-sample test on variance or two-sample
test to compare variances.
varGroupTestTest for homogeneity of variance among two
or more groups.
zTestGevdShapeEstimate the shape parameter of a
Generalized Extreme Value distribution and
test the null hypothesis that the true
value is equal to 0.