r = \frac{\sum z_x z_y}{N} r = \frac{\sum z_x z_y}{N-1}