I have two questions- I have time series data over 18 years for internet search terms- I have deasonalised this data on the day of the week and month dummies. How do I generate a new variable by keeping the residual for the terms on each day as a column in my data?
And also, I want to account for heteroscedasticity by dividing the residual by its standard deviation- is there a shortcut in doing this for all my variables in one go and having this as a new variable in a new column within my data?
And also, I want to account for heteroscedasticity by dividing the residual by its standard deviation- is there a shortcut in doing this for all my variables in one go and having this as a new variable in a new column within my data?
Comment