Displaying 1 result from an estimated 1 matches for "sigmainverse".
2012 Jan 24
1
Cannot evaluate subset expression for sigmainverse
Hi, anybody can help me with this? can JAGS solve the inverse of a matrix
in the 3-way array? Thank you!
for(i in 1:n){
for(a in 1:t[i]){
for(b in 1:t[i]){
sigma[i,a,b]<-pow(rho,t[a]-t[b])
}
}
sigmainverse[i,,]<-inverse(sigma[i,,]) # this is where jags got error
}
[[alternative HTML version deleted]]