题目
题目

25F-STATS-102C-LEC-1 Quiz3- Requires Respondus LockDown Browser

单项选择题

Let 𝑓 ( 𝑥 ) = 𝑐 𝑜 𝑠 ( 𝑥 ) , for 𝑥 ∈ [ 0 , 𝜋 / 2 ] . Suppose we want to sample 𝑓 ( 𝑥 ) through the rejection method, with 𝑈 𝑛 𝑖 𝑓 ( 0 , 𝜋 / 2 )  as the candidate density. What is the multiplicative constant M?

查看解析

查看解析

标准答案
Please login to view
思路分析
We’re sampling from a target density proportional to f(x) = c cos x on the interval [0, π/2] using a candidate density g(x) that is Uniform on [0, π/2]. First, identify the densities: the uniform candidate has density g(x) = 1 / (π/2) = 2/π for x in [......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!