Question: Suppose that the time to complete a task is the sum of two parts X and Y. Let (Xi, Yi) for i = 1, .

Suppose that the time to complete a task is the sum of two parts X and Y. Let (Xi, Yi) for i = 1, . . . , n be a random sample of the times to complete the two parts of the task. However, for some observations, we get to observe only Zi = Xi + Yi. To be precise, suppose that we observe (Xi, Yi) for i = 1, . . . , k and we observe Zi for i = k + 1, . . . , n. Suppose that all Xi and Yj are independent with every Xi having the exponential distribution with parameter λ and every Yj having the exponential distribution with parameter μ.
a. Prove that the conditional distribution of xi given Zi = z has the c.d.f. G(x|z) = 1− exp(−x[λ − μ]) 1− exp(−z[λ − μ]) , for 0 < x < z.
b. Suppose that the prior distribution of (λ, μ) is as follows: The two parameters are independent with λ having the gamma distribution with parameters a and b, and μ having the gamma distribution with parameters c and d. The four numbers a, b, c, and d are all known constants. Set up a Gibbs sampling algorithm that allows us to simulate the posterior distribution of (λ, μ).

Step by Step Solution

3.54 Rating (175 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The joint pdf of X i Z i can be found from the joint pdf of X i Y i and the transformation hx y x ... View full answer

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

Document Format (1 attachment)

Word file Icon

602-M-S-S-M (858).docx

120 KBs Word File

Students Have Also Explored These Related Statistics Questions!