Re: [R] simulate from conditional distribution

2012-09-13 Thread Petr Savicky
On Thu, Sep 13, 2012 at 05:02:54PM -0400, li li wrote: > Dear all, > Y, X are bivariate normal with all the parameters known. > I would like to generate numbers from the distribution Y | X > c > where c is a constant. > Does there exist an R function generating > random numbers from

Re: [R] simulate from conditional distribution

2012-09-13 Thread Thomas Lumley
On Fri, Sep 14, 2012 at 9:02 AM, li li wrote: > Dear all, > Y, X are bivariate normal with all the parameters known. > I would like to generate numbers from the distribution Y | X > c > where c is a constant. > Does there exist an R function generating > random numbers from such a