请输入您要查询的字词:

 

单词 acceptance–rejection algorithm
释义
acceptance–rejection algorithm

Statistics
  • A method for generating values of a continuous random variable for use in a simulation. Suppose that the random variable X, which takes values in the interval (a, b), has probability density function f. Denote the maximum value of f(x) by M. Let u and ν be two random numbers uniformly distributed in the interval (0, 1). Write r=a+(ba)u and s=, so that r and s are uniformly distributed on (a, b) and (0, M), respectively. Calculate f(r). If f(r)>s then r is accepted as a value of X. Otherwise, it is rejected and a new pair of values is taken for u and ν.

    acceptance–rejection algorithm

    Acceptance–rejection algorithm. Uniform random numbers are generated in the intervals (a, b) and (0, M). If the point generated lies between the graph of f(x) and the x-axis, then the value of X is accepted.

    http://playingwithr.blogspot.co.uk/2011/06/ R code and demonstration.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/29 21:12:22