Hello everyone,

I would like to run a regression with date for example as follows:

Inflation=GDP+year+month

where year and month are dummies variables, knowing that the data is monthly time series, the date variable is in the format of 2006m6, 2006m7, 2006m8 . . . . . . 2012m12.

how can I do it ? I need to turn the date variable into a numeric value ?

Thanks in advance !