Latin hypercubes (LHs) were designs introduced by McKay, Beckman & Conover (1979) for computer experiments. An nxk LH can be represented by a design matrix Xnxk with n rows (runs) and k columns (factors), each of which includes n uniformly spaced levels. An LH is called an orthogonal LH (OLH) if each pair of columns of this LH has zero correlation. Examples of OLHs can be found in Ye (1998), Cioppa & Lucas (2007) and Nguyen (2008). OLHs are generally inflexible with respect to the numbers of runs and factors and poor with respect to the space-filling property. The OLHs of Steinberg & Lin (2006), for example, are available for nearly n-1 columns in n runs only when n=16, 256, 65 or 536.
LHD is a Gendex module for constructing near-OLHs with good space-filling property. The near-orthogonal OLHs constructed by LHD are quite good compared to those of Cioppa & Lucas (2007) and those in http://www.ams.sunysb.edu/~kye/olh.html with respect to both orthogonality and space-filling properties.
Let's assume all Gendex class files are in the directory c:\gendex and suppose you want to construct a resolvable LHD of size (n,k)=(8,4) (Example 1). At the working directory, type the following command at the Command Prompt (case is important):
java -cp c:\gendex lhd
The LHD window will pop up. Enter 4 as the Number/Additional number of factors and 8 as the Number of runs and 1000 as the No. of tries, the LHD window will become:

Now click START, the LHD window will become:

and the OUTPUT window showing the constructed orthogonal LHD of size (n,k)=(8,4) will pop up. Note that the START button has been changed to the STOP one. If you close the pop-up window, the STOP button will become a RESET one. If you click this RESET button, the output will disappear and you can use LHD for a new design problem. Also note that the default random seed is the one obtained from the system clock and the default number of tries is 100. You can change these default values if you wish to.
The output window contains the result of the best try and is also saved in the file ibd.htm in the working directory. This file can be read by a browser such as IE or Firefox. Information for this try includes:
Notes:
Cioppa, T. M. & Lucas, T.W. (2007) Efficient nearly orthogonal and space-filling Latin Hypercubes. Technometrics 49, 45-55.
McKay, M. D., Beckman, R.J., and Conover, W. J. (1979) A comparison of
three methods for selecting values of input variables in the analysis of
output from a computer code. Technometrics 21, 239-245.
Nguyen, N-K. (2009) A new class of orthogonal Latin hypercubes. Statistics and Applications, 6, 96-100 (New Series).
Ye, K. Q. (1998) Orthogonal Latin Hypercubes and their application in
computer experiments. J. of the American Statistical Association 93,
1430-1439.
©2009 Design Computing