[R] Simulating from probit

Duncan Murdoch murdoch.duncan at gmail.com
Wed Sep 26 10:37:52 CEST 2012


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




More information about the R-help mailing list