Below are commute times and amounts of rainfall for a few randomly selected dates last year.
Rain (mm) Commute time (min)
3 20
0 10
1 25
9 30
15 60
12 25
Treat "Rain" as the X variable
Compute the value of r for the correlation between amount of rain and commute time.