区间命中概率
Probability of Generating Values in a Specific Interval
题目详情
要生成多少个在 上独立均匀分布的随机变量,才能保证以 95% 的概率至少有一个落在区间 内?
英文原题
How many independent random variables with uniform distribution on must be generated to ensure with 95% probability that at least one of them is between 0.5 and 0.55?
解析
单个样本落入区间 的概率为区间长度 。
生成 个独立样本,至少一个落入区间的概率为
要求 ,即
取最小整数得 。
英文解析
The probability that a single sample falls into the interval is the interval length .
Generate unique samples with at least one probability of falling into the interval
Request i.e.
The smallest integer is .