Que.________ generate random Normal variates with a given mean and standard deviation.
|
a. dnorm |
b. rnorm |
c. pnorm |
d. rpois |
Que.Point out the correct statement?
|
a. R comes with a set of pseudo-random number generators |
b. Random number generators cannot be used to model random inputs |
c. Statistical procedure does not require random number generation |
d. For each probability distribution there are typically three functions |
R comes with a set of pseudo-random number generators
Que.______ evaluate the cumulative distribution function for a Normal distribution.
|
a. dnorm |
b. rnorm |
c. pnorm |
d. rpois |
Que._______ generate random Poisson variates with a given rate.
|
a. dnorm |
b. rnorm |
c. pnorm |
d. rpois |
Que.Point out the wrong statement?
|
a. For each probability distribution there are typically three functions |
b. For each probability distribution there are typically four functions |
c. r function is sufficient for simulating random numbers |
d. R comes with a set of pseudo-random number generators |
For each probability distribution there are typically three functions
Que.Which of the following evaluate the Normal probability density (with a given mean/SD) at a point?
|
a. dnorm |
b. rnorm |
c. pnorm |
d. rpois |
Que._________ is the most common probability distribution to work with.
|
a. Gaussian |
b. Parametric |
c. Paradox |
d. Simulation |
Que.What will be the output of the following R code?> x <- rnorm(10)
> x
|
a. [1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.29454513[6] 0.38979430 -1.20807618 -0.36367602 -1.62667268 -0.25647839 |
b. [1] 22.20356 21.51156 19.52353 21.97489 21.48278 20.17869 18.09011[8] 19.60970 21.85104 20.96596 |
c. Min. 1st Qu. Median Mean 3rd Qu. Max.18.09 19.75 21.22 20.74 21.77 22.20 |
d. Error |
[1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.29454513[6] 0.38979430 -1.20807618 -0.36367602 -1.62667268 -0.25647839
Que.What will be the output of the following R code?> x <- rnorm(10)
> summary(x)
|
a. [1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.29454513[6] 0.38979430 -1.20807618 -0.36367602 -1.62667268 -0.25647839 |
b. [1] 22.20356 21.51156 19.52353 21.97489 21.48278 20.17869 18.09011[8] 19.60970 21.85104 20.96596 |
c. Min. 1st Qu. Median Mean 3rd Qu. Max.18.09 19.75 21.22 20.74 21.77 22.20 |
d. Error |
Min. 1st Qu. Median Mean 3rd Qu. Max.18.09 19.75 21.22 20.74 21.77 22.20
Que.What will be the output of the following R code?> pnorm(2)
|
a. 0.9772499 |
b. 1.9772499 |
c. 0.6772499 |
d. 2.6772499 |