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

Improvement of the AR model #115

Open
pulkkins opened this issue Aug 26, 2019 · 4 comments
Open

Improvement of the AR model #115

pulkkins opened this issue Aug 26, 2019 · 4 comments
Assignees
Labels
discussion an open discussion for whole community enhancement New feature or request

Comments

@pulkkins
Copy link
Member

pulkkins commented Aug 26, 2019

The pysteps.timeseries.autoregression module implements only a very basic version of the AR(p) model. More advanced time series models and parameter estimation methods could be implemented. For instance:

  1. Some users have expressed their interest to applying the S-PROG and STEPS models to input data, where the time intervals between consecutive inputs are not regular. This cannot be done with the current implementation of the AR(p) model.
  2. It would be interesting to see if it makes sense to apply the AR(p) model to differenced time series instead of the original one (i.e. an integrated ARI(p,d) model).
  3. Replacing the AR(p) model with an ARMA(p,q) model could be another interesting experiment.
  4. Eventually we could implement a multivariate AR(p) or a vector autoregressive (VAR) model if the input data has more parameters than just reflectivity or precipitation intensity.
  5. The validity of the Yule-Walker estimator for the AR(p) parameters should be taken into closer examination. There are alternative methods such as ordinary least squares (OLS) or maximum likelihood that could be more robust.
  6. Finally, localization of the AR(p) model should be implemented in pysteps.timeseries.autoregression, not in pysteps.nowcasts.sseps.
@pulkkins pulkkins self-assigned this Aug 26, 2019
@dnerini dnerini added discussion an open discussion for whole community enhancement New feature or request labels Aug 26, 2019
@dnerini
Copy link
Member

dnerini commented Aug 26, 2019

These are all excellent ideas! I'm particularly interested to the developments towards more sophisticated time models, such as ARMA and VAR.

@dnerini
Copy link
Member

dnerini commented Jan 24, 2020

@pulkkins what's the progress on this issue? I've added for now the "release v1.2" milestone (which will mainly include the spectral version of steps), but if this needs more time, we can also include it in a successive release.

@pulkkins
Copy link
Member Author

pulkkins commented Jan 27, 2020

@dnerini I have implemented the first versions of VAR and ARI models and parameter estimation by OLS. After the testing, that I will do this week, these are ready to be included to v1.2. The remaining items in the above list still need more work.

@dnerini
Copy link
Member

dnerini commented Jan 29, 2020

Excellent, thanks @pulkkins.

We wait for these features to be merged into master before releasing v1.2.

(I remove the v1.2 milestone from this issue, since part of it will be released later on.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion an open discussion for whole community enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants