-
Notifications
You must be signed in to change notification settings - Fork 0
Model Interface to include Threshold #263
Comments
Let's talk about this! There are a few things here:
So I'm think that we actually do need a second method to handle this situation #3 above:
|
Actually, you make a good point that we can make the model classes as complex as we want. I think that definitely suffices for my application. Yes 3. is also a good point, but also, the added benefit of looking at all 100 interims and taking like the max of the T-statistics is also nice in that it becomes lambda-agnostic: you don't have to recompute the test statistic if your threshold changes. I don't know if that optimization is ever assumed/needed in the current framework, but something to keep in mind. I ended up not needing this for my application - I decided to plot the max of T-statistics. We can hold off on this until we have an example that actually needs this change. |
Adaptive T-Test is giving a new example of a test where we might need the threshold information in the
sim_batch
function. While I can technically implement this using the current setup, it would be nice to be able to support "return the first time the T-statistic is above the threshold". Of course, we can just return negative of the maximum of the T-statistic, but I would also like to just plot the histogram of the first t-statistic that rejects for fun. Right now, I can't use this model because it has to return the-maximum
.Solution: pass the threshold into the
sim_batch
but keep the same convention of returning some kind of a test statistic.The text was updated successfully, but these errors were encountered: