4
$\begingroup$

I have used the R Boruta package to check for feature relevance in predicting log returns of financial time series, the targets being the log returns themselves (for regression) and the sign of log returns (for classification, either 1 or -1). In both cases the features used are exactly the same. For the regression case all features are deemed relevant whilst for the classification case only a subset of the features are deemed relevant.

What am I to make of this? My intuition tells me that in the classification case the subset that is relevant are those features which are "closest" to the current price of the time series and therefore are important in determining the decision boundary whilst the features "further away" are thus irrelevant for classification purposes. On the other hand, for regression, all features are relevant because small log returns imply the features near the boundary are important and large log returns also similarly imply the importance of those features that are "further away."

Is this a valid assumption to make?

$\endgroup$
3
  • $\begingroup$ Do you have one time series or multiple time series? If multiple time series how do you handle the related observations from the same time series? $\endgroup$
    – dipetkov
    Commented May 4, 2022 at 6:42
  • $\begingroup$ @dipetkov It is one time series with multiple features per time step. $\endgroup$ Commented May 5, 2022 at 11:49
  • $\begingroup$ Okay. Working with one time series simplifies the analysis, somewhat. I'd still not over-interpret the inclusion/exclusion of some features if both the regression and the classification models end up doing a poor job of predicting returns. $\endgroup$
    – dipetkov
    Commented May 5, 2022 at 13:27

1 Answer 1

2
$\begingroup$

Loosely speaking, I would interpret it to mean that a subset of features are most important for determining the direction (gain/loss), and then the other features come up in determining the magnitude.

However, just looking at the sign seems like a good way to lose money or to pass on a profitable opportunity. For example, if I make trades for ten days, lose money on the first nine, and then make a ton of money on the tenth day, I will be quite content to be a squillionaire who got it wrong $90\%$ of the time; if I only modeled the binary gain/lose, I would have passed on this opportunity. Likewise, if I get it right for those first nine days and then lose everything on the tenth, I would not be happy to be someone who got it right $90\%$ of the time yet lost my money.

Consequently, I might not think much of the binary gain/lose model.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.