Let X_1,...,X_n|theta ~(iid) N(theta,sigma^2) where sigma^2 is known. Let the prior distribution be Uniform, i.e., Theta~Unif(-inf,inf).
a) Find the posterior distribution of theta given the data.
b) Find the Bayes estimate assuming squared-error loss.
c) Give the equal-tailed 95% credible interval.
d) Given that sigma^2=4, n=10, and (sum from i=1 to 10 of x_i) = 80, calculate the length of the interval you found in the last part.