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))




Reply With Quote
