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
I am getting the following error when running the model using my own prior distributions:
Error in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, :
RUNTIME ERROR:
Compilation error on line 13.
Unknown variable sigma_shape
Either supply values for this variable with the data
or define it on the left hand side of a relation.
From what I understand, both sigma_shape and sigma_rate should be able to run as the default values, but the error is suggesting that it doesn’t recognize that variable. I would like to run the model with sigma_shape and sigma_rate set as the default.
The chunk of code I am running when I this issue is:
The model runs successfully without the priors added. This problem persists for me even when running the example code from the package. The package, R, and JAGS are up to date. Any suggestions on how to resolve this would be greatly appreciated :) Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I am getting the following error when running the model using my own prior distributions:
Error in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, :
RUNTIME ERROR:
Compilation error on line 13.
Unknown variable sigma_shape
Either supply values for this variable with the data
or define it on the left hand side of a relation.
From what I understand, both sigma_shape and sigma_rate should be able to run as the default values, but the error is suggesting that it doesn’t recognize that variable. I would like to run the model with sigma_shape and sigma_rate set as the default.
The chunk of code I am running when I this issue is:
simmr_out_informative <- simmr_mcmc(simmr_in2,
prior_control =
list(
means = prior$mean,
sd = prior$sd))
The model runs successfully without the priors added. This problem persists for me even when running the example code from the package. The package, R, and JAGS are up to date. Any suggestions on how to resolve this would be greatly appreciated :) Thanks!
The text was updated successfully, but these errors were encountered: