-
Notifications
You must be signed in to change notification settings - Fork 0
notes on eot #56
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
notes on eot #56
Conversation
|
Is there a missing mu factor in the poisson part? I think I would change it so it doesn't sound like this is something specific to the kaon biasing. I think that the issue is that the 1/Nresample step weight estimate probably isn't unbiased but that it is relatively close to being it. I have however been trying to think a bit more about the whole thing and I think i have an idea for how to deal with the statistics. I think my validation by computing a biasing-ratio is sound, so the overestimate from the * N for the kaon/mixed case is real. I'm going to make the slightly strange definition to say that the ideal event weights should be such that EoT = * N, or if the weights are estimates then taking K samples of size N and treating the EoT value from each as monte carlo sample, i.e. The weights we are using today is essentially a stepwise product of the relative step probability w.r.t. default Geant4. So for event i with L steps, The first part that was a bit trippy to realize is that The mistake we are making is that we aren't accounting for the fact that we unconditionally stop at the first find. Computing E[1/Nresample] isn't obvious but if we instead define R = Nresample, it is straight-forward to see that it has a geometric distribution in q. For small probability, this goes towards So that isn't equal to q. So our estimate is wrong :( But if we can estimate q, then we should be able to compute the correct weight values. Easiest approach is probably to compute and store a grid and interpolate at runtime. Beware: The probability that i have inverted at least one fraction somewhere here is 1. But I think the conclusion is right. |
EinarElen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See earlier comment b/c i made the comment in the wrong place, but i think getting the missing mu (if im not mistaken) + rephrase the kaon-specific part?
@EinarElen has anything changed since you gave that presentation? I'm unsure if my comments about the Kaon EoT estimate being unresolved is still correct.
Feel free to correct my notes if you find an issue in them.