I think PDL::GSL::RNG can do it.
On Sep 29, 2008, at 1:22 PM, Derek Lamb wrote: > Steve Cicala wrote: >> Can anyone point me to the function in PDL that returns values from >> the standard normal distribution? >> >> i.e. >> 0.5=pnorm(0) >> >> Thanks, >> >> Steve > As far as I know there is no such thing. There is/was a module > PDL::Gaussian that purported to do this, among other things. But it > was > very broken, never used, never asked about, and is in the process of > being pulled from the PDL distribution. > > Shouldn't be too hard to cook one up yourself using > PDL::Func::integrate. Or maybe even PDL::Func::interpolate and > PDL::Ufunc::(d)cumusumover , if you only want to compute it once. > > cheers, > Derek > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
