1
$\begingroup$

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

  • 0
    There is actually a Statistics Stack Overflow -- http://stats.stackexchange.com/2010-12-09

1 Answers 1

3

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

  • 0
    I'm going to assume something is wrong with the data. thanks for the hel$p$!2010-12-08