1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
\name{twosamp.marginal}
\alias{twosamp.marginal}
\title{Marginal two sample test}
\usage{twosamp.marginal(data, model, robust, alternative, psi0, equalvar)}
\description{The robust version uses the Wilcoxon-Mann-Whitney test, otherwise a two-sample t-test will be performed.}
\details{A vector of classlabels needs to be provided to distinguish the two groups.}
\value{\item{pValues}{A numeric vector containing the unadjusted pValues}}
\author{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.
}
\arguments{
\item{data}{the data set}
\item{model}{the result of a call to \code{twosamp.model(classlabel)}}
\item{robust}{a logical variable indicating whether a two sample t-test or a Wilcoxon-Mann-Whitney test should be used.}
\item{alternative}{a character string specifying the alternative hypothesis,
must be one of \code{two.sided}, \code{greater} or \code{less}}
\item{psi0}{a numeric that defines the hypothesized null value}
\item{equalvar}{a logical variable indicating whether to treat the two variances as being equal}
}
|