Open leungi opened 6 years ago
Did you ever find out if this is something to be worried about? I have ran in to the same 'error' when messing about with some beta distributions. The message is correct, as there's no linear model, we're just fitting a distribution. But is it anything to be worried about? Am I overlooking a far similar approach to this problem?
m <- map2stan( alist( x ~ dbeta(alpha, beta), alpha ~ dcauchy(0,1), beta ~ dcauchy(0,1)), data = dat)
Trying to replicate the introduction sample code and ran into an 'error'.
Issue:
map2stan()
successfully compiled and return as a valid object, but anerror
message came along with it. RunningWAIC(fit.stan)
returns the same error message.