onesamp.marginal: Marginal one sample test

View source: R/marginal.R

onesamp.marginalR Documentation

Marginal one sample test

Description

The robust version uses the Wilcoxon-Mann-Whitney test, otherwise a t-test will be performed.

Usage

onesamp.marginal(data, robust, alternative, psi0)

Arguments

data

the data set

robust

a logical variable indicating whether a t-test or a Wilcoxon-Mann-Whitney test should be used.

alternative

a character string specifying the alternative hypothesis, must be one of two.sided, greater or less

psi0

a numeric that defines the hypothesized null value

Value

pValues

A numeric vector containing the unadjusted pValues

Author(s)

MuToss-Coding Team

References

Wilcoxon, F. (1945). Individual Comparisons by Ranking Methods. Biometrics Bulletin 1:80-83. Mann, H. and Whitney, D. (1947). On a test of whether one of two random variables is stochastically larger than the other. Annals of Mathematical Statistics 18:50-60 Student (1908). The probable error of a mean. Biometrika, 6(1):1-25.


mutoss documentation built on March 31, 2023, 8:46 p.m.