Dew Stats Master .NET
LatinHyperCubeDesign Routine
Summary
Latin Hyper-Cube design.

Unit
Statistics

Declaration
Procedure LatinHyperCubeDesign(X: TMtx; n, p: Integer; smooth: boolean = true; IterCriteria: TLHCImprove = lhcImproveMinDist; MaxIter: Integer = 4);
 Parameter  Description 
Stores experimental design values (rows representing values, columns variables). 
Defines the number of values for specific variable. 
Defines the number of variables. 
smooth If true, generate random values for n random (permuted) values are distributed per one point in intervals (0,1/n),(1/n,2/n)... ((n-1)/n,n). If false, produce the points in the middle of define intervals i.e. 0.5/n, 1.5/n, ... . 
IterCriteria The criteria for design improvement. 
MaxIter Maximum number of iterations used for improving the design. 

Description
Generates n x p samples for Latin Hypercube experimental design.
Categories
Design of experiment

Example 1

Use MtxExpr, Statistics; procedure Example; var e: Matrix; begin // 50 values for each of 3 variables LatinHyperCubeDesign(e,50,3); end;
#include "MtxVecCpp.h" #include "Statistics.hpp" void __fastcall Example() { Matrix e; LatinHyperCubeDesign(e,50,3); }
using Dew.Math; using Dew.Stats.Units; using Dew.Stats; namespace Dew.Examples { private void Example() { Matrix e = new Matrix(0,0); Statistics.LatinHyperCubeDesign(e,50,3,true,TLHCImprove.lhcImproveMinDist, 4); } }

Copyright 2008 Dew Research
http://www.dewresearch.com