Cross Validated
2023-05-25 14:51 UTC
By eork
AI-113-20230525-social-media-ecced007
How many lags to include? (Temperature data set)
I have a time series of daily temperature with autocorrelation that looks like this: Of course, temperature is heavily autocorrelated. When looking at the partial autocorrelation plot, lags are significant up to the 15th lag. But now I want to use this data as input for a regression model of a dependent variable y (perhaps something like heating), and I am wondering how many lagged values of temperature I should add. $\text{heating}=c+\beta_0T_{today}+\beta_1T_{yesterday}+...$ Should I add all fifteen of them? It seems a little much. Especially since I don't think the temperature of fifteen days ago will influence the amount of heating done today very much.
I have a time series of daily temperature with autocorrelation that looks like this: Of course, temperature is heavily autocorrelated. When looking at the partial autocorrelation plot, lags are significant up to the 15th lag. But now I want to use this data as input for a regression model of a dependent variable y (perhaps something like heating), and I am wondering how many lagged values of temperature I should add. $\text{heating}=c+\beta_0T_{today}+\beta_1T_{yesterday}+...$ Should I add all fifteen of them? It seems a little much. Especially since I don't think the temperature of fifteen days ago will influence the amount of heating done today very much.
Full article content could not be extracted automatically. Read the original below.
Source:
Cross Validated
· stats.stackexchange.com