Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (anonymous):

Does anyone know how to construct a correlation matrix table?

OpenStudy (anonymous):

OpenStudy (anonymous):

x1 x2 x3 y 6.7 2.8 2.5 11.0 3.9 2.6 5.7 11.0 1.8 2.4 7.8 10.6 5.1 2.3 7.1 10.3 2.7 2.5 5.9 10.3 8.4 2.9 8.6 10.7 14.0 2.3 9.2 10.0 6.0 2.0 5.5 9.4 14.6 2.2 3.7 8.7 9.3 1.1 5.5 8.7

jimthompson5910 (jim_thompson5910):

ok I couldn't find any calculator that could do everything in one step, but I did managed to find a correlation coefficient calculator

jimthompson5910 (jim_thompson5910):

manage*

jimthompson5910 (jim_thompson5910):

I found this: http://www.endmemo.com/statistics/cc.php

jimthompson5910 (jim_thompson5910):

the idea is this: for each cell, we're finding the correlation coefficient for the variables in the row and column headers for example, in the cell that is in the row that starts with x3 and is in the column x1, we are going to input the correlation coefficient for the two variables x3 and x1

jimthompson5910 (jim_thompson5910):

let corr(x,y) be a function that returns the correlation coefficient for the variables x and y because corr(x,y) = corr(y,x), this means that we don't need to do the upper triangular half, which is why there are no boxes here

OpenStudy (anonymous):

that sounds kinda confusing. I did find this example but it's not very helpful.

jimthompson5910 (jim_thompson5910):

I hate that. When they say "use technology", they're basically waving a magic wand to get things done and don't explain what's going on.

jimthompson5910 (jim_thompson5910):

I'm assuming you are (somewhat) familiar with correlation right?

OpenStudy (anonymous):

THAT'S WHAT I TOLD MY INSTRUCTOR! And yes i'm kinda familiar with that.

jimthompson5910 (jim_thompson5910):

but then again, doing this thing by hand will take forever, so I understand why they resort to "technology" (they fail to specify WHICH technology though)

jimthompson5910 (jim_thompson5910):

anyways, let's just focus on the first two columns x1 and x2

jimthompson5910 (jim_thompson5910):

of the original data set

jimthompson5910 (jim_thompson5910):

I'm going to use this calculator: http://www.endmemo.com/statistics/cc.php On that page, I'm going to paste in the first column x1 into the first big text input box on the left side Then I'm going to paste in the second column x2 into the big text input box on the right side Note: order doesn't matter and you can swap the two doing so will give you this

jimthompson5910 (jim_thompson5910):

what this calculator is doing is using the formula it shows at the bottom to calculate the correlation coefficient in this case (on the image I posted), it's calculating the correlation coefficient between x1 and x2

jimthompson5910 (jim_thompson5910):

That result of -0.24431755 gets rounded to -0.244, which is the answer that goes in the box where the x1 column and x2 row intersect

jimthompson5910 (jim_thompson5910):

hopefully all that makes sense

OpenStudy (anonymous):

kinda yah

jimthompson5910 (jim_thompson5910):

its definitely a lot to take in and process since correlation coefficients are a pain on their own

jimthompson5910 (jim_thompson5910):

I want you to use the calculator I posted and tell me what you get for the correlation coefficient between x1 and x3. This is so you get some practice using it and so I know if you're on the right track or not.

OpenStudy (anonymous):

jimthompson5910 (jim_thompson5910):

good

jimthompson5910 (jim_thompson5910):

that number (when rounded) goes in the cell that is in the x1 column, x3 row

OpenStudy (anonymous):

So -0.018?

jimthompson5910 (jim_thompson5910):

yep

jimthompson5910 (jim_thompson5910):

the rest of the cells are done the same way (just with different combos of data sets)

OpenStudy (anonymous):

so the next one would be x1 & y?

jimthompson5910 (jim_thompson5910):

yep

jimthompson5910 (jim_thompson5910):

so you can see why I had you copy/paste all that data having to type it all in again would be a pain

OpenStudy (anonymous):

i did have to type it all out again tho. lol

jimthompson5910 (jim_thompson5910):

oh why is that? lol what I did was have 4 groups of data on their own so I could easily copy/paste any column I wanted you should give it a try

jimthompson5910 (jim_thompson5910):

so that becomes -0.582

jimthompson5910 (jim_thompson5910):

and that's the answer for the cell in the x1 column, y row

OpenStudy (anonymous):

i typed it out here going down instead of across so when i tried to copy and past it does the whole row across. But now i do x2 & x3?

jimthompson5910 (jim_thompson5910):

i see, and yes, now you're doing x2 and x3

OpenStudy (anonymous):

jimthompson5910 (jim_thompson5910):

good, so it's 0.089 for the box in column x2, row x3

OpenStudy (anonymous):

jimthompson5910 (jim_thompson5910):

that's for x2 and y, good

