Explanation:rbinom() is used to simulate a predictor variable x that is binary instead of having a Normal distribution. 5. Point out the wrong statement :
A. Drawing samples from specific probability distributions can be done with “s” functions
B. The sample() function draws randomly from a specified set of (scalar) objects allowing you to sample from arbitrary distributions of numbers
C. The sampling() function draws randomly from a specified set of objects
D. None of the mentioned
Answer:A
Explanation:rbinom() is used to simulate a predictor variable x that is binary instead of having a Normal distribution. 5. Point out the wrong statement :
A. Drawing samples from specific probability distributions can be done with “s” functions B. The sample() function draws randomly from a specified set of (scalar) objects allowing you to sample from arbitrary distributions of numbers C. The sampling() function draws randomly from a specified set of objects D. None of the mentioned
Explanation:The sample() function can be used to draw random samples from arbitrary vectors. 6. What will be the output of the following code >