CDOoDocuments.StdDocumentDescDocuments.DocumentDescContainers.ViewDescViews.ViewDescStores.StoreDescUDocuments.ModelDescContainers.ModelDescModels.ModelDescStores.ElemDesc TextViews.StdViewDescTextViews.ViewDescETextModels.StdModelDescTextModels.ModelDescOGQTextModels.AttributesDesc*model { for (i in 1:N) { Y[i] ~ dnorm(mu[i], error.prec) mu[i] <- inprod(X[i,],beta[]) + W[i] muW[i] <- 0 } error.prec ~ dgamma(0.10,0.10) for (i in 1:p) {beta[i] ~ dnorm(0.0, 0.0001)} tausq <- 1/error.prec W[1:N] ~ spatial.exp(muW[], x[], y[], spat.prec, phi, 1) phi ~ dgamma(0.1,0.1) spat.prec ~ dgamma(0.10, 0.10) sigmasq <- 1/spat.prec # Predictions Joint W0[1:M] ~ spatial.pred(muW0[], x0[], y0[], W[]) for(j in 1:M) { muW0[j] <- 0 Y0[j] <- inprod(X0[j,], beta[]) + W0[j] } } #Initial Values list(beta=c(0),phi=1.0,spat.prec=1.0,error.prec=1.0,W=c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),W0=c(0, 0, 0, 0, 0)) #Data list(N=100,p=1,M=5,X = structure(.Data=c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), .Dim = c(100, 1)),X0 = structure(.Data=c(1, 1, 1, 1, 1), .Dim = c(5, 1))) x0[] y0[] 5.0 5.0 3.5 3.5 4.0 6.0 3.0 7.0 9.0 9.0 END x[] y[] Y[] 0.055695 6.682587 5.972015 6.356659 3.859406 3.391376 1.203766 6.327362 4.89079 4.346161 0.546112 5.352072 4.902496 6.787567 4.423553 9.800262 9.167328 3.056831 7.623749 2.265472 4.552995 4.257965 7.670135 4.36471 2.834625 5.430756 7.373618 5.496979 0.363007 6.553847 9.685822 7.606354 5.179496 8.22403 2.0961 3.910392 1.717682 8.898163 7.299458 4.939423 1.914825 5.008502 7.150726 3.575897 2.88651 1.042328 3.998566 3.387636 7.318878 1.021881 3.811434 3.234406 8.697052 5.344237 4.809723 7.558441 3.341748 5.287323 1.477509 6.605178 7.87674 9.46701 3.24305 0.236359 2.59201 5.100154 2.679901 2.510529 7.905932 3.064117 5.284882 8.359168 9.922943 8.272858 5.100291 2.92984 5.341644 7.542276 7.448883 2.62619 4.451773 9.019012 9.803314 3.958391 5.35141 6.641083 4.917973 9.062347 7.649384 4.553657 5.171661 5.249176 4.853381 4.59671 0.269318 5.391461 9.738312 3.974152 5.917742 2.02652 4.530487 6.872738 5.214386 9.038544 3.927727 3.546906 6.25351 5.328711 1.91391 1.165314 6.023674 6.994171 6.915741 3.494004 5.450592 8.3815 4.543607 8.683929 1.384125 6.858539 4.781036 8.137665 3.502842 8.298798 9.500885 4.67497 8.705902 4.058685 4.50832 9.892731 9.325104 4.309353 7.387543 7.632599 4.068234 8.067474 4.849701 3.375284 0.453949 0.157318 5.579153 3.388519 6.00235 6.482382 8.244171 5.249176 2.989509 6.104279 3.744659 4.464341 7.761383 7.23526 5.831522 2.223358 8.080292 9.06398 9.896698 5.733185 4.05263 1.023407 1.788483 6.986207 9.48288 1.736298 6.722441 8.043671 7.688751 5.391418 4.745636 5.516205 3.985553 2.631378 2.256927 6.46191 7.707367 1.652374 6.225331 4.099579 3.398895 6.105033 2.115936 1.504669 8.130884 5.56076 5.198517 3.9535 0.451813 8.438873 5.18651 9.50119 7.449799 4.139176 6.579132 6.118927 3.242921 4.151764 2.787323 5.811007 5.608063 5.178375 6.538094 4.72702 9.225922 4.454359 7.52121 8.582611 6.414786 8.585663 0.924225 5.166128 6.137238 0.995026 5.324738 8.382416 4.982758 3.016018 9.965057 2.460785 7.301108 2.268219 7.088776 6.693659 6.516266 1.717987 4.947989 5.206146 3.8237 7.215193 6.638947 9.450531 3.866677 0.460968 4.440155 4.556925 0.430756 6.795807 6.762912 5.328827 9.926605 6.934457 1.29837 9.417877 5.576024 0.165863 2.168732 7.454319 9.723053 2.460175 5.541343 4.781342 1.020355 5.96022 3.296051 6.688995 6.227696 1.256561 2.098541 4.727305 4.586029 1.141205 5.376647 7.251434 3.111725 4.263196 3.401031 2.588043 4.63722 8.861847 1.537933 6.192736 5.008087 7.129364 2.983474 7.092133 1.461334 5.18066 0.870514 4.226837 4.411182 6.999054 2.381744 4.263029 3.470001 8.491974 4.901359 3.579865 7.810211 6.146519 1.769867 9.542999 4.069671 3.455658 6.461945 6.617947 8.888702 5.235443 3.959419 6.421967 3.857269 4.105066 END TextControllers.StdCtrlDescTextControllers.ControllerDescContainers.ControllerDescControllers.ControllerDesc TextRulers.StdRulerDescTextRulers.RulerDescTextRulers.StdStyleDescTextRulers.StyleDescZTextRulers.AttributesDesc$0ZGo * <[ @Documents.ControllerDesc v x k{