Page 1 of 1

Show R code X is a random variable with an exponential distribution with rate 𝜆 = 6. Thus the pdf of X is f(x) = 𝜆 eāˆ’𝜆x

Posted: Wed Jul 06, 2022 12:09 pm
by answerhappygod
Show R code
X is a random variable with an exponential distribution withrate šœ† = 6. Thus the pdf of X is f(x) =
šœ† eāˆ’šœ†x
for 0 ≤ x where šœ† = 6.a) Using the f(x) above and the R integrate function calculate theexpected value of X. b) Using the f(x) above and the R integrate function calculate theexpected value of
X2.5
. c) Using the dexp function and the R integrate function calculatethe expected value of X. d) Using the pexp function find the probability that0.2 ≤ X ≤ 0.5 e) Calculate the probability that X > 0.79 by using the pexpfunction f) Calculate the probability that X is at least 0.3 more than itsexpected value. Use the pexp function