Re: [R] Laplacian Distribution

From: Rolf Turner <>
Date: Wed 07 Jul 2004 - 00:54:38 EST

> 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.


					Rolf Turner

P. S. Is this a homework problem? mailing list PLEASE do read the posting guide! Received on Wed Jul 07 00:59:22 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:44 EST