I am attempting to model monthly retail electricity sales. To account for both the effects of seasonality and weather, I created an interaction term by multiplying 12 monthly dummy variables by the corresponding month's max temperature, such that:

Jan_dum_temp = Jan_dum * Jan_max_temp, Feb_dum_temp = Feb_dum * Feb_max_temp, . . . Dec_dum_temp = Dec_dum * Dec_max_temp

When adding these interaction terms to the regression, I omitted one dummy variable interaction term (Jan_dum_temp) to avoid the dummy variable trap.

The resulting model is:

y(hat) = b1 + b2Feb_dum_temp + ... + b12Dec_dum_temp + other explanatory variables

How do I estimate/interpret the effects of January's seasonality and temperature (Jan_dum_temp)?


It is generally inappropriate to leave out the components of an interaction term in a regression.

At the very least you should include a plain "temperature" term in your model. Whichever dummy variable you leave out is your reference category. So b2 should be the effect of temperature in February relative to January. But without the uninteracted temperature term, your model does not allow temperature to have any effect in January.

  • $\begingroup$ I think the best way to proceed is to disregard the interaction dummy variables altogether. Instead, I will include 11 monthly dummy variables and a 2-month moving average of the temperature variable to account for the effects of seasonality and temperature separately. $\endgroup$
    – Darlene
    May 23 '19 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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