Applicable StataQuest Commands:
Statistics
Correlation
Pearson (or Spearman)
Statistics
Simple regression to obtain the coefficients for the least square (regression) line
Graphs
Scatterplots
Plot Y vs. X, with regression line