Hell Stan Team,
Thanks for your previous direction, I got a lot of help with defining my covariance. The forum guys are taking a bit long.
Generally, we are trying to model an underlying Gaussian Process with binomial sampling distribution(likelihood). Our models
are hierarchical over the parameters, Bk,which I give a joint normal prior and over hyper-parameters of the covariance matrix. We approximate the spatial dependency using the non-stationary,
anisotropic matern covariance ,whose parameters : length-scale(rho) and signal-variance(sigma-squared) are given the inverse_gamma(0.001,0.001) and uniform(0,200) priors
respectively.
Specifically my target model is: "glmm-model.png"- attached in this post.
#Now if fj is an Auto-regressive dynamics- for example, when each observation was made at a yearly time-point, which is very important for our inference- then I prefer to model it using an ar model or a random-walk ,where most appropriate.
#My Challenge
I have set up the model as given in the attached script, apparently it gives back results that are not consistent with the expected/known trend. I thought first to diagnose convergence but ended up with inconsistent volatility across the sampling chains. I suspected my initial parameterization values to be a possible cause and have since given different permutations of priors and inits, including specifying flat priors but the convergence is not clearly coming out.
I would like you to help me preview my model specification if it is indeed consistent with the literature of gaussian hierarchical models especially as specified in this mail, or even point to an unintentional failure that might have occurred. Your comments are highly regarded! I have attached an example dataset(Sl_ageCorrected*), stan model(sl_multigp.stan) with prediction raster files: (sl_prec.asc,sl_urb.asc). You can also see the surface prediction I got initially(sl_PR_180615)
Kind Regards!
Lukio
Hell Stan Team,
Thanks for your previous direction, I got a lot of help with defining my covariance. The forum guys are taking a bit long.
Generally, we are trying to model an underlying Gaussian Process with binomial sampling distribution(likelihood). Our models
are hierarchical over the parameters, Bk,which I give a joint normal prior and over hyper-parameters of the covariance matrix. We approximate the spatial dependency using the non-stationary,
anisotropic matern covariance ,whose parameters : length-scale(rho) and signal-variance(sigma-squared) are given the inverse_gamma(0.001,0.001) and uniform(0,200) priors
respectively.
Specifically my target model is: "glmm-model.png"- attached in this post.
#Now if fj is an Auto-regressive dynamics- for example, when each observation was made at a yearly time-point, which is very important for our inference- then I prefer to model it using an ar model or a random-walk ,where most appropriate.
#My Challenge
I have set up the model as given in the
...
...
int<lower=2> N;
N<- N_obs + N_new;
vector[D] x[N];
...