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

QUESTION: dealing with missing observations in 1 minute frequency stock market time series #293

Closed
konradsemsch opened this issue Jul 7, 2020 · 2 comments

Comments

@konradsemsch
Copy link

Hello, I'm dealing with a time series problem where stock market data is collected on a 1-minute frequency. The data is available from 9:00 till 17:00. Outside of this time nothing is recorded as there are no trades taking place.

In that situation when I plot the value of the stock against time, I have large time gaps. It's impossible to use any classical forecasting method when these data gaps occur unless I impute them, however, that also doesn't seem like the right thing to do in this case.

What's the right approach when dealing with this data when time continuity is required?

On the other hand I could simply use regular ML methods that don't depend on time so strickly.

@mitchelloharawild
Copy link
Member

Support for structurally missing datasets is described in tidyverts/tsibble#18, which will be usable with these models when it is added to tsibble.

Classical forecasting methods are capable of handling atypical time structures and temporal missingness, but this is currently not possible in fable due to the lack of time classes to represent these temporally discontinuous (but in some sense, regular) time series.

For now, you can use a numeric index and manually specify the seasonal periods if you use a seasonal model.

@konradsemsch
Copy link
Author

Thank you for a prompt answer! I think that clears it up for the time being 😉

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

2 participants