v 3 d genbinomial: Generating random deviates from the binomial distribution. d This command generates data which are random draws from a binomial d distribution for a given number of trials n and success probability p. d Both n and p may be specified as either a constant or a variable if d the parameter varies over the data. d d Additionally, {cmd:genbinomial} allows the user to instead specify a linear d predictor and a link function, in which case the success probability is d treated as the inverse link of the linear predictor. This is useful if d you wish to compare the various {cmd:glm, family(binomial)} link functions d using simulated data. d d {cmd:genbinomial} is an extension of {cmd:rndbinx}, by Hilbe et al., STB-41, however, d you do not need to install {cmd:rndbinx} in order to run {cmd:genbinomial}. d d Program by Roberto G. Gutierrez, StataCorp. d 01 September 2004. f genbinom/genbinomial.ado f genbinom/genbinomial.hlp g linux.cd plugins/linux/genbinom.plugin g linux.cd-se plugins/linux/genbinom.plugin g AIX plugins/aix/genbinom.plugin g DECALPHA plugins/decalpha/genbinom.plugin g HP plugins/hp/genbinom.plugin g IRIX plugins/irix/genbinom.plugin g MAC plugins/mac/genbinom.plugin g SOLARIS plugins/solaris/genbinom.plugin g SOL64 plugins/sol64/genbinom.plugin g WIN plugins/win/genbinom.plugin h genbinom.plugin