aveM: Average Mj for Mx and My Here subjects are by rows, columns...

View source: R/Basic_functions.r

aveMR Documentation

Average Mj for Mx and My Here subjects are by rows, columns correspond to components

Description

Average Mj for Mx and My Here subjects are by rows, columns correspond to components

Usage

aveM(mjX, mjY)

Arguments

mjX

n x rj

mjY

n x rj

Value

a new Mj

Examples


#get simulation data
data(exampledata)
data=exampledata

# To get n.comp value, we can use NG_number function.

# use JB statistic as the measure of nongaussianity to run lngca with df=0
output_JB=singR(dX=exampledata$dX,dY=exampledata$dY,
df=0,rho_extent="small",distribution="JB",individual=TRUE)

est.Mj = aveM(output_JB$est.Mjx,output_JB$est.Mjy)



singR documentation built on May 29, 2024, 7:30 a.m.