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

Q-Q Plot #42

Open
aimalz opened this issue Jan 18, 2017 · 5 comments
Open

Q-Q Plot #42

aimalz opened this issue Jan 18, 2017 · 5 comments
Assignees

Comments

@aimalz
Copy link
Owner

aimalz commented Jan 18, 2017

I was thinking it might be useful to implement a quantile-quantile plot option in addition to calculating the RMS and KLD to compare PDF objects.

Edit: This will probably also merit another explanatory notebook like kld.ipynb.

@aimalz aimalz self-assigned this Jan 18, 2017
@drphilmarshall
Copy link
Collaborator

drphilmarshall commented Jan 18, 2017 via email

@aimalz
Copy link
Owner Author

aimalz commented Jan 19, 2017

I'm not sure if it will help with #35, but I can imagine a way to use the q-q values to choose the optimal quantile spacing. What if we ran an optimizer over the quantiles to minimize the L1 or L2 norm between the true PDF and the quantile PDF? A corollary to this idea is that the bin endpoints could be optimized using the q-q between the true PDF and the binned PDF, which would be guaranteed to be just as good of an approximation as optimized quantiles. (The biggest remaining advantage to the quantiles would then be that the approximated PDF information could be stored more compactly. EDIT: Actually, there's no reason for me to think that -- the two options would be more or less indistinguishable under an optimization of this type. . .) I'll try it out!

@drphilmarshall
Copy link
Collaborator

drphilmarshall commented Jan 19, 2017 via email

@aimalz
Copy link
Owner Author

aimalz commented Jan 19, 2017

Indeed, #36 includes mention of nontrivial PDFs, which I envisioned being mixtures of scipy.stats.rv_continuous objects. However, I haven't yet thought about deploying qp on a "survey" of mock 1D PDFs. Perhaps that should be a separate issue.

@drphilmarshall
Copy link
Collaborator

drphilmarshall commented Jan 19, 2017 via email

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

No branches or pull requests

2 participants