Statistics problem using MATLAB

1 view (last 30 days)
Georges Clinton
Georges Clinton on 7 Dec 2019
Answered: Image Analyst on 8 Dec 2019
Hello everyone. So I'm supposed to write a code that should answer the following exercise:
Let X and Y be two independent exponential random variables with mean λ. What is E(X|X > Y ) ?
Does anyone know how to do it?

Answers (1)

Image Analyst
Image Analyst on 8 Dec 2019
Hint:
pd = makedist('Exponential','mu',2)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!