# Thread: simple linear regression question

1. ## simple linear regression question

just had a question last week on a test that asked to switch the dependent and explanatory variables (x and y) and determine the effect on the slope.

in other words...
originally: y = b0 + b1(x)
new form: x = b0 + b1'(x)

is there a way to calculate the new b1 (slope)?

2. Originally Posted by jk010786
just had a question last week on a test that asked to switch the dependent and explanatory variables (x and y) and determine the effect on the slope.

in other words...
originally: y = b0 + b1(x)
new form: x = b0 + b1'(x)

is there a way to calculate the new b1 (slope)?
The formula for slope for simple linear regression is b1= r*(Sx/Sy) where r is the regression coefficient and Sx and Sy are the standard deviations of x and y respectively.
If you switch x and y, then you just switch the standard deviations in the formula (i.e., b1= r*(Sy/Sx))

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts