For a binary, just use @rnd (note that @rnd is a random uniform, not normal) to create a dummy using the desired success probability, as inwill generate a (0, 1) variable with success probability p.Code: Select all
series binary = @rnd > (1-p)
Great!
thanks a lot :)

