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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!