optimumLHS(lhs)
optimumLHS()所属R语言包:lhs
Optimum Latin Hypercube Sample
最佳拉丁超立方体样品
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Draws a Latin Hypercube Sample from a set of uniform distributions for use in creating a Latin Hypercube Design. This function uses the Columnwise Pairwise (<acronym>CP</acronym>) algorithm to generate an optimal design with respect to the S optimality criterion.
绘制一个拉丁超立方体样品,用于创建一个拉丁超立方设计的一组均匀分布。此功能使用的的列成对(<acronym> CP </首字母缩写)算法来生成一个优化设计的S最优标准。
用法----------Usage----------
optimumLHS(n=10, k=2, maxSweeps=2, eps=.1, verbose=FALSE)
参数----------Arguments----------
参数:n
The number of partitions (simulations or design points)
分区的数量(模拟或设计要点)
参数:k
The number of replications (variables)
复制数(变量)
参数:maxSweeps
The maximum number of times the CP algorithm is applied to all the columns.
最大次数的CP算法被施加到所有的列。
参数:eps
The optimal stopping criterion
最优停止准则
参数:verbose
Print informational messages
打印信息性消息
Details
详细信息----------Details----------
Latin hypercube sampling (LHS) was developed to generate a distribution of collections of parameter values from a multidimensional distribution. A square grid containing possible sample points is a Latin square iff 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. When sampling a function of k variables, the range of each variable is divided into n equally probable intervals. n sample points are then drawn such that a Latin Hypercube is created. Latin Hypercube sampling generates more efficient estimates of desired parameters than simple Monte Carlo sampling.
拉丁超立方体抽样(LHS)的开发是为了产生一个分布的多维分布的参数值的集合。包含可能的样本点的方形网格是拉丁方,当且仅当有只有一个样品在每一行和每一列。一个拉丁超立方体是这一概念的推广到任意维数。当采样k变量的函数,每个变量的范围分为n同样可能的时间间隔。 n的采样点,然后绘制,拉丁超立方。拉丁超立方抽样所需的参数不是简单的蒙特卡罗抽样产生更有效的估计。
This program generates a Latin Hypercube Sample by creating random permutations of the first n integers in each of k columns and then transforming those integers into n sections of a standard uniform distribution. Random values are then sampled from within each of the n sections. Once the sample is generated, the uniform sample from a column can be transformed to any distribution by using the quantile functions, e.g. qnorm(). Different columns can have different distributions.
该程序生成一个随机排列在每个n列的第一个k整数,然后将这些整数n段的一个标准均匀分布的拉丁超立方采样。随机值,然后采样从各n部分。一旦样品被生成时,从列的均匀样品可被转化到任何分布分量的功能,例如,通过使用qnorm()。不同的列可以有不同的分布。
S-optimality seeks to maximize the mean distance from each design point to all the other points in the design, so the points are as spread out as possible.
S-最优旨在最大限度地从每一个设计点的平均距离的所有其他点的设计,所以点摊开可能。
This function uses the <acronym>CP</acronym> algorithm to generate an optimal design with respect to the S optimality criterion.
此功能使用的<acronym>的CP </首字母缩写词算法来生成一个优化设计的S最优标准。
值----------Value----------
An n by k Latin Hypercube Sample matrix with values uniformly distributed on [0,1]
nk拉丁超立方体样品基质的值均匀分布在[0,1]
(作者)----------Author(s)----------
Rob Carnell
参考文献----------References----------
A method to improve design reliability using optimal Latin hypercube sampling Computer Assisted Mechanics and Engineering Sciences 12, 87–105.
参见----------See Also----------
randomLHS, geneticLHS, improvedLHS and maximinLHS to generate Latin Hypercube Samples. optAugmentLHS, optSeededLHS, and augmentLHS to modify and augment existing designs.
randomLHS,geneticLHS,improvedLHS和maximinLHS拉丁超立方体样品。 optAugmentLHS,optSeededLHS和augmentLHS修改和增加现有的设计。
实例----------Examples----------
optimumLHS(4, 3, 5, .05)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|