Hello All,
I'm new to INLA and I'm trying to use INLA to implement some models that I have previously been running in MCMCglmm. Specifically, I'm trying to run a meta-analysis type model where my response variables are weighted by another variable. My explanatory variables are coefficients from separate models, so the weighting is their standard error. The goal is to weight the response variables so that values with lower standard errors have a greater weighting in the model over those with larger standard errors. My models have so far been based on the MCMCglmm tutorial here.
Are these type of models currently possible in INLA?
My current (basic) INLA code is below as a sort of minimum working example/template.
priorpc <- list(prec = list(prior = "pc.prec", param = c(3, 0.05)))
mod <- inla(beta ~ var1 + f(ran_eff, model = 'iid', hyper = priorpc),
data = datset1,
quantiles = c(0.025, 0.975),
control.compute = list(dic = TRUE, waic = TRUE),
family = "lognormal")