Yes normally for distributions defined in the R math library, the corresponding d-p-q...
I think you want v[i] * obs[j,k] instead of v[i][obs[j,k]].
Sure. The formula for the eigenvalues that I linked to on the Wikipedia page translates...
The solve function in R uses singular value decomposition, and will invert any non-singular...
You can't redefine variables in the BUGS language. You want this: for (i in 1:length(N))...
What is the problem? You can use random indices on the right hand side of any relation....
No. WAIC is based on the variances of the individual contributions to the deviance,...
On a separate topic, you have redundant hierarchies in your model here: b[1:N] ~...