Explanation:set.seed(1) will give 5 normal random numbers. 4. _______ function is used to simulate binary random variables.
A. dnorm
B. rbinom()
C. binom()
D. rpois
Answer:A
Explanation:set.seed(1) will give 5 normal random numbers. 4. _______ function is used to simulate binary random variables.
A. dnorm B. rbinom() C. binom() D. rpois
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 :