Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

t2p

From Test Statistics To p-Values


Description

Transforming Test Statistics to Permutation p-Values

Usage

t2p(Tmat, obsOnly = FALSE)

Arguments

Tmat

3-dimensional (2-dimensional) array containing the test statistics where the first horizontal slice (first row) contains the observed value

obsOnly

logical, if FALSE (default) the whole permutation distribution of the computed p-values is returned, if TRUE only the observed ones are returned.

Value

if obsOnly is FALSE an array of the same dimension of the input matrix Tmat, otherwise only the first row

Author(s)

Livio Finos, Aldo Solari and Federico Mattiello <federico.mattiello@gmail.com>

See Also


SOUP

Stochastic Ordering Using Permutations (and Pairwise Comparisons)

v1.1
GPL (>= 2)
Authors
Federico Mattiello [aut, cre]
Initial release
2015-04-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.