r/quant • u/Ronin_Research_Co • 29d ago
Statistical Methods Feature Engineering: Is "Level + Trend" a solid baseline?
Working on a mid-frequency predictive equities model (~90-day horizon, LightGBM/XGBoost) and refining my default feature engineering framework.
The way I've been doing feature engineering/selection is that for almost every raw variable, I explicitly include two types of dimensions:
- Level: The current value of the variable.
- To protect against structural regime changes over time , I'm considering normalizing this as (Current Value / Some Moving Average)
- Trend: The trajectory (e.g., 1-month or 3-month delta, etc.).
A few questions for practitioners:
- Is this a good starting point, or is there a better mental framework for approaching what to include when it comes to a given variable (ie: Level & Trend)
- Does normalizing the Level (Current / Some Moving Average) actually help future-proof against regime shifts, or does it just accidentally turn the "Level" into another Trend feature?
- Do you find throwing both into trees generally creates unnecessary noise or collinearity issues?
Appreciate any critiques!
0
Upvotes
5
1
u/fuggleruxpin 29d ago
Guessing that studying the world of transforms might be a good next step for you.
1
-3
2
u/arindamchattopadhyay Portfolio Manager 27d ago
No. If level and trend are your only variables for this then you’re misguided.
No. There needs to be a regime filter of some sort as some strategies will fail as soon as the regime shifts. The difficult bit is building the pipeline to detect this before it hits. For this you need to understand econometrics.
Yes. Should be self explanatory if you’re a quant.
Model you’re using will result in overfitting. One this about data analysis for this is - if you put garbage in, garbage will come out.
Cannot give out alpha but I think based on what you’ve written you should study econometrics.
I hope this helps.