Question: Let X1, . . . , Xn+m be a random sample from the exponential distribution with parameter . Suppose that has the gamma prior

Let X1, . . . , Xn+m be a random sample from the exponential distribution with parameter θ. Suppose that θ has the gamma prior distribution with known parameters α and β. Assume that we get to observe X1, . . . , Xn, but Xn+1, . . . , Xn+m are censored.
a. First, suppose that the censoring works as follows: For i = 1, . . . , m, if Xn+I ≤ c, then we learn only that Xn+i ≤ c, but not the precise value of Xn+i. Set up a Gibbs sampling algorithm that will allow us to simulate the posterior distribution of θ in spite of the censoring.
b. Next, suppose that the censoring works as follows: For i = 1, . . . , m, if Xn+i ≥ c, then we learn only that Xn+i ≥ c, but not the precise value of Xn+i. Set up a Gibbs sampling algorithm that will allow us to simulate the posterior distribution of θ in spite of the censoring.

Step by Step Solution

3.49 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a For each censored observation X ni we observe only that X ni c The probability of X ni c given is 1 expc The likelihood times prior is a constant ti... 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 (857).docx

120 KBs Word File

Students Have Also Explored These Related Statistics Questions!