You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CARBayes v 6.1.1, inside gaussian.glmMCMC there is a call to function glm with family = "quasipoisson" instead of "gaussian", as one should expect. As a consequence, calling:
> CARBayes::S.glm(formula=formula, family="gaussian", data = data, burnin=2000, n.sample=10000
outputs the following error:
Setting up the model.
Error in eval(family$initialize) :
negative values not allowed for the 'quasiPoisson' family
@Neseemo and I have already fix the typo with the right family. You can find the fixed version here. I did not open a PR on cran/CARBayes because it is said to be "unofficial". Let me know if I have to open it.
The text was updated successfully, but these errors were encountered:
TeoGiane
changed the title
gaussian.glmMCMC calls glm with 'quasipoisson' familygaussian.glmMCMC calls glm with "quasipoisson" family
May 29, 2024
In
CARBayes
v 6.1.1, insidegaussian.glmMCMC
there is a call to functionglm
withfamily = "quasipoisson"
instead of"gaussian"
, as one should expect. As a consequence, calling:outputs the following error:
@Neseemo and I have already fix the typo with the right family. You can find the fixed version here. I did not open a PR on
cran/CARBayes
because it is said to be "unofficial". Let me know if I have to open it.The text was updated successfully, but these errors were encountered: