Error while sampling from Binomial with large n

At those scales you can either approximate the binomial with a normal (in which case you can rescale the data as well) or perhaps rescale your binomial data, without much loss of accuracy: Binomial distribution - Wikipedia

1 Like