Consider a variable X which has a poisson distribution with mean 1.5.
How do I generate 100 values of X using VBA ?
Thanks.
Consider a variable X which has a poisson distribution with mean 1.5.
How do I generate 100 values of X using VBA ?
Thanks.
Try:
![]()
Please Login or Register to view this content.
Best Regards,
Kaper
@Kaper,
Here's my version of that:
It differs from yours in that the loop always executes at least once.![]()
Please Login or Register to view this content.
I went back to Knuth, and his description is a little arm-waving. Any thought on which is correct?
Entia non sunt multiplicanda sine necessitate
Hi shg,
Honestly - I just made a search in my HomeCloud and in one of files there was this function.
But having a brief look (it's almost midnight here):
Initial p is 1
socondition could be met before first execution of loop only for e>1![]()
Please Login or Register to view this content.
but asit means ... for mean <0![]()
Please Login or Register to view this content.
![]()
Of course, thank you.
My pleasure :-)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks