# Statistics - Correlation between 2 sets of data

If i know the means and standard deviations of 2 sets of data, and i know the slope of the regression line, how can I find the correlation?

edit

Sample 1

SD: 12.37

Sample 2

SD: 7.00

Slope of regression line: 0.789

-
There is actually a Statistics Stack Overflow -- stats.stackexchange.com –  Justin L. Dec 9 '10 at 0:42

The formula is $$r = b_1 \frac{s_x}{s_y},$$ where $r$ is the correlation, $b_1$ is the slope, and $s_x$ and $s_y$ are the standard deviations of the independent $(x)$ and dependent $(y)$ variables, respectively.
A reference is Wikipedia's page on simple linear regression. See the formula for $\hat{\beta}$.