Hi Everyone,
I have a model as follows:
S(t) = a + B1*S(t-1) + B2*Smax + B3*Month2 + B4*Month3 + ...... + B13*Month12 + B14*Week1 + B15*Week2 + B16*Week3 + epsilon
St: Price
St-1: Lag price
Smax: Max price up to that point
Month1 ... Month12: Dummy variable. (Month1 is equal to 1 if in month 1 etc.)
Week1 .... Week4: Dummy variable (Week1 is equal to 1 if in first week of the month etc)
My code is as follows:
regress St Month2 ...... Month12 Week1 Week2 Week3
predict eSt, resid
regress St_1 Month2 ...... Month12 Week1 Week2 Week3
predict eSt_1, resid
regress Smax Month2 ...... Month12 Week1 Week2 Week3
predict eSmax, resid
regress eSt eSt1 eSmax
1. My first question is that can I use this model even though I have two different dummy variables? (Week and month)
2. Also, how should I interpret these coefficients? I mean are the coefficients of est1 and eSmax deseasonalized model's coefficients? or do I need a further step?
Thanks for your helps and time in advance.
Best
I have a model as follows:
S(t) = a + B1*S(t-1) + B2*Smax + B3*Month2 + B4*Month3 + ...... + B13*Month12 + B14*Week1 + B15*Week2 + B16*Week3 + epsilon
St: Price
St-1: Lag price
Smax: Max price up to that point
Month1 ... Month12: Dummy variable. (Month1 is equal to 1 if in month 1 etc.)
Week1 .... Week4: Dummy variable (Week1 is equal to 1 if in first week of the month etc)
My code is as follows:
regress St Month2 ...... Month12 Week1 Week2 Week3
predict eSt, resid
regress St_1 Month2 ...... Month12 Week1 Week2 Week3
predict eSt_1, resid
regress Smax Month2 ...... Month12 Week1 Week2 Week3
predict eSmax, resid
regress eSt eSt1 eSmax
1. My first question is that can I use this model even though I have two different dummy variables? (Week and month)
2. Also, how should I interpret these coefficients? I mean are the coefficients of est1 and eSmax deseasonalized model's coefficients? or do I need a further step?
Thanks for your helps and time in advance.
Best
Comment