how do I generate a binary sequence with certain probabilities?
for instance, I want 0 to have 0.6 and 1 to have 0.4 probability
It would be very helpful if you give me the whole code to this
binary sequenceprobability
how do I generate a binary sequence with certain probabilities?
Best Answer