ensembleTest | R Documentation |
Tests the correlation across a Bootstrap ensemble to ensure a quasi-independent sample and uncorrelated ensemble.
ensembleTest(
x,
perm = 99,
p = 0.05,
sampling = c("boot", "elimination"),
type = c("mvc", "cov", "psi", "pairwise"),
n = NULL,
replacement = TRUE
)
x |
A matrix or data.frame of the data to test |
perm |
Number of Bootstraps (eg., same as random forests ntree) |
p |
Accept/Reject p-value |
type |
Type of matrix similarity statistic |
n |
Sample proportion |
replacement |
(TRUE/FALSE) Sample with replacement |
type options are:
mcv - multivariate correlation (RV-coefficient)
cov - covariance equivalence
psi - Procrustes Similarity Index
pairwise - Averaged column pairwise comparison
Jeffrey S. Evans <jeffrey_evans<at>tnc.org>
Robert, P., Escoufier, Y. (1976). A Unifying Tool for Linear Multivariate Statistical Methods: The RV-Coefficient. Applied Statistics 25(3):257-265.
Smilde, AK., Kiers, HA., Bijlsma, S., Rubingh, CM., van Erk, MJ (2009) Matrix correlations for high-dimensional data: the modified RV-coefficient. Bioinformatics 25(3): 401-5.
library(raster) r <- stack("C:/evans/India/Chennai/data/2019_OLI8.tif") x <- sampleRandom(r, 5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.