RandLHS: The 'RandLHS' Method

Description Usage Parameters used to manage the method Details References See Also Examples

Description

A mtk compliant implementation of the method for drawing Random Latin Hypercube Design.

Usage

Parameters used to manage the method

size:

The number of partitions (simulations or design points).

preserveDraw:

logical (default FALSE). Ensures that two subsequent draws with the same n, but one with k and one with m variables (k<m), will have the same first k columns if the seed is the same.

Details

  1. The mtk implementation uses the randomLHS function of the package lhs. For further details on the arguments and the behavior, see help(randomLHS, lhs).

  2. The implementation of the RandLHS method includes the class mtkRandLHSDesigner to manage the sampling task and the class mtkRandLHSDesignerResult to manage the results produced by the sampling process.

References

Stein, M. (1987) Large Sample Properties of Simulations Using Latin Hypercube Sampling. Technometrics. 29, 143–151.

See Also

help(randomLHS, lhs)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# uses the RandLHS method 
## Random Latin Hypercude draws for the "Ishigami" model 

#  Example I: by using the class constructors: mtkRandLHSDesigner()

#	Generate the factors
		data(Ishigami.factors)
		
# 	Build the processes and workflow:

#   1) the design process
		exp1.designer <- mtkRandLHSDesigner( listParameters = list(size=10) ) 
    
#   2) the workflow

  	exp1 <- mtkExpWorkflow(expFactors=Ishigami.factors,
	    processesVector = c(design=exp1.designer) )

# 	Run the workflow and reports the results.
    run(exp1)
    print(exp1)
    plot(exp1)

mtk documentation built on May 2, 2019, 4:15 a.m.