-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beta >0 in Tables #54
Comments
It sounds like it could be an interpolation issue. What type of interpolation are you using for the tables? If cubic splines, there may be some oscillations that dip below 0 (usually near the bounds). You could try calling/plotting different values returned from the table to see if this is the case. |
If you send me a copy of the model (zward@hsph.harvard.edu) - or another reproducible example - I can try to debug to see what is going on. |
Thanks so much Zach! I just sent it to you. |
I'm working on a CEA and running into the issue of Amua telling me that the analysis won't run because the b-value in a Beta distribution must >0 [Beta(a,b,~)]. However, I've double-checked my tables and none of the listed values are 0. I also ran individual tables and identified 2 tables that were the issue, but I can't figure out why those two are having issues while the others are not. I've double-checked my code and there's nothing different about how I'm referencing those two tables: if (n_Tx_line==3, Beta(p_Progression_3rd_line_CAR_Table[n_CAR_months,6], p_Progression_3rd_line_CAR_Table[n_CAR_months,5], ~),0)
I'm not sure if this is an issue with interpolation creating some "0" values or something else ... has anyone else experienced this or have any advice?
The text was updated successfully, but these errors were encountered: