I am developing code for a paper for a university project and I need to "generate a random number x that is binomially distributed with mean (1 - p)^-1. How can I do this in R?
x
(1 - p)^-1
Aucun commentaire:
Enregistrer un commentaire