1.

Which of the following code create n samples of size “size” with probability prob from the binomial ?

A. z <- rinom(n,size,prob)
B. z <- rbinom(n,size,prob)
C. z <- binom(n,size,prob)
D. all of the mentioned
Answer» C. z <- binom(n,size,prob)


Discussion

No Comment Found