> Could anybody please tell me how to generate Laplacian distributed
> random numbers? Thanks.
Yes. Generate random uniforms and then apply the
inverse cumulative distribution function of the
Laplace distribution to these.
It's about 2 lines of code. Figure it out.
cheers,
Rolf Turner
[EMAIL PROTECTED]
P. S. Is this a homework problem?
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html