Question: Let X be a random variable that belongs to a density function which is uniform between -2 and 3. use punif() or qunif() to calculate
Let X be a random variable that belongs to a density function which is uniform between -2 and 3. use punif() or qunif() to calculate the followings.
- P(2
- P(X>2)
- P(X<0.5)
- what is the upper quantile of X?
- what is the difference between punif() and qunif() ?
please write down the code in R
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
