mstCriteria: Deriving the MST criteria

Description Usage Arguments Details Value Author(s) References Examples

View source: R/mstCriteria.R

Description

Compute both the mean and the standard deviation of the Minimal Spanning Tree (MST)

Usage

1
mstCriteria(design, plot2d="FALSE")

Arguments

design

a matrix (or a data.frame) corresponding to the design of experiments.

plot2d

an argument for visualizing the mst of a 2d design

Details

In our context, a MST is a tree whose the sum of the lengthes of the edges is minimal. Even if unicity does not hold, the overall length is stable. The mean and the standard deviation of the lengthes of the edges are usually derived to analyze the geometric profile of the design. A large mean and a small standard deviation characterize a so-called quasi-periodic design.

Value

A list containing two components:

tree

a list containing the MST: each component of it contains a vector with all vertices which are connected with the experiment corresponding to the number of the components

stats

vector with both the mean and the standard deviation values of the lengthes of the edges

Author(s)

G. Damblin & B. Iooss

References

Damblin G., Couplet M., and Iooss B. (2013). Numerical studies of space filling designs: optimization of Latin hypercube samples and subprojection properties, Journal of Simulation, 7:276-289, 2013.

Dussert, C., Rasigni, G., Rasigni, M., and Palmari, J. (1986). Minimal spanning tree: A new approach for studying order and disorder. Physical Review B, 34(5):3528-3531.

Franco J. (2008). Planification d'experiences numerique en phase exploratoire pour la simulation des phenomenes complexes, PhD thesis, Ecole Nationale Superieure des Mines de Saint Etienne.

Franco, J., Vasseur, O., Corre, B., and Sergent, M. (2009). Minimum spanning tree: A new approach to assess the quality of the design of computer experiments. Chemometrics and Intelligent Laboratory Systems, 97:164-169.

Prim, R.C. (1957). Shortest connection networks and some generalizations, in Bell System Technical Journal 36:1389-1401.

Examples

1
2
3
4
dimension <- 2
n <- 40
X <- matrix(runif(n*dimension), n, dimension)
mstCriteria(X, plot2d=TRUE)

Example output

$tree
$tree[[1]]
[1]  4 37

$tree[[2]]
[1] 23 33

$tree[[3]]
[1] 17 11

$tree[[4]]
[1] 1

$tree[[5]]
[1] 38 28

$tree[[6]]
[1] 28 34

$tree[[7]]
[1] 40

$tree[[8]]
[1] 25 40 26

$tree[[9]]
[1] 35 30

$tree[[10]]
[1] 21 36

$tree[[11]]
[1] 3

$tree[[12]]
[1] 19

$tree[[13]]
[1] 35

$tree[[14]]
[1] 34 35

$tree[[15]]
[1] 21

$tree[[16]]
[1] 30 31

$tree[[17]]
[1] 22  3

$tree[[18]]
[1] 36 38 23

$tree[[19]]
[1] 24 12

$tree[[20]]
[1] 27 22

$tree[[21]]
[1] 25 10 15

$tree[[22]]
[1] 20 17

$tree[[23]]
[1] 18 29  2

$tree[[24]]
[1] 32 19

$tree[[25]]
[1] 37 21  8

$tree[[26]]
[1]  8 27

$tree[[27]]
[1] 26 20

$tree[[28]]
[1]  5  6 32

$tree[[29]]
[1] 23

$tree[[30]]
[1]  9 16

$tree[[31]]
[1] 16

$tree[[32]]
[1] 28 24

$tree[[33]]
[1]  2 39

$tree[[34]]
[1]  6 14

$tree[[35]]
[1] 14  9 13

$tree[[36]]
[1] 10 18

$tree[[37]]
[1]  1 25

$tree[[38]]
[1] 18  5

$tree[[39]]
[1] 33

$tree[[40]]
[1] 8 7


$stats
[1] 0.11004934 0.05776567

DiceDesign documentation built on Feb. 13, 2021, 1:06 a.m.