Displaying 3 results from an estimated 3 matches for "certiainly".
Did you mean:
certainly
2007 May 01
2
Simulation using parts of density function
Hi
My simulation with the followin R code works perfectly:
sim <- replicate(999, sum(exp(rgamma(rpois(1,2000), scale = 0.5, shape = 12))))
But now I do not want to have values in object "sim" exceeding 5'000'000, that means that I am just using the beginning of densitiy function gamma x < 15.4. Is there a possibility to modify my code in an easy way?
Thanks for any help!
2007 May 03
0
unscrible pls
...nning of
> > densitiy function gamma x < 15.4. Is there a possibility to
> > modify my code in an easy way?
> >
> > Thanks for any help!
> >
> > Regards, Brigitte
>
> A somewhat extreme problem!
>
> The easiest way to modify the code is as below -- certiainly easier
> than writing a special function to draw random samples from the
> truncated gamma distribution.
>
> A bit of experimentation shows that, from your code above, about
> 10% of the results are <= 5000000. So:
>
> sim<-NULL
> remain <- 999
> while(remain>...
2003 Dec 01
0
No subject
share in the samba box, from the PDC server itself. The log.winbindd and
log.nmbd are empty.
[2001/08/08 13:11:28, 3] smbd/reply.c:reply_sesssetup_and_X(865)
Domain=[EERDBR001] NativeOS=[Windows NT 1381] NativeLanMan=[] [2001/08/08
13:11:28, 3] smbd/reply.c:reply_sesssetup_and_X(876)
sesssetupX:name=[administrator]
[2001/08/08 13:11:28, 3] libsmb/namequery.c:resolve_lmhosts(733)