I have data consisting of two trends over time.
For example, the GDP and net immigration figures of the UK, from 1950-2020 (not the real data).
I can plot the 2 trend lines on the same graph and visually examine if they look like they correlate over time. However, is there any way to examine if they statistically correlate over time?
Note, this need to be a simple analysis that one can do in MS excel of other free software (e.g. JASP), as it is for a student.