1.

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

Answer»

The correct option is (b) z <- rbinom(N,size,prob)

Easy explanation: To use the rbinom() FUNCTION, you NEED to define three parameters.



Discussion

No Comment Found

Related InterviewSolutions