Package ShrinkCovMat

Similar documents
Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package gtheory. October 30, 2016

Package covsep. May 6, 2018

Package darts. February 19, 2015

Package BayesNI. February 19, 2015

Package scio. February 20, 2015

Package EnergyOnlineCPM

Package varband. November 7, 2016

Package jmcm. November 25, 2017

Package invgamma. May 7, 2017

Package MultisiteMediation

Package factorqr. R topics documented: February 19, 2015

Package sbgcop. May 29, 2018

Package Tcomp. June 6, 2018

Package mpmcorrelogram

Package idmtpreg. February 27, 2018

Package rgabriel. February 20, 2015

Package polypoly. R topics documented: May 27, 2017

Package ChIPtest. July 20, 2016

Package SHIP. February 19, 2015

Package dhga. September 6, 2016

Package BNN. February 2, 2018

Package mlmmm. February 20, 2015

Package thief. R topics documented: January 24, Version 0.3 Title Temporal Hierarchical Forecasting

Package beam. May 3, 2018

Package CPE. R topics documented: February 19, 2015

Package comparec. R topics documented: February 19, Type Package

Package mixture. R topics documented: February 13, 2018

Package SimSCRPiecewise

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0.

Package ltsbase. R topics documented: February 20, 2015

Package noise. July 29, 2016

Package reinforcedpred

Package unbalhaar. February 20, 2015

Package basad. November 20, 2017

Package coop. November 14, 2017

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1.

Package SK. May 16, 2018

Package supernova. February 23, 2018

Package Blendstat. February 21, 2018

Package RTransferEntropy

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package RootsExtremaInflections

Package FinCovRegularization

Package monmlp. R topics documented: December 5, Type Package

Package CoxRidge. February 27, 2015

Package dhsic. R topics documented: July 27, 2017

Package spcov. R topics documented: February 20, 2015

Package xdcclarge. R topics documented: July 12, Type Package

Package bivariate. December 10, 2018

Package tspi. August 7, 2017

Package Delaporte. August 13, 2017

Package LCAextend. August 29, 2013

Package milineage. October 20, 2017

Package rnmf. February 20, 2015

Package EMVS. April 24, 2018

Package breakaway. R topics documented: March 30, 2016

Package ebal. R topics documented: February 19, Type Package

Package ICBayes. September 24, 2017

Package IndepTest. August 23, 2018

