-
Notifications
You must be signed in to change notification settings - Fork 71
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
Diagnostics #223
Diagnostics #223
Conversation
Closing issue #213
- Pep8 - change arguments to fit with Pastas - cite stoffer and toloi - return stats in line with other methods
- Use 1xn instead of mx1 arrays (faster). - Add methods to imports - Add method to docs - use pandas methods to modify the time series
Add Portmanteau test
The Notebook requires some more work but I think we can do this in the Dev-branch so we also include all changes there when working on the notebook. |
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.
Does it make sense to move plotting functions outside of plots.py? I don't really mind, and they are focused on plotting statistics, so I'm ok with that.
Some minor comments (in docstrings).
I thought this makes more sense as it is really part of the stats subpackage right now. One could do: from pastas import stats and do a diagnostic testing of non-Pastas models as well :) Merging. |
Short Description
This PR updates the stats module in numerous ways and is accompanied by an example notebook about diagnostic checking of Pastas models.
New:
diagnostics, plot_diagnostics, stoffer_toloi, plot_acf
Updated:
ljung_box, durbin_watson, runs_test
Documention for this branch is also compiled and visible here:
https://pastas.readthedocs.io/en/diagnostics/api/statistics.html
Checklist before PR can be merged: