This is a problem from Ross’s Stochastic Processes [1]. Let where are i.i.d exponential random variables with rate . Find the joint distribution of .
Let be the PDF of each (since identically distributed). Since are independent the joint PDF is Then we can find the joint CDF of
Simulation
We can confirm these results with a simple simulation in R.
# Computed joint CDF
expect_joint <- function(t1, t2, t3, lambda = 1) {
1 - exp(- lambda * t1) - lambda * t1 * exp(-lambda * t2) -
t1 * t2 * exp(-lambda * t3) + 1/2 * t1^2 *exp(- lambda * t3)
}
# Simulate 1000 realizations of S1, S2, S3
sim <- function(t1, t2, t3, rate = 1, n = 1000) {
s1 <- rexp(n, rate)
s2 <- s1 + rexp(n, rate)
s3 <- s2 + rexp(n, rate)
mean(s1 <= t1 & s2 <= t2 & s3 <= t3)
}
# P(S1 <= 1, S2 <= 2, S3 <= 3) with lambda = 1
t1 <- 1
t2 <- 2
t3 <- 3
rate <- 1
# Replicate the simulation 1000 times
sim_res <- replicate(1000, sim(t1, t2, t3, rate))
cat("Simulated mean:", round(mean(sim_res), 3))
cat("Expected joint distribution:", round(expect_joint(t1, t2, t3, rate), 3))
Expected joint distribution: 0.422
```
References
[1]
Ross, S.M. et al. 1996. Stochastic processes. Wiley New York.