Revision 4d37ecce6b3f6a5469d23eeba965d7de2f5ca70f authored by Björn Böttcher on 13 September 2018, 14:20:06 UTC, committed by cran-robot on 13 September 2018, 14:20:06 UTC
1 parent 441d15d
pearson.pvalue.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariance-functions.R
\name{pearson.pvalue}
\alias{pearson.pvalue}
\title{fast p-value approximation}
\usage{
pearson.pvalue(x, vec = 1:ncol(x), psi = NULL, p = NULL,
isotropic = FALSE, type = "multi")
}
\arguments{
\item{x}{matrix, the rows should be iid samples}
\item{vec}{vector, which indicates which columns of \code{x} are treated together as one sample}
\item{psi}{a real valued function of two variables (in the case of \code{isotropic = FALSE}) or one variable (in the case of \code{isotropic = TRUE}), to compute the distance of two samples based on a continuous negative definite function. If it is \code{NULL}, the euclidean distance will be used}
\item{p}{numeric, if it is a value between 1 and 2 then the Minkowski distance with parameter p is used.}
\item{isotropic}{logical, indicates if psi of the Euclidean distance matrix should be computed, i.e., if an isotropic distance should be used.}
\item{type}{one of \code{"multi","total","m.multi.2","m.multi.3"}}
}
\description{
Computes the p-value of a sample using Pearsons approximation of Gaussian quadratic forms with the estimators developed by Berschneider and Böttcher in [4].
}
\details{
This is the method recommended in [4], i.e., using Pearson's quadratic form estimate with the unbiased finite sample estimators for the mean and variance of normalized multivariance together with the unbiased estimator for the limit skewness.
}
\references{
For the theoretic background see the reference [4] given on the main help page of this package: \link{multivariance-package}.
}
Computing file changes ...