void LatinHyperCubeDesign(TMtx X, Int32 n, Int32 p, TMtxFloatPrecision fp, Boolean smooth, TLHCImprove IterCriteria, Int32 MaxIter)
Latin Hyper-Cube design.
| # | Name | Description |
|---|---|---|
| 1 | X | Stores experimental design values (rows representing values, columns variables). |
| 2 | n | Defines the number of values for specific variable. |
| 3 | p | Defines the number of variables. |
| 4 | 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, ... . |
| 5 | IterCriteria | The criteria for design improvement. |
| 6 | MaxIter | Maximum number of iterations used for improving the design. |
| 7 | fp | Floating point precision to be used for the design. |
Result: stored in self (calling object)
Remarks:
Generates n x p samples for Latin Hypercube experimental design.
Examples
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,mvDouble,true,TLHCImprove.lhcImproveMinDist, 4);
}
}