Basic Terminologies in Time Series Forecasting
What is Time Series Resampling?
Time series resampling involves changing the frequency of your time-series data. This is done by either:
Resampling is useful for analyzing time-series data at different granularities, filling in missing data, or summarizing data over specific time intervals.
Example:
1. Downsampling (Daily to Weekly)
We aggregate data from daily to weekly frequency using the mean.
2. Upsampling (Daily to Hourly)
We increase the frequency of data from daily to hourly.
What is Time Shifting in Time Series?
Time shifting in time series refers to moving the data forward or backward along the time index. This operation is useful for comparing data across time periods, lag analysis, or computing changes over time.
Types of Time Shifting
Sample Usage:
Rolling and Expanding
A common process with time series is to create data based off of a rolling mean. The idea is to divide the data into "windows" of time, and then calculate an aggregate function for each window. In this way we obtain a simple moving average.
Instead of calculating values for a rolling window of dates, what if you wanted to take into account everything from the start of the time series up to each point in time? For example, instead of considering the average over the last 7 days, we would consider all prior data in our expanding set of averages.
Data Scientist at Trinity Life Sciences - Generative AI Engineer
1 个月Checkout Chapter 2 : https://www.dhirubhai.net/pulse/basic-terminologies-time-series-forecasting-chapter-junaid--xaxkc/