conv_Stand_Multi {MultiStatM}R Documentation

Standardize multivariate data

Description

For data formed by d-variate vectors x with sample covariance S and sample mean M, it computes the values z=S^{-1/2}(x-M)

Usage

conv_Stand_Multi(x)

Arguments

x

a multivariate data matrix, sample size is the number of rows

Value

a matrix of multivariate data with null mean vector and identity sample covariance matrix

Examples

x<-MASS::mvrnorm(1000,c(0,0,1,3),diag(4))
z<-conv_Stand_Multi(x)
mu_z<- apply(z,2,mean)
cov_z<- cov(z)


[Package MultiStatM version 1.2.1 Index]