n********a 发帖数: 68 | 1 Given a non-homogeneous Poisson process N(t) with intensity function
lambda(t) = sin(t)
Simulate the process N(t) and using the simulations to estimate
1. the expected number of events in (pi/2, pi)
2. the variance of the number of events in (pi/2, pi)
最好能用R或者SAS做吧。
尚未入门的菜鸟一只,还请各位大侠不吝赐教。 | w*******9 发帖数: 1433 | 2 如果你真是“尚未入门的菜鸟一只”,那么真正simulate the process N(t) 对你来说
是太难了,原因是这个inter-arrival time的分布比较麻烦。
能比较简单做的是预先取几个固定的观察时间点,0,pi/4, pi/2, 3pi/4, pi, ...。
再用poisson distribution 去simulate 每个点上的N(t). | m*********r 发帖数: 134 | 3 thining using rejection method |
|