Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


mvdalab (version 1.7)

smc.acfTest: Test of the Residual Significant Multivariate Correlation Matrix for the presence of Autocorrelation

Description

This function peforms a 1st order test of the Residual Significant Multivariate Correlation Matrix in order to help determine if the smc should be performed correcting for 1st order autocorrelation.

Usage

smc.acfTest(object, ncomp = object$ncomp)

Value

The output of smc.acfTest is a list detailing the following:

variable

variable for whom the test is being performed

ACF

value of the 1st lag of the ACF

Significant

Assessment of the statistical significance of the 1st order lag

Arguments

object

an object of class mvdareg, i.e. plsFit.

ncomp

the number of components to include in the acf assessment

Author

Nelson Lee Afanador (nelson.afanador@mvdalab.com)

Details

This function computes a test for 1st order auto correlation in the smc residual matrix.

References

Thanh N. Tran, Nelson Lee Afanador, Lutgarde M.C. Buydens, Lionel Blanchet, Interpretation of variable importance in Partial Least Squares with Significance Multivariate Correlation (sMC). Chemom. Intell. Lab. Syst. 2014; 138: 153:160.

Nelson Lee Afanador, Thanh N. Tran, Lionel Blanchet, Lutgarde M.C. Buydens, Variable importance in PLS in the presence of autocorrelated data - Case studies in manufacturing processes. Chemom. Intell. Lab. Syst. 2014; 139: 139:145.

Examples

Run this code
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], 
               ncomp = 2, validation = "loo")
smc.acfTest(mod1, ncomp = 2)

Run the code above in your browser using DataLab