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 trying to impute a response variable that ~Poisson or ~Gamma-Poisson but I get this compilation error probably because Stan doesn't like constraints in the model compartment.
Is there any way to deal with this within the Ulam environment without having to hardcode everything into Stan? You cannot get the stancode() before the it compiles I believe, so ones has to write everything from scratch.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi everyone,
I am trying to impute a response variable that ~Poisson or ~Gamma-Poisson but I get this compilation error probably because Stan doesn't like constraints in the model compartment.
25: model{
26: vector[3147] R_merge;
27: vector<lower=0>[3147] lambda;
^
28: phi ~ exponential( 1 );
29: D ~ normal( 0 , 3 );
Expected "[" expression "]" for vector size.
Is there any way to deal with this within the Ulam environment without having to hardcode everything into Stan? You cannot get the stancode() before the it compiles I believe, so ones has to write everything from scratch.
Thank you!
The text was updated successfully, but these errors were encountered: