swh:1:snp:813359ba77493c9d5dd1abad9a1f53490a8abf57
Raw File
Tip revision: cd5ace5b6355edbcf1277dc2a8cb00999df6f943 authored by Torsten Hothorn on 29 September 2009, 00:00:00 UTC
version 1.0-7
Tip revision: cd5ace5
distribution.Rd
\name{Distribution}
\alias{exact}
\alias{asymptotic}
\alias{approximate}
\title{ Distribution under the Null Hypothesis }
\description{

    Specification of the exact, or approximation of the exact,
    conditional distribution of test statistics under the null hypothesis.

}
\usage{
exact(algorithm = c("shift", "split-up"), fact = NULL)
approximate(B = 1000)
asymptotic(maxpts = 25000, abseps = 0.001, releps = 0)
}
\arguments{
  \item{algorithm}{a character, specifying the algorithm to be used
                   for the computation of the exact conditional distribution.}
  \item{fact}{a positive integer to multiply the response values with. }
  \item{B}{a positive integer, the number of Monte-Carlo replications
           to approximate the exact conditional distribution.}
  \item{maxpts}{a positive integer, the maximum number of function 
                values, see \code{\link[mvtnorm]{pmvnorm}}.}
  \item{abseps}{double, the absolute error tolerance, 
                see \code{\link[mvtnorm]{pmvnorm}}.}
  \item{releps}{double, relative error tolerance, 
                see \code{\link[mvtnorm]{pmvnorm}}.}  

}
\details{

  The \code{distribution} argument to \code{\link{independence_test}} 
  can be specified with additional arguments using those functions.

  Exact algorithms are currently only implemented for two-sample problems.

}
\value{
  An object of class \code{exact}, \code{approximate} or \code{asymptotic},
  respectively.
}
\keyword{htest}
back to top