Learn R Programming

MVR (version 1.20.0)

sim.dis: Similarity Statistic Subroutine

Description

Internal subroutine called by MeanVarReg subroutine. Computes similarity statistic with sampling variability under a standard Gaussian reference distibution. Offers parallel computation option for computational efficiency.

Usage

sim.dis(data, k, B, parallel, conf, verbose)

Arguments

data
Standardized numeric data matrix, where points to cluster are by rows (usually samples), or an object that can be coerced to such a matrix (such as a vector or a data.
k
Positive integer scalar of the fixed number of clusters.
B
Positive integer scalar of the number of Monte Carlo replicates of the inner loop of the gap statistic function.
parallel
logical scalar. Is parallel computing to be performed? Optional, defaults to FALSE.
conf
list of parameters for cluster configuration, passed from MeanVarReg subroutine for parallel computing. Inputs for R package parallel function
verbose
logical scalar. Is the output to be verbose?

Value

  • gapknumeric scalar of the similarity statistic value.
  • sknumeric scalar of the standard error of the similarity statistic value.

Details

See details in mvr or mvrt.test.

References

  • Dazard J-E., Hua Xu and J. S. Rao (2011). "R package MVR for Joint Adaptive Mean-Variance Regularization and Variance Stabilization." In JSM Proceedings, Section for Statistical Programmers and Analysts. Miami Beach, FL, USA: American Statistical Association IMS - JSM, 3849-3863.
  • Dazard J-E. and J. S. Rao (2012). "Joint Adaptive Mean-Variance Regularization and Variance Stabilization of High Dimensional Data." Comput. Statist. Data Anal. 56(7):2317-2333.

See Also