由买买提看人间百态

topics

全部话题 - 话题: proptional
(共0页)
z*****h
发帖数: 17
1
来自主题: Computation版 - 求教:simulation of a complex distribution
f(x) is proptional to
exp{-sum(v_i*(x-b_i))-(x-c)^2/(2s)}/product{1+exp(b_i-x)}
i=1 to 20, v_i, b_i, c, s 已知。sum表示和,product表示积。
请问有什莫方法可以模拟这种复杂的分布?可以用ratio of uniforms吗?
多谢您的任何帮助!!!
z*****h
发帖数: 17
2
来自主题: Computation版 - 求教:simulation of a complex distribution
f f(x) need not to be normalized, can I use the following algorithm?
1. Generate X~N(c,s), U~U(0,1)
2. Accept Y=X if U<=1(or sqrt(2pi*s)?)
3. Return to 1, otherwise
I'm confused about how to determine g(x)/f(x). If f(x) is density function,
there will be no confusion. But here f(x) is proptional to ...
Any help will be highly appreciated,
z*****h
发帖数: 17
3
来自主题: Statistics版 - 求教: simulation of a complex distribution
f(x) is proptional to
exp{-sum(v_i*(x-b_i))-(x-c)^2/(2s)}/product{1+exp(b_i-x)}
i=1 to 20, v_i, b_i, c, s 已知。sum表示和,product表示积。
请问有什莫方法可以模拟这种复杂的分布?可以用ratio of uniforms吗?
多谢您的任何帮助!!!
z*****h
发帖数: 17
4
来自主题: Statistics版 - 求教: simulation of a complex distribution
If f(x) need not to be normalized, can I use the following algorithm?
1. Generate X~N(c,s), U~U(0,1)
2. Accept Y=X if U<=1(or sqrt(2pi*s)?)
3. Return to 1, otherwise
I'm confused about how to determine M. If f(x) is density function, there
will be no confusion. But here f(x) is proptional to ...
Any help will be highly appreciated,
(共0页)