Which function is used to simulate discrete uniform random variables?

Which function is used to simulate discrete uniform random variables?
A. Sample
B. Simple
C. Function
D. Variance
 
Answer: a
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).
 

Tìm kiếm

Back
Top