# Correlation between temperature and gas consumption

I have two time series; (1) with average daily temperature (which is negative in Q1 and Q4 on some days) and (2) gas consumption of a client:

A part of the process I am trying to achieve is to calculate the relationship between gas consumption and temperature. I expect the consumption to be higher on average when it's colder. How shall I calculate the correlation between the two series?

I can check the correlation between the absolute values of temp in deg.C and gas consumption, the correlation between the log (temp,t-1 / temp,t) & log(consumpt,t-1 / consumpt,t), or either of the options with the temperature in Kelvin. Every method gives a substantially different result and I do not know which is correct. Any input would be helpful.

• start with the scatter plot of temperature vs consumption, these are stationary. you may want to look at simple differences too. once you look at the scatters it'll give you an idea as to whether linear correlation makes a sense or not – Aksakal Sep 15 '17 at 19:45
• What are my options if the scatters don't show that linear correlation makes sense? The data I have produces the following scatterplot link, which I think has two regions of linearity. – Dave R Sep 22 '17 at 17:47
• the scatter is beautiful, looks very linear to me, with some threshold – Aksakal Sep 22 '17 at 19:54
• Words of caution: kdnuggets.com/2018/06/… and researchgate.net/post/… – Tim Jul 17 '18 at 20:33