Re: [R] Random sample from truncated distributions

2012-02-08 Thread Petr Savicky
On Wed, Feb 08, 2012 at 06:17:40AM -0800, n wrote: > Hi, > > How can I draw a random sample from a truncated distribution (especially > lognormal)? > > I found the functions for truncated normal but not for many other > distributions. Hi. A variable Y with a log-normal distribution may be obtain

[R] Random sample from truncated distributions

2012-02-08 Thread n
Hi, How can I draw a random sample from a truncated distribution (especially lognormal)? I found the functions for truncated normal but not for many other distributions. Thanks Nikhil -- View this message in context: http://r.789695.n4.nabble.com/Random-sample-from-truncated-distributions-tp