Statistics - Correlation between 2 sets of data

1.3k Views Asked by At

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

1

There are 1 best solutions below

7
On BEST ANSWER

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}$.