ASTM D5124-1996(2013) Standard Practice for Testing and Use of a Random Number Generator in Lumber and Wood Products Simulation《木材及木制品模拟中随机编号产生器使用和检验的标准实施规范》.pdf
《ASTM D5124-1996(2013) Standard Practice for Testing and Use of a Random Number Generator in Lumber and Wood Products Simulation《木材及木制品模拟中随机编号产生器使用和检验的标准实施规范》.pdf》由会员分享,可在线阅读,更多相关《ASTM D5124-1996(2013) Standard Practice for Testing and Use of a Random Number Generator in Lumber and Wood Products Simulation《木材及木制品模拟中随机编号产生器使用和检验的标准实施规范》.pdf(5页珍藏版)》请在麦多课文档分享上搜索。
1、Designation: D5124 96 (Reapproved 2013)Standard Practice forTesting and Use of a Random Number Generator in Lumberand Wood Products Simulation1This standard is issued under the fixed designation D5124; the number immediately following the designation indicates the year oforiginal adoption or, in the
2、 case of revision, the year of last revision. A number in parentheses indicates the year of last reapproval. Asuperscript epsilon () indicates an editorial change since the last revision or reapproval.1. Scope1.1 This practice gives a minimum testing procedure ofcomputer generation routines for the
3、standard uniform distri-bution. Random observations from the standard uniformdistribution, RU, range from zero to one with every valuebetween zero and one having an equal chance of occurrence.1.2 The tests described in this practice only support thebasic use of random number generators, not their us
4、e incomplex or extremely precise simulations.1.3 Simulation details for the normal, lognormal,2-parameter Weibull and 3-parameter Weibull probability dis-tributions are presented.1.4 This standard does not purport to address all of thesafety concerns, if any, associated with its use. It is therespon
5、sibility of the user of this standard to establish appro-priate safety and health practices and determine the applica-bility of regulatory limitations prior to use. See specificwarning statement in 5.5.3.2. Referenced Documents2.1 ASTM Standards:2E456 Terminology Relating to Quality and Statistics3.
6、 Terminology3.1 Definitions:3.1.1 periodthe number of RUdeviates the computergenerates before the sequence is repeated.3.1.2 seed valuea number required to start the computergeneration of random numbers. Depending upon the computersystem, the seed value is internally provided or it must be userspeci
7、fied. Consult the documentation for the specific randomnumber generator used.3.1.3 serial correlationthe statistical correlation betweenordered observations. See 5.2.2.3.1.4 standard normal deviate, RNa computer generatedrandom observation from the normal probability distributionhaving a mean equal
8、to zero and standard deviation equal toone.3.1.5 standard uniform deviate, RUa random observationfrom the standard uniform distribution.3.1.6 standard uniform distributionthe probability distri-bution defined on the interval 0 to 1, with every value between0 and 1 having an equal chance of occurrenc
9、e.3.1.7 triala computer experiment, and in this standard thegeneration and statistical test of one set of random numbers.4. Significance and Use4.1 Computer simulation is known to be a very powerfulanalytical tool for both practitioners and researchers in the areaof wood products and their applicati
10、ons in structural engineer-ing. Complex structural systems can be analyzed by computerwith the computer generating the system components, giventhe probability distribution of each component. Frequently thecomponents are single boards for which a compatible set ofstrength and stiffness properties are
11、 needed. However, theentire structural simulation process is dependent upon theadequacy of the standard uniform number generator required togenerate random observations from prescribed probabilitydistribution functions.4.2 The technological capabilities and wide availability ofmicrocomputers has enc
12、ouraged their increased use for simu-lation studies. Tests of random number generators in com-monly available microcomputers have disclosed serious defi-ciencies (1).3Adequacy may be a function of intended end-use.This practice is concerned with generation of sets of randomnumbers, as may be require
13、d for simulations of large popula-tions of material properties for simulation of complex struc-tures. For more demanding applications, the use of packagedand pretested random number generators is encouraged.1This practice is under the jurisdiction of ASTM Committee D07 on Wood andis the direct respo
14、nsibility of Subcommittee D07.05 on Wood Assemblies.Current edition approved April 1, 2013. Published April 2013. Originallyapproved in 1991. Last previous edition approved in 2007 as D5124 96 (2007).DOI: 10.1520/D5124-96R13.2For referenced ASTM standards, visit the ASTM website, www.astm.org, orcon
15、tact ASTM Customer Service at serviceastm.org. For Annual Book of ASTMStandards volume information, refer to the standards Document Summary page onthe ASTM website.3The boldface numbers in parentheses refer to the list of references at the end ofthis standard.Copyright ASTM International, 100 Barr H
16、arbor Drive, PO Box C700, West Conshohocken, PA 19428-2959. United States15. Uniformity of Generated Numbers5.1 Test of the MeanThe mean of the standard uniformdistribution is12 . Generate 100 sets of 1000 random uniformnumbers and conduct the following statistical test on each set.Z 5X 2 0.500.0091
17、29(1)where:Z = test statistic,X= RU/1000,the standard deviation is assumed to be 112, andthe summation over 1000 values is implied.If the absolute value of Z exceeds 1.28 for more than 10 %and less than 30 % of the trials, the random number generatorpasses. If the random number generator fails the t
18、est using 100sets, then the number of sets can be increased or the randomnumber generator can be rejected.NOTE 1The assumption of standard deviation being equal to 112may be examined with a Chi-Square test wheres 5 (RU22 1000 X2!999(2)where:X= estimated means = estimated standard deviation of the 10
19、00 RUvalues, andthe summation over 1000 values is implied.A significant difference between s and 112, suggests anon-random generator.5.2 Test for Patterns in PairsThe purpose of this visualtest is to evaluate the tendency of pairs of deviates to formpatterns when plotted. Generate 2000 pairs of stan
20、dard uniformdeviates. Plot each pair of deviates on an x-y Cartesiancoordinate system. Inspect the resulting plot for signs ofpatterns, such as “strips.” Fig. 1 is one example of “stripes”generated by a BASIC function on a personal computer. Inmore than two dimensions, all generated random numbers f
21、allmainly on parallel hyperplanes, a fact discovered by Marsaglia(3).5.2.1 The following shuffling technique is an effectiveremedy for the general problem of “stripes” and randomnumbers falling on planes. Fill a 100-element array withstandard uniform deviates. Select a deviate from the arrayusing th
22、e integer portion of the product of a random deviateand 100. Replace the selected deviate with a new uniformdeviate. Repeat the process until the desired number ofdeviates has been generated. The plot of Fig. 2 resulted fromusing the shuffling technique on the random number generatorwhich produced F
23、ig. 1.5.2.2 Unless the RUgenerator is extensively tested bystringent tests (4, 5, 6) a shuffling procedure comparable to thatdescribed in 5.2.5 should be used.5.3 Visual Test for Uniform Distribution Conformance:5.3.1 The purpose of the visual test for distribution confor-mance is to detect some odd
24、 behavior of the random numbergenerator beyond what might be detected by the method in 5.4.It is impossible to predict the various shapes of the histogramswhich might indicate a problem with the generator. However,a few examples given here may alert the user of the generalform of a problem.5.3.2 His
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ASTMD512419962013STANDARDPRACTICEFORTESTINGANDUSEOFARANDOMNUMBERGENERATORINLUMBERANDWOODPRODUCTSSIMULATION

链接地址:http://www.mydoc123.com/p-518917.html