Does anyone know how to construct a correlation matrix table?
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
ok I couldn't find any calculator that could do everything in one step, but I did managed to find a correlation coefficient calculator
manage*
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
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
that sounds kinda confusing. I did find this example but it's not very helpful.
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.
I'm assuming you are (somewhat) familiar with correlation right?
THAT'S WHAT I TOLD MY INSTRUCTOR! And yes i'm kinda familiar with that.
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)
anyways, let's just focus on the first two columns x1 and x2
of the original data set
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
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
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
hopefully all that makes sense
kinda yah
its definitely a lot to take in and process since correlation coefficients are a pain on their own
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.
good
that number (when rounded) goes in the cell that is in the x1 column, x3 row
So -0.018?
yep
the rest of the cells are done the same way (just with different combos of data sets)
so the next one would be x1 & y?
yep
so you can see why I had you copy/paste all that data having to type it all in again would be a pain
i did have to type it all out again tho. lol
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
so that becomes -0.582
and that's the answer for the cell in the x1 column, y row
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?
i see, and yes, now you're doing x2 and x3
good, so it's 0.089 for the box in column x2, row x3
that's for x2 and y, good
so 0.817?
correct
good, so that is 0.199
and that's the only box left: column x3, row y
ok my math lab says the answers r right! now i have this part.
let's hope so lol or else we'd have to find another calculator
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
so do you see any boxes that fit that description? if so, which one(s)?
don't all of them fit that?
how so
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.
but which (if any) are either less than -0.7 or greater than 0.7 ?
What?
didn't i just answer that?
you're on part b right now correct?
no its still a part of a)
i see, well only one box has a number that is larger than 0.7 what box am I referring to?
x2 & y
is y an explanatory variable?
yes?
no, y is actually a response variable the x1, x2, x3 are explanatory variables
oh ok. so that means...?
that means that there is no high correlation between any two pair of explanatory variables
so no evidence of multicollinearity exists
YAY! it said it's right! Now its part B
yikes this is a long problem lol (imagine if we didn't have a calculator....)
lol yah there's still 8 more parts to this question.
wow i thought it was just a-d
NoPe sadly not. Lol this is my final homework assignment.
i gotcha, so they just wanna go all out then
yah
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
so like this?
good
what result did you get
getting the same
now you have to do a bit of work to get the answers in the format they want
not too much though
ok what do i do?
notice how the first box has NO x variable next to it
yah i see that
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
so 7.530 goes in the first box
ok
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
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
ok
see how I'm getting all this?
yah
ok great
Join our real-time social learning platform and learn together with your friends!