Explore BrainMass

# Swapping X and Y Values to Calculate the Correlation Coefficient r

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

Row 1 - Row 2
20 - 127
24 - 113
31 - 185
48 - 121
51 - 124
69 - 111
77 - 129

a) Calculate the correlation coefficient r, letting Row 1 represent the x-values and Row 2 represent the y-values.(round to three decimal places as needed)

b) Calculate the correlation coefficient r, letting Row 2 represent the x-values and Row 1 represent the y-values.
(round to three decimal places as needed)

c) What effect does switching the variables have on the correlation effect?
The correlation coefficient (choose one: remains unchanged, increases, decreases, changes sign) when the x-values and y-values are switched.

https://brainmass.com/statistics/correlation/swapping-values-calculate-correlation-coefficient-498590

#### Solution Preview

Hi there,

Thanks for letting me work on your post.

a)
Mean of x=(20+24+31+48+51+69+77)/7=45.71429
Sxx=(20-45.71429)^2+(24-45.71429)^2+(31-45.71429)^2+(48-45.71429)^2+(51-45.71429)^2+(69-45.71429)^2+(77-45.71429)^2=2903.429
Mean of ...

#### Solution Summary

The expert examines swapping X and Y values to calculate the correlation coefficient r's.

\$2.19