@macrocephalopod may have an idea as well
-
-
-
Replying to @macrocephalopod @M1tchRosenthal
Assuming you are trying for a predictive regression, that is. Compressing to 0/1 is throwing away information, plus it gives you many more opportunities to overfit as you will be tempted to choose the threshold to get a good result.
1 reply 0 retweets 8 likes -
Replying to @macrocephalopod @M1tchRosenthal
Only reasons for using dummy variables are (a) you have a categorical (unordered) variable that you need to encode (b) the feature is essentially two-class anyway (e.g. very bimodal distribution) and you don’t think the variations around the peaks add any information.
1 reply 0 retweets 6 likes -
Replying to @macrocephalopod @M1tchRosenthal
Discretising continuous variables can also lead to jumps in your forecast if the underlying variable meanders around the threshold over time, which lead to undesirable turnover in your strategy (which costs you money)
1 reply 0 retweets 8 likes -
Replying to @macrocephalopod
Ah I understand now!! How about output? Is it generally to try to model a continuous variable (futureRet), or to a logit regression to model odds of a category (TopDecileRet)? If Y is cont, confused on how to trade a model, do you adjust your exposure as expctd y changs?
1 reply 0 retweets 0 likes -
Replying to @M1tchRosenthal
I exclusively try to predict continuous variables, generally either (excess) return over some period or (excess) return scaled by a volatility forecast
2 replies 0 retweets 5 likes -
Replying to @macrocephalopod @M1tchRosenthal
By “excess return” I mean return neutralised to any factors that you plan to hedge in your portfolio (eg market, sector or country exposure)
1 reply 0 retweets 2 likes -
Replying to @macrocephalopod @M1tchRosenthal
The typical “quant” way to trade it is to solve some kind of optimization problem with a linear alpha term (your forecast is the alpha), quadratic risk term, and penalties for transaction costs/market impact
2 replies 0 retweets 4 likes -
Replying to @macrocephalopod
Gotcha, hope can find a text on tht. Curious how2 cap max and min exposure, but still have exposure scale smoothly basedOn alpha. Last thing Im wondering is how to test a binary signal. Just do lin reg with 1 dummyVar? backtest trading it directly? or should I avoid it entirely
1 reply 0 retweets 1 like
To cap exposure, solve the optimization problem with upper and lower bounds on the solution :) to test a binary signal I wouldn’t do lin reg at all, just backtest directly (1/0 is either long/flat or long/short depending on what the signal is)
-
-
Replying to @macrocephalopod
Cool, backtesting directly seems like a good option. Cant thank you enough for this, really helping me with these fundamental issues
1 reply 0 retweets 0 likes -
Replying to @M1tchRosenthal @macrocephalopod
Backtesting is misleading. One can always find parameters that "work" with the data. But past performance is no guarantee of future returns. You need to go further, to bootstrap or walk-forward.
1 reply 0 retweets 2 likes - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.