作者qwer098 (怒ㄌ)
看板Statistics
標題[問題] 有關R的抽樣程式
時間Sun Aug 3 20:06:08 2008
請問一下
假如現在要對指數分配X~exp(0.5)抽樣3筆(rexp(3,0.5))
但第一次x要大於3 第二次x要大於5 第3次要大於6
請問程式該如何寫....謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.224.45.230
1F:推 aks43725:rexp(3,0.5) + c(3,5,6) (exp. dist. is memoryless) 08/03 23:12