Skip to content
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

Chi2 combination ndof could be wrong #8

Open
vkulikovskiy opened this issue Feb 1, 2021 · 1 comment
Open

Chi2 combination ndof could be wrong #8

vkulikovskiy opened this issue Feb 1, 2021 · 1 comment

Comments

@vkulikovskiy
Copy link
Collaborator

mp = rv.cdf(np.array(v['chi2']))

The number of degrees of freedom in the parameter fitting (SN location) using Wilks' theorem corresponds to the number of free parameters once L/L_best is calculated. So, I am not 100% sure that conversion from chi2->probability is correct here.

@vkulikovskiy
Copy link
Collaborator Author

We (me) can make a new unit test (if it doesn't exist yet):

  1. Set of experiment pairs with known deltaT resolution (no bias for now).
  2. True SN direction.
  3. Time generation for each experiment pair.
  4. Skymaps calculation by using all pairs together as described in 3.5 of https://arxiv.org/pdf/2003.04864.pdf
  5. Skymaps calculation using pair by pair chi2 maps and their merging.
    Ideally 4 and 5 should be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant