-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add error analysis tutorial #4174
Add error analysis tutorial #4174
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I would propose to generate a correlated time-series via for example the AR-1 process. This is trivial. It will save a lot of time in the generation of the time-series and you can make the discussion independent of MD/MC sampling. I would also refer to the Markov-Chain central limit theorem. This is the straight forward way to introduce the error estimate like it can be found in the paper by Janke. |
Do these tutorials need to be tested? They don't rely on ESPResSo, at all, but only NumPy, Matplotlib and SciPy. |
Yes, all tutorials need to be tested. It's the only way to be sure that the solution cells indeed work. You can add |
5052f9a
to
2692e99
Compare
1002844
to
c068db4
Compare
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.
First round of comments, more to come this week.
672ceda
to
6036f3e
Compare
Plotting the analytical autocorrelation function (see B_n in https://en.m.wikipedia.org/wiki/Autoregressive_model ) in the plot where you show the estimated auto correlation function could be interesting to the reader? |
6036f3e
to
1b1e1c7
Compare
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.
The proposed changes are in jngrad/espresso@error-analysis-tutorial.
Did you consider teaching bootstrap and showcasing https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.bootstrap.html#scipy.stats.bootstrap ? Scipy does not seem to use block bootstrap which is needed for correlated time series data. |
Teaching bootstrapping would make this tutorial quite long. We also want to limit the number of python dependencies in ESPResSo. |
Teach error analysis of observables using correlated simulation data. Co-authored-by: Jonas Landsgesell <jonaslandsgesell@users.noreply.github.com> Co-authored-by: Jean-Noël Grad <jgrad@icp.uni-stuttgart.de>
1b1e1c7
to
4856dba
Compare
Description of changes:
This will solve the tutorial side of issue #3958