You know how to compute the probability
(r,p)NB y
that the negatively binomially distributed variable assumes the nonnegative
integer value y , then compute the probability that it is less than or equal
to, say, i.100
n=:+/\(r,p)NB i.100
A random number between 0 and 1
?0
is grea
I will take another look.
Cheers
On Fri, Apr 4, 2014 at 2:04 PM, Devon McCormick wrote:
> I'd like to encourage J versions of things like this but I don't think R
> requires admin rights to install.
>
>
> On Fri, Apr 4, 2014 at 2:57 PM, John Baker wrote:
>
> > Thanks guys,
> >
> > Unfortunate
Regarding COM, there's a now relatively old technology to do without the
registration. Here's a random link on the subject:
http://stackoverflow.com/questions/5132372/how-to-configure-registrationless-com-components
I have not tried it yet but it looks interesting and there are free tools
to prepa
I'd like to encourage J versions of things like this but I don't think R
requires admin rights to install.
On Fri, Apr 4, 2014 at 2:57 PM, John Baker wrote:
> Thanks guys,
>
> Unfortunately I need the nonintegral version which I believe is a ratio of
> gamma funcions - I'll have to look it up.
Thanks guys,
Unfortunately I need the nonintegral version which I believe is a ratio of
gamma funcions - I'll have to look it up.
The R route is not viable for me unless R can be installed without admin
rights. The last time I looked one of the R interfaces was COM based which
requires registry e
Do you only need integer values for the one parameter?
If so, there is a half page, 7 step, algorithm in my old copy of Fishman's
simulation text I can photocopy for you. He has two other algorithm that
require more complex computations such as Cauchy and Gamma and Poisson
variates.
--
(B=) <-
I haven't rolled my own - at least not in a long while - might have done
in APL yonks ago!
But I see that R has a function rnegbin which is a
"Function to generate random outcomes from a Negative Binomial
distribution, with mean|mu|and variance|mu + mu^2/theta|."
And J's addons include an R s