Package AID. R topics documented: November 10, Type Package Title Box-Cox Power Transformation Version 2.3 Date Depends R (>= 2.15.

Package REGARMA. R topics documented: October 1, Type Package. Title Regularized estimation of Lasso, adaptive lasso, elastic net and REGARMA

Package HIMA. November 8, 2017

Package TwoStepCLogit

Package CMC. R topics documented: February 19, 2015

Package horseshoe. November 8, 2016

Package LIStest. February 19, 2015

Package MAPA. R topics documented: January 5, Type Package Title Multiple Aggregation Prediction Algorithm Version 2.0.4

Package blme. August 29, 2016

Package CompQuadForm

Package NlinTS. September 10, 2018

Package SpatialPack. March 20, 2018

Package emg. R topics documented: May 17, 2018

Package RcppSMC. March 18, 2018

Package mmm. R topics documented: February 20, Type Package

Package rela. R topics documented: February 20, Version 4.1 Date Title Item Analysis Package with Standard Errors

Package symmoments. R topics documented: February 20, Type Package

Package riv. R topics documented: May 24, Title Robust Instrumental Variables Estimator. Version Date

Package matrixnormal

Package robustrao. August 14, 2017

Package SpatialNP. June 5, 2018

Package depth.plot. December 20, 2015

Package severity. February 20, 2015

Package weightquant. R topics documented: December 30, Type Package

Package clogitboost. R topics documented: December 21, 2015

Package funrar. March 5, 2018

Package bayeslm. R topics documented: June 18, Type Package

Package DTK. February 15, Type Package

Package OrdNor. February 28, 2019

Package RI2by2. October 21, 2016

Package r2glmm. August 5, 2017

Package LBLGXE. R topics documented: July 20, Type Package

Package ENA. February 15, 2013

Package bspmma. R topics documented: February 19, 2015

Package threg. August 10, 2015

Package SimCorMultRes

Package NonpModelCheck

Package gma. September 19, 2017

Package GeneExpressionSignature

Package BNSL. R topics documented: September 18, 2017

Transcription:

Type Package Package ShrinkCovMat Title Shrinkage Covariance Matrix Estimators Version 1.2.0 Author July 11, 2017 Maintainer <A.Touloumis@brighton.ac.uk> Provides nonparametric Steinian shrinkage estimators of the covariance matrix that are suitable in high dimensional settings, that is when the number of variables is larger than the sample size. License GPL-2 GPL-3 Depends R (>= 2.10) LazyLoad yes NeedsCompilation no URL http://github.com/anestistouloumis/shrinkcovmat BugReports http://github.com/anestistouloumis/shrinkcovmat/issues Repository CRAN Date/Publication 2017-07-11 21:18:11 UTC R topics documented: ShrinkCovMat-package................................... 2 colon............................................ 3 shrinkcovmat.equal..................................... 3 shrinkcovmat.identity.................................... 5 shrinkcovmat.unequal.................................... 6 targetselection........................................ 7 Index 9 1

2 ShrinkCovMat-package ShrinkCovMat-package Shrinkage Covariance Matrix Estimators Provides nonparametric Stein-type shrinkage estimators of the covariance matrix that are suitable and statistically efficient when the number of variables is larger than the sample size. These estimators are non-singular and well-conditioned regardless of the dimensionality. Each of the implemented shrinkage covariance matrix estimators is a convex linear combination of the sample covariance matrix and of a target matrix. Three options are considered for the target matrix: (a) the diagonal matrix with diagonal elements the average of the sample variances (shrinkcovmat.equal), (b) the diagonal matrix with diagonal elements the corresponding sample variances (shrinkcovmat.unequal), and (c) the identity matrix (shrinkcovmat.identity). The optimal shrinkage intensity determines how much the sample covariance matrix will be shrunk towards the selected target matrix. Estimation of the corresponding optimal shrinkage intensities is discussed in Touloumis (2015). The function (targetselection) is designed to ease the selection of the target matrix. Maintainer: <A.Touloumis@brighton.ac.uk> See Also shrinkcovmat.equal, shrinkcovmat.unequal, shrinkcovmat.identity and targetselection. ## Estimating the covariance matrix for the ## normal tissue group. Sigmahat1 <- shrinkcovmat.equal(normalgroup) Sigmahat1 Sigmahat2 <- shrinkcovmat.identity(normalgroup) Sigmahat2 Sigmahat3 <- shrinkcovmat.unequal(normalgroup) Sigmahat3

colon 3 colon Colon Cancer Dataset The dataset describes a colon cancer study (Alon et al., 1999) in which gene expression levels were measured on 40 normal tissues and on 22 tumor colon tissues. Note that a logarithmic (base 10) transformation has been applied to the gene expression levels. Format A data frame in which the rows correspond to 2000 genes and the columns to 62 tissues. The first 40 columns belong to the normal tissue group while the last 22 columns to the tumor colon tissue group. Source http://genomics-pubs.princeton.edu/oncology/affydata [Last Assessed: 2016-05-21] Alon, U., Barkai, N., Notterman, D.A., Gish, K., Ybarra, S., Mack, D. and Levine, A.J. (1999) Broad patterns of gene expression revealed by clustering analysis of tumor and normal colon tissues probed by oligonucleotide arrays. Proceedings of the National Academy of Sciences of the United States of America 96, 6745 6750. summary(colon) shrinkcovmat.equal Shrinking the Sample Covariance Matrix Towards a Diagonal Matrix with Equal Diagonal Elements Provides a nonparametric Stein-type shrinkage estimator of the covariance matrix that is a linear combination of the sample covariance matrix and of a diagonal matrix with the average of the sample variances on the diagonal and zeros elsewhere.

4 shrinkcovmat.equal shrinkcovmat.equal(data, = FALSE) Arguments data a numeric matrix containing the data. a logical indicating if the mean vector is the zero vector. The rows of the data matrix data correspond to variables and the columns to subjects. Value Returns an object of the class "shrinkcovmathat" that has components: Sigmahat lambdahat Sigmasample Target The Stein-type shrinkage estimator of the covariance matrix. The estimated optimal shrinkage intensity. The sample covariance matrix. The target covariance matrix. If the data are around their mean vector. See Also shrinkcovmat.unequal and shrinkcovmat.identity. TumorGroup <- colon[, 41:62] Sigmahat.NormalGroup <- shrinkcovmat.equal(normalgroup) Sigmahat.NormalGroup Sigmahat.TumorGroup <- shrinkcovmat.equal(tumorgroup) Sigmahat.TumorGroup

shrinkcovmat.identity 5 shrinkcovmat.identity Shrinking the Sample Covariance Matrix Towards the Identity Matrix Provides a nonparametric Stein-type shrinkage estimator of the covariance matrix that is a linear combination of the sample covariance matrix and of the identity matrix. shrinkcovmat.identity(data, = FALSE) Arguments data a numeric matrix containing the data. a logical indicating if the mean vector is the zero vector. The rows of the data matrix data correspond to variables and the columns to subjects. Value Returns an object of the class "shrinkcovmathat" that has components: Sigmahat lambdahat Sigmasample Target The Stein-type shrinkage estimator of the covariance matrix. The estimated optimal shrinkage intensity. The sample covariance matrix. The target covariance matrix. If the data are around their mean vector. See Also shrinkcovmat.equal and shrinkcovmat.unequal.

6 shrinkcovmat.unequal TumorGroup <- colon[, 41:62] Sigmahat.NormalGroup <- shrinkcovmat.identity(normalgroup) Sigmahat.NormalGroup Sigmahat.TumorGroup <- shrinkcovmat.identity(tumorgroup) Sigmahat.TumorGroup shrinkcovmat.unequal Shrinking the Sample Covariance Matrix Towards a Diagonal Matrix with Diagonal Elements the Sample Variances. Provides a nonparametric Stein-type shrinkage estimator of the covariance matrix that is a linear combination of the sample covariance matrix and of the diagonal matrix with elements the corresponding sample variances on the diagonal and zeros elsewhere. shrinkcovmat.unequal(data, = FALSE) Arguments data a numeric matrix containing the data. a logical indicating if the vectors are around their mean vector. The rows of the data matrix data correspond to variables and the columns to subjects. Value Returns an object of the class "shrinkcovmathat" that has components: Sigmahat lambdahat Sigmasample Target The Stein-type shrinkage estimator of the covariance matrix. The estimated optimal shrinkage intensity. The sample covariance matrix. The target covariance matrix. If the data are around their mean vector.

targetselection 7 See Also shrinkcovmat.equal and shrinkcovmat.identity. TumorGroup <- colon[, 41:62] Sigmahat.NormalGroup <- shrinkcovmat.unequal(normalgroup) Sigmahat.NormalGroup Sigmahat.TumorGroup <- shrinkcovmat.unequal(tumorgroup) Sigmahat.TumorGroup targetselection Target Matrix Selection Implements the rule of thumb proposed by Touloumis (2015) for target matrix selection. If the estimated optimal shrinkage intensities of the three target matrices are of similar magnitude, then the average and the range of the sample variances should be inspected in order to adopt the most plausible target matrix. targetselection(data, = FALSE) Arguments data a numeric matrix containing the data. a logical indicating if the mean vector is the zero vector. Value The rows of the data matrix data correspond to variables and the columns to subjects. Prints the estimated optimal shrinkage intensities and the range and the average of the sample variances.

8 targetselection targetselection(normalgroup) ## Similar intensities, the range of the sample variances is small ## and the average is not close to one. The scaled identity matrix ## seems to be the most suitable target matrix for the normal group TumorGroup <- colon[, 41:62] targetselection(tumorgroup) ## Similar intensities, the range of the sample variances is small ## and the average is not close to one. The scaled identity matrix ## seems to be the most suitable target matrix for the colon group

Index Topic datasets colon, 3 Topic package ShrinkCovMat-package, 2 colon, 3 ShrinkCovMat (ShrinkCovMat-package), 2 ShrinkCovMat-package, 2 shrinkcovmat.equal, 2, 3, 5, 7 shrinkcovmat.identity, 2, 4, 5, 7 shrinkcovmat.unequal, 2, 4, 5, 6 targetselection, 2, 7 9