Latin hypercube sampling: Difference between revisions

Content deleted Content added
 
(81 intermediate revisions by 61 users not shown)
Line 1:
{{Short description|Statistical sampling technique}}
The [[statistics|statistical]] method of '''Latin hypercube sampling''' (LHS) was developed by [[Ronald L. Iman]], J. C. Helton, and [[James Edward Campbell]], et al to generate a distribution of plausible collections of parameter values from a [[multidimensional distribution]].
'''Latin hypercube sampling''' ('''LHS''') is a [[statistics|statistical]] method for generating a near-random sample of parameter values from a [[multidimensional distribution]]. The [[Sampling (statistics)|sampling method]] is often used to construct [[computer experiment]]s or for [[Monte Carlo integration]].<ref name = "C3M"/>
 
LHS was described by Michael McKay of Los Alamos National Laboratory in 1979.<ref name = "C3M">{{cite journal
Their paper ''An approach to sensitivity analysis of computer models, Part I. Introduction, input variable selection and preliminary variable assessment.'' appeared in the Journal of Quality Technology in [[1981]]. Earlier, M.D. McCay already described this technique in McKay, M. D., W. J. Conover and R. J. Beckman. 1979.
| last = McKay
''A Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output from a Computer Code'', in ''Technometrics 21: 239-245''.
| first = M.D. |author2=Beckman, R.J. |author3=Conover, W.J.
|date=May 1979
''| title = A Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output from a Computer Code'', in ''Technometrics 21: 239-245''.
| journal = [[Technometrics]]
| volume = 21
| issue = 2
| pages = 239–245
| publisher = [[American Statistical Association]]
| issn = 0040-1706
| doi = 10.2307/1268522
| osti = 5236110
| jstor = 1268522
}}
</ref> An equivalent technique was independently proposed by [[:lv:Vilnis Eglājs|Vilnis Eglājs]] in 1977.<ref>{{cite journal|last=Eglajs|first=V.|author2=Audze P. |title=New approach to the design of multifactor experiments|journal=Problems of Dynamics and Strengths|year=1977|series=35|pages=104–107|publisher=Zinatne Publishing House|___location=Riga|language=Russian}}</ref> It was further elaborated by [[Ronald L. Iman]] and coauthors in 1981.<ref>{{cite journal |last=Iman |first=R.L. |author2=Helton, J.C. |author3=Campbell, J.E. |title=An approach to sensitivity analysis of computer models, Part 1. Introduction, input variable selection and preliminary variable assessment |journal=Journal of Quality Technology |volume=13 |issue=3 |pages=174–183 |year=1981 |doi=10.1080/00224065.1981.11978748 }}</ref> Detailed computer codes and manuals were later published.<ref>{{cite book |last=Iman |first=R.L. |author2=Davenport, J.M. |author3=Zeigler, D.K. |title=Latin hypercube sampling (program user's guide) |year=1980 |osti=5571631}}</ref>
 
In the context of statistical sampling, a square grid containing sample positions is a [[Latin square]] if (and only if) there is only one sample in each row and each column. A '''Latin [[hypercube]]''' is the generalisation of this concept to an arbitrary number of dimensions, whereby each sample is the only one in each axis-aligned [[hyperplane]] containing it.<ref name = "C3M"/>
 
When sampling a function of <math>N</math> variables, the range of each variable is divided into <math>M</math> equally probable intervals. <math>M</math> sample points are then placed to satisfy the Latin hypercube requirements; note that this forces the number of divisions, <math>M</math>, to be equal for each variable. Also note that thisThis sampling scheme does not require more samples for more dimensions (variables); this independence is one of the main advantages of this sampling scheme. Another advantage is that random samples can be taken one at a time, remembering which samples were taken so far.
 
[[Image:LHSsampling.png|100px|right]]
'''Orthogonal sampling''' adds the requirement that the entire sample space must be sampled evenly. Although more efficient, orthogonal sampling strategy is more difficult to implement since all random samples must be generated simultaneously.
 
In two dimensions the difference between random sampling, Latin Hypercubehypercube sampling, and orthogonal sampling can be explained as follows:
[[Image:LHSsampling.png|100px]]
I) #In '''random sampling''' new sample points are generated without taking into account the previously generated sample points. One does thus not necessarily need to know beforehand how many sample points that are needed.
II) #In '''Latin Hypercubehypercube sampling''' one must first decide how many sample points to use and for each sample point remember in which row and column the sample point was taken. Such configuration is similar to having N [[Rook_(chess)|rooks]] on a chess board without threatening each other.
III) #In '''Orthogonalorthogonal Samplingsampling''', the sample space is dividedpartitioned into equally probable subspaces, the figure above showing four subspaces. All sample points are then chosen simultaneously making sure that the total ensembleset of sample points is a Latin Hypercubehypercube sample and that each subspace is sampled with the same density.
 
Thus, orthogonal sampling ensures that the ensembleset of random numbers is a very good representative of the real variability, LHS sampling ensures that the ensembleset of random numbers is a good representative of the real variability whereas traditional random sampling (sometimes called brute force) is just ana ensembleset of random numbers without any guarantees.
In two dimensions the difference between random sampling, Latin Hypercube sampling and orthogonal sampling can be explained as follows:
 
==References==
I) In '''random sampling''' new sample points are generated without taking into account the previously generated sample points. One does thus not necessarily need to know beforehand how many sample points that are needed.
<references/>
 
==Further reading==
II) In '''Latin Hypercube sampling''' one must first decide how many sample points to use and for each sample point remember in which row and column the sample point was taken.
*{{cite journal |doi=10.2307/2291282 |last=Tang |first=B. |title=Orthogonal Array-Based Latin Hypercubes |journal=Journal of the American Statistical Association |volume=88 |issue=424 |pages=1392–1397 |year=1993 |jstor=2291282 }}
 
*{{cite journal |last=Owen |first=A.B. |title=Orthogonal arrays for computer experiments, integration and visualization |journal=Statistica Sinica |volume=2 |pages=439–452 |year=1992 }}
III) In '''Orthogonal Sampling''', the sample space is divided into equally probable subspaces, the figure above showing four subspaces. All sample points are then chosen simultaneously making sure that the total ensemble of sample points is a Latin Hypercube sample and that each subspace is sampled with the same density.
*{{cite journal |doi=10.2307/2670057 |last=Ye |first=K.Q. |title=Orthogonal column Latin hypercubes and their application in computer experiments |journal=Journal of the American Statistical Association |volume=93 |issue=444 |pages=1430–1439 |year=1998 |jstor=2670057 }}
 
Thus, orthogonal sampling ensures that the ensemble of random numbers is a very good representative of the real variability, LHS sampling ensures that the ensemble of random numbers is a good representative of the real variability whereas traditional random sampling (sometimes called brute force) is just an ensemble of random numbers without any guarantees.
 
{{Experimental design}}
{{Statistics}}
[[Category:Sampling techniques]]
[[Category:Latin squares]]
[[Category:ExperimentalDesign designof experiments]]
[[Category:1979 introductions]]