Q about modeling. How do u decide betw using something as a continuous variable, or a dummy variable (either 0 or 1)? Let's say Im modeling futureReturns. A potential feature is currentPriceDistance from50dayTrend. I could use a dummy, 1 if distance>thresh,else0. @therobotjames
-
-
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.
-
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)
- 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.