sinUG {SIN}R Documentation

SIN for undirected graphs

Description

This function computes the matrix of simultaneous p-values for SIN model selection for undirected (or concentration) graphs.

Usage

sinUG(S,n,holm=TRUE)

Arguments

S a covariance or correlation matrix.
n the sample size.
holm Boolean variable indicating whether Holm's p-value adjustment should be used (holm=TRUE) or not (holm=FALSE).

Value

A matrix of simultaneous p-values with NA on the diagonal.

References

Drton, M. & Perlman, M.D. (2004) Model Selection for Gaussian Concentration Graphs. Biometrika 91(3): 591-602.

Drton, M. & Perlman, M.D. (2004) A SINful Approach to Gaussian Graphical Model Selection. Department of Statistics, University of Washington, Technical Report 457.
http://www.stat.washington.edu/www/research/reports/2004/tr457.pdf

See Also

plotUGpvalues

Examples

data(fowlbones)
sinUG(fowlbones$corr,fowlbones$n)
sinUG(fowlbones$corr,fowlbones$n, holm=FALSE)

[Package SIN version 0.3 Index]