Re: [R] Simulating from probit

2012-09-26 Thread Duncan Murdoch
On 12-09-25 10:16 PM, Tjun Kiat Teo wrote: Is there anyway to simulate random deviates from probit ? Use pnorm() to calculate the probabilities, and rbinom() to simulate the random values. Duncan Murdoch __ R-help@r-project.org mailing list

[R] Simulating from probit

2012-09-25 Thread Tjun Kiat Teo
Is there anyway to simulate random deviates from probit ? Tjun Kiat __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented,