Is Using an Explanatory Variable that Defines My X-Y Pairs Correct ??

#1
Hello
My question is basic I guess:

My data looks like this:

obs date Y X
1 1/1/2010 5.6 3
2 1/2/2010 7.9 5
3 1/5/2010 15.5 10
.
.
.
So each Y and X pair are connected by the date (each row represents a Y-X pair and has a unique date). Now, can the linear regression equation look like this:

Y = a+b1*X+b2*date ?

Thank you very much

Meytar
 
Last edited: