I have daily closing values of multiple stock indices and i have lists of public holidays for the whole period. I want to inspect the existence of a holiday effect. My regression equation is as follows:

R = c + beta1*DBt + beta2*DAt + e

R = log daily return

DBt = equals one if t is the day before a holiday. i.e. pre-holiday, zero otherwise.

DAt = equals one if t is the day after a holiday, i.e. post-holiday, zero otherwise.

How can I create such dummy variables in EViews or Stata?

More Maged Nada's questions See All
Similar questions and discussions