作者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