OpenStudy (anonymous):

so 0.817?

jimthompson5910 (jim_thompson5910):

correct

OpenStudy (anonymous):

jimthompson5910 (jim_thompson5910):

good, so that is 0.199

jimthompson5910 (jim_thompson5910):

and that's the only box left: column x3, row y

OpenStudy (anonymous):

ok my math lab says the answers r right! now i have this part.

jimthompson5910 (jim_thompson5910):

let's hope so lol or else we'd have to find another calculator

jimthompson5910 (jim_thompson5910):

according to your example, multicollinearity exists when the correlation coefficient between two explanatory variables is either smaller than -0.7 or larger than 0.7

jimthompson5910 (jim_thompson5910):

so do you see any boxes that fit that description? if so, which one(s)?

OpenStudy (anonymous):

don't all of them fit that?

jimthompson5910 (jim_thompson5910):

how so

OpenStudy (anonymous):

ok well x1 & x2 is smaller,x1 & x2 is Smaller, x1 & y is smaller. Then x2 & x3 is smaller, x2 & y is larger & x3 & y is smaller. lol i think i'm reading that right.

jimthompson5910 (jim_thompson5910):

but which (if any) are either less than -0.7 or greater than 0.7 ?

OpenStudy (anonymous):

What?

OpenStudy (anonymous):

didn't i just answer that?

jimthompson5910 (jim_thompson5910):

you're on part b right now correct?

OpenStudy (anonymous):

no its still a part of a)

jimthompson5910 (jim_thompson5910):

i see, well only one box has a number that is larger than 0.7 what box am I referring to?

OpenStudy (anonymous):

x2 & y

jimthompson5910 (jim_thompson5910):

is y an explanatory variable?

OpenStudy (anonymous):

yes?

jimthompson5910 (jim_thompson5910):

no, y is actually a response variable the x1, x2, x3 are explanatory variables

OpenStudy (anonymous):

oh ok. so that means...?

jimthompson5910 (jim_thompson5910):

that means that there is no high correlation between any two pair of explanatory variables

jimthompson5910 (jim_thompson5910):

so no evidence of multicollinearity exists

OpenStudy (anonymous):

YAY! it said it's right! Now its part B

jimthompson5910 (jim_thompson5910):

yikes this is a long problem lol (imagine if we didn't have a calculator....)

OpenStudy (anonymous):

lol yah there's still 8 more parts to this question.

jimthompson5910 (jim_thompson5910):

wow i thought it was just a-d

OpenStudy (anonymous):

NoPe sadly not. Lol this is my final homework assignment.

jimthompson5910 (jim_thompson5910):

i gotcha, so they just wanna go all out then

OpenStudy (anonymous):

yah

jimthompson5910 (jim_thompson5910):

ok go here: http://www.xuru.org/rt/MLR.asp

jimthompson5910 (jim_thompson5910):

copy and paste this data set (as is) 6.7 2.8 2.5 11.0 3.9 2.6 5.7 11.0 1.8 2.4 7.8 10.6 5.1 2.3 7.1 10.3 2.7 2.5 5.9 10.3 8.4 2.9 8.6 10.7 14.0 2.3 9.2 10.0 6.0 2.0 5.5 9.4 14.6 2.2 3.7 8.7 9.3 1.1 5.5 8.7 into the text box, then hit calculate and show me what you get

OpenStudy (anonymous):

so like this?

jimthompson5910 (jim_thompson5910):

good

jimthompson5910 (jim_thompson5910):

what result did you get

OpenStudy (anonymous):

jimthompson5910 (jim_thompson5910):

getting the same

jimthompson5910 (jim_thompson5910):

now you have to do a bit of work to get the answers in the format they want

jimthompson5910 (jim_thompson5910):

not too much though

OpenStudy (anonymous):

ok what do i do?

jimthompson5910 (jim_thompson5910):

notice how the first box has NO x variable next to it

OpenStudy (anonymous):

yah i see that

jimthompson5910 (jim_thompson5910):

this means that this is the constant the constant of the result is 7.530451834 that rounds to 7.530 when rounded to 3 decimal places

jimthompson5910 (jim_thompson5910):

so 7.530 goes in the first box

OpenStudy (anonymous):

ok

jimthompson5910 (jim_thompson5910):

the next box is the coefficient for the x1 variable the result says -8.013546385·10^(-2) x1 but...they don't want the answer in scientific notation, so you have to convert it to standard notation to get -8.013546385·10^(-2) = -0.08013546385 then you round that to 3 decimal places to get: -0.080

jimthompson5910 (jim_thompson5910):

oh and nearly forgot, but they already supplied the negative out front of the box so the answer for the second box is 0.080

OpenStudy (anonymous):

ok

jimthompson5910 (jim_thompson5910):

see how I'm getting all this?

OpenStudy (anonymous):

yah

jimthompson5910 (jim_thompson5910):

ok great

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!