time series Flashcards

(48 cards)

1
Q

What is a time series?

A

A sequence of observations recorded at regular time intervals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two main types of features in time series modeling?

A

Time-step features and lag features.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a time-step feature?

A

A feature derived directly from the time index (e.g., time dummy).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a lag feature?

A

A feature created by shifting the target series values backward in time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is serial dependence?

A

When future values depend on past observations (modeled with lag features).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is time dependence?

A

When values depend on the time index (modeled with time-step features).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is trend in a time series?

A

A persistent long-term change in the mean of the series.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can you visualize trend?

A

Using a moving average plot with a window larger than seasonal periods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is seasonality?

A

Regular, periodic changes in the mean of a series (e.g., daily, weekly, yearly).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are seasonal indicators?

A

Binary features representing seasonal periods (like one-hot encoded days of the week).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Fourier features used for?

A

To model seasonality with many observations using sine and cosine curves.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a periodogram?

A

A plot showing the strength of frequencies in a time series; helps choose Fourier pairs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a cycle in time series?

A

Patterns of growth/decay not tied to calendar time, often irregular.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you visualize serial dependence?

A

Using a lag plot (current values vs. lagged values).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is autocorrelation?

A

Correlation of a time series with its lagged versions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is partial autocorrelation?

A

Correlation of a time series with a lag, accounting for all shorter lags.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a hybrid model in forecasting?

A

Combining two or more models to leverage their complementary strengths.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is a boosted hybrid?

A

Using one model to fit residuals of another (e.g., linear regression + XGBoost).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is a stacked hybrid?

A

Using predictions of one model as features for another model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is forecast origin?

A

The last time point with available data used to make a forecast.

21
Q

What is forecast horizon?

A

The future time period for which forecasts are made.

22
Q

What is lead time (latency) in forecasting?

A

The time between forecast origin and forecast horizon.

23
Q

What is a multioutput forecasting strategy?

A

A single model that predicts multiple steps ahead simultaneously.

24
Q

What is the direct forecasting strategy?

A

Training separate models for each step in the forecast horizon.

25
What is the recursive forecasting strategy?
Using a one-step model and feeding its forecasts back as inputs for next steps.
26
What is the DirRec forecasting strategy?
Combining direct and recursive: separate models per step, using prior forecasts as features.
27
What is a moving average?
The average of values within a sliding time window, used to smooth series.
28
What is deterministic trend modeling?
Using polynomial functions of time (linear, quadratic, etc.) to model trend.
29
What is the role of the DeterministicProcess function?
To create deterministic features like trend and seasonality without collinearity issues.
30
How do you handle missing values when creating lag features?
Either fill them (e.g., with 0) or drop rows with missing values.
31
What is a correlogram?
A plot of autocorrelation or partial autocorrelation against lags.
32
Why can't tree-based models extrapolate trends?
They predict based on averages within training data ranges, not beyond them.
33
How can you model multiple time series with XGBoost?
Convert data from wide to long format and add a categorical series identifier.
34
What is the purpose of detrending in hybrid modeling?
To remove trend so another model (e.g., XGBoost) can focus on remaining patterns.
35
What are leading indicators in forecasting?
Time series that change before the target series, providing early signals.
36
How do you create lag features for multiple series?
Shift each series individually and align them into a feature matrix.
37
What is the difference between seasonality and cycles?
Seasonality is calendar-based and regular; cycles are irregular and not tied to dates.
38
What is the additive model of time series?
Series = Trend + Seasonality + Cycles + Error.
39
What is the residual of a model?
The difference between actual values and model predictions.
40
How do you prepare data for multistep forecasting?
Create multiple target columns (one per step) and align with lagged features.
41
What is a common use of Fourier features?
To model annual seasonality with daily data using few features.
42
What is the advantage of using linear regression for trend?
It can extrapolate trends beyond training data given appropriate time features.
43
What is a lag plot used for?
To visualize the relationship between a series and its lagged version.
44
What does a seasonal plot show?
Segments of a time series aligned by a seasonal period (e.g., weeks, months).
45
What is the smoothing parameter in moving averages?
The window size, which determines how many periods are averaged.
46
How do you choose the number of Fourier pairs?
Using the periodogram to identify dominant frequencies in the series.
47
What is the main limitation of using only lag features?
You can only forecast up to the number of steps for which lag values are available.
48
What is the benefit of hybrid models?
They combine trend extrapolation (linear models) with pattern learning (tree/neural models).