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 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, minimal, self-contained, reproducible code.