1.

Which function is used to simulate discrete uniform random variables?(a) Sample(b) Simple(c) Function(d) VarianceThe question was asked in class test.Origin of the question is Distribution in portion Distributions, Graphics & Neural Networks of R Programming

Answer»

Correct ANSWER is (a) Sample

For explanation: One can choose an integer at random with the sample function. The general syntax of the SIMULATION of the discrete UNIFORM random VARIABLE is a sample (X, size, replace = TRUE).



Discussion

No Comment Found

Related InterviewSolutions