No, I don't know if either of them have a blog or social media feed.now how I can keep up to date with Rob and Trevors, work?
I would go directly to the one-hot encoding. The one-hot encoded columns are your dummies. The dummy col for AAPL, for example, has 1's in the AAPL data rows and 0's in all other tickers' rows. Each ticker has a dummy column. Then you are fitting on the interaction terms. Similar to how, if you want your GARCH model to treat downside rtn^2 differently from upside, you'd add a downmove-dummy that is one when rtn is negative and zero otherwise, then add the interaction downmoveDummy * rtn**2 when fitting the model (you could also add an upmoveDummy but that is usually considered redundant -- see my previous post concerning lda/cca for when it is not).From what I understand, the the dummyVariable is the ticker. So instead of AAPL, we have a 1 and instead of NFLX we have a 2. These end up being one hot encoded. That is what I am understanding from Diebold's blog.
No. If you want the vol partial fixed effect, [edit: this was a mistake, the interaction term produces the fixed coeffs, the dummy alone produces the fixed effect/intercept] you would substitute the five (assuming you are modeling the 5 FAANG tickers) ticker-specific dummies * vol (5 cols now) for the single vol col. However vol has common enough dynamics among the FAANG's that I would include it in the common effect RHS cols. Or do both -- have a common vol effect (intercept) plus the fixed effects; though this might be overfit and I also suspect, if you have normalized your inputs properly, that the vol partial common intercept will be arbitrarily close to zero.Second, you mentioned one of the regressors to be (specific contemporaneous vol*dummyVariable). Are you saying create a new variable VolDummy and delete the original vol variable?
Edit: I should mention that the Diebold panel ridge regression suggestion for eliciting un-averaged-out fixed effects (as well as, potentially, ticker-specific coefficients) will produce penalized (shrunken) ticker-specific intercepts. This is important to keep in mind as usually, with ridge regression, the intercept is not penalized.
Also, to clarify, the dummies alone produce the ticker specific effects (intercepts), the interaction terms with the dummies * predictors produce the ticker-specific coefficients, and the predictors alone produce the common coefficients. A column of ones added to the RHS produces the common interecept (effect).
And you'll need a full dummy encoding even though the full set of dummies do not form a basis -- I believe glmnet will use ginv instead of solve so that shouln't be a problem.
Last edited:

. It looks like I am the only volume for the calendars. Wish me luck!