Question: how to determine if a relationship exists between two variables?
Answer: Correlation analysis seeks to identify (by a single number) the degree to which there is a (linear) relation between the numbers in sets of data pairs. ... 
Regression analysis is used to determine if a relationship exists between two variables. ... 
1)Generation of the regression line and equation for the line: