(12) Consider the stationary Gaussian model in which <m>Y_i = beta + S(x_i) + Z_i :i=1,…,n</m>, where <m>S(x)</m> is a stationary Gaussian process with mean zero, variance <m>sigma^2</m> and correlation function <m>rho(u)</m>, whilst the <m>Z_i</m> are mutually independent <latex>${\rm N}(0,\tau^2)$</latex> random variables. Assume that all parameters except <m>beta</m> are known. Derive the Bayesian predictive distribution of <m>S(x)</m> for an arbitrary location <m>x</m> when <m>beta</m> is assigned an improper uniform prior, <m>pi(beta)</m> constant for all real <m>beta</m>. Compare the result with the ordinary kriging formulae.
(13) For the model assumed in the previous exercise, assuming a correlation function parametrised by a scalar parameter <m>phi</m> obtain the posterior distribution for:
a normal prior for <m>beta</m> and assuming the remaining parameters are known
a normal-scaled-inverse-<latex>$\chi^2$</latex> prior for <latex>$(\beta, \sigma^2)$</latex> and assuming the correlation parameter is known
a normal-scaled-inverse-<m>chi^2</m> prior for <m>(beta, sigma^2|phi)</m> and assuming a generic prior <m>p(phi)</m> for correlation parameter.
(14) Analise the Paraná data-set or any other data set of your choice assuming priors for the model parameters and obtaining:
the posterior distribution for the model parameters
a map of the predictive mean over the area
a map of the predictive median over the area
the predictive distribution at three arbitrary selected locations within the area
(15) Obtain simulations from the Poison model as shown in Figure 4.1 of the text book for the course.
(15) Try to reproduce or mimic the results shown in Figure 4.2 of the text book for the course simulating a data set and obtaining a similar data-analysis. Note: for the example in the book we have used set.seed(34).
(16) Reproduce the simulated binomial data shown in Figure 4.6. Use the package geoRglm in conjunction with priors of your choice to obtain predictive distributions for the signal <m>S(x)</m> at locations <latex>$x=(0.6, 0.6)$</latex> and <latex>$x=(0.9, 0.5)$</latex>. Compare the predictive inferences which you obtained in the previous exercise with those obtained by fitting a linear Gaussian model to the empirical logit transformed data, <m>log{(y+0.5)/(n-y+0.5)}</m>. Compare the results of the two previous analysis and comment generally.