Closed berghammeraj closed 1 year ago
Logic looks good, and I like the distinction of source variability and dose variability from a conceptual standpoint.
My only concern is that fentanyl_variability
and fentanyl_prob
are somewhat duplicative, though really in name only. fentanyl_prob
is controlling the likelihood that a dose of another opioid will be way stronger than expected, while fentanyl_variability
is adding an additional layer of variability for doses that are known to be fentanyl. I think we definitely want to keep the first, and I could be convinced to keep the latter. If so, we should probably come up with clearer names... I've been thinking for a while now that bad_batch_prob
is a better name for fentanyl_prob
, so maybe this should spur that change.
That's a good call, I still need to test, but pushed the name changes and removed the else statement.
updated simulation to include dose, counterfeit, and fentanyl variability --still needs testing and some documentation