Documentos de Académico
Documentos de Profesional
Documentos de Cultura
0.8
2
0.6
0.4
1
0.2
0 0
0 0.5 1 0 0.5 1
1 2
2 3
3 4
4 1
5 5
Latin Hypercube definition
matrix
• For n points with m variables: m by n matrix, with
each column a permutation of 1,…,n
• Examples 1 2 4
1 3 4 1 2
2 1
3 3 3
3 2
2 4 1
• Points are better distributed for each variable,
but can still have holes in m-dimensional space.
Improved LHS
• Since some LHS designs are better than others, it is possible to try
many permutations. What criterion to use for choice?
• One popular criterion is minimum distance between points
(maximize). Another is correlation between variables (minimize).
1
0.9
• Matlab lhsdesign uses by
0.8
default 5 iterations to look for
“best” design. 0.7
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
More iterations
• With 5,000 iterations the two sets of designs improve.
• The blue circles, maximizing minimum distance, still have a
correlation coefficient of 0.236 compared to 0.042 for the red
crosses.
1
0.9
corners. 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Reducing randomness further
• We can reduce
randomness further
1
0.7
0.5
0.3
0.1
and so on.
Empty space
• In higher dimensions, the danger of large holes is greater. The figure is taken from
paper by Goel et al. (details in notes). It compares LHS design on right with D-optimal
design (optimal for noisy data).
• Instead of maximizing minimum distance it seems that it would be better to
minimize the volume of the largest void. Why don’t we do that?
Figure 2. Illustration of the largest spherical empty space inside the three-dimensional design space
(20 points): (a) D-optimal design and (b) LHS design.
Mixed designs
• D-optimal designs may leave much space
inside.
• LHS designs may leave out the boundary and
lead to large extrapolation errors.
• It may be desirable to combine the two.
• In low dimensional spaces you can add the
vertices to LHS designs.
• In higher dimensional spaces you can generate
a larger LHS design and choose a D-optimal
subset.
Problems
• Write a routine to generate LHS designs
and iterate using the two criteria and
compare how well you do against
lhsdesign for 10 points in 2 dimensions.
• Compare the maximum minimum distance
obtained with 1,000 iterations of lhsdesign
when you generate (n+1)(n+2) points in n
dimensions (typical number used to fit a
quadratic polynomial), for n=2, 4, 6.