Which Of The Following Code Create N Samples Of Size #620
Which of the following code create n samples of size “size” with probability prob from the binomial?
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 Commands, Packages, Visualizing Data and Linear Regression - Commands - Quiz No.1.
Which of the following code create n samples of size “size” with probability prob from the binomial?
z <- rinom(n,size,prob)
z <- rbinom(n,size,prob)
z <- binom(n,size,prob)
z >- nom(n,size,prob)