-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add support for "smallest/largest next best" dose #855
Comments
Interesting idea, thanks @Puzzled-Face - can you give a code example for the situation mentioned above? Just so that I can better imagine this. |
For example
More realistically (and this is the type of use case that prompted the issue):
Though this code will currently fail since The PR associated with this issue is the set up for #856, which will provide support for this situation. The tests included in the PR demonstrate the correct function of the new class(es) for |
I think it would generally be good for this kind of larger feature to have a design doc first :-) But for the content, I would like to check whether this cannot be equally well achieved by additional |
Good points. Will think about whether I don't think dual endpoints present any fundamental difficulties, though we may need different generics to handle them. |
We also have already I would see the dual endpoints |
Hmmm. I think it is possible to do what I propose with an The point is made clear by the signatures of the relevant generics. For So we could create (say) an Equally, I could make a I can see where the philosophical conflict arises. Conceptually, we determine which doses are safe/eligible (with an The solution based on an ordinal-specific It's not an easy decision! |
Thanks @Puzzled-Face for the analysis, much appreciated! |
Some trials, most obviously those using ordinal models, may need to recommend a dose based on the minimum/maximum of different
NextBest
rules.For example
This is not currently supported, but would be by the creation of
NextBestMin
(andNextBestMax
) classes with behaviour analogous toCohortSizeMin
andCohortSizeMax
.The text was updated successfully, but these errors were encountered: