LHD (version 1.1.0)

AvgAbsCor: Calculate the Average Absolute Correlation

Description

AvgAbsCor returns the average absolute correlation of an LHD

Usage

AvgAbsCor(X)

Arguments

X

A Matrix.

Value

If all inputs are logical, then the output will be a positive number indicating average absolute correlation.

Details

  • X stands for the design matrix.

  • The average absolute correlation formula is given by the Note Section below.

References

Georgiou, S. D. (2009) Orthogonal Latin hypercube designs from generalized orthogonal designs. Journal of Statistical Planning and Inference, 139, 1530-1540.

Examples

Run this code
# NOT RUN {
#create a toy LHD with 5 rows and 3 columns
toy=rLHD(n=5,k=3);toy

#Calculate the average absolute correlation of toy
AvgAbsCor(X=toy)

# }

Run the code above in your browser using DataLab