I want to study the impact of monday effect on stock returns using garch (1,1) model. I used following code.

arch Returns Monday, arch(1) garch(1)

In above equation Monday is a dummy variable containing 1 for monday and 0 otherwise. When is use this variable as factor as in following equation stata give an error that factor variables are not allowed. How can I use this dummy variable in Garch model?

arch i.Returns Monday, arch(1) garch(1)

Error: factor variables not allowed

More Umar Farooq Attari's questions See All
Similar questions and discussions