On Wed, 2014-02-19 at 17:36 -0800, Xing Zhao wrote:
> Two more questions
>
>
> 1. After checking the FAQ, I presumably think the posterior
> correlation matrix (/variance matrix) should be accessed by result
> $misc$lincomb.derived.correlation.matrix (/result$misc
> $lincomb.derived.covariance.matrix). So, if I specify the
> two: control.fixed = list(correlation.matrix=TRUE), and control.inla =
> list(lincomb.derived.correlation.matrix = TRUE). What is the output
> for? fixed effects or lincomb?
The posterior correlation matrix for the fixed effects, is implemented
through linear.combinations, just make one lincomb for each fixed
effect. the option in control.fixed is just a short-hand for this. if
you have additional lincombs, these new ones will be added.
yes, you simulate from a model with 'correlated random effects' but
estimate it with fixed effects, so... you can of'course change the model
so its correct according to the data or the oposite.
the 'fixed effects' in the Bayesian context, is just a (Gaussian)
variable with a prior mean and precision, and conditioning on data gives
you the posterior distribution for them and the posterior correlation
matrix is the correlation matrix between these three 'fixed effects',
and so with the covariance matrix.
the phrase 'fixed' and 'random' does not make much sense in the Bayesian
context, as only the prior is different, but we still use the phrase
still. a fixed effect have prior N(0, prec) and both mean and prec are
fixed. a random effect have prior (f.ex) N(0, prec) and prec is random
as well with its own prior.
Best