TEST TOMORROW PLEASE HELP In linear regression, is r the correlation coefficient, or r^2 the correlation coefficient? Also, how would you describe how strong or weak the correlation is? For example, if the correlation was -0.97, would the correlation be a strong negative or positive correlation? Do you need the negative or positive in there?
r is the correlation coefficient r^2 is the coefficient of determination
if r is close to either +1 or -1, then it has strong linear correlation if r is close to 0, then it has weak or no linear correlation
if r is positive, then it has positive correlation if r is close to +1, then it has positive linear correlation same applies for -1 (just replace positive with negative)
So if r is -0.97, the it would be a strong linear negative correlation? I also had one more question, do you mind helping me out with that one as well?
yes correct and go ahead
I have this tabel: Wind Speed: 0, 6, 9, 12, 17, 20, 22 Temp.: 32, 28, 22, 18, 16, 10, 3 I need to find what the temp. if the wind speed is 30. How would I do that?
sounds like you need to find the equation of the linear regression line
do you know how to do that?
The equation is y=33.5-1.2x
ok let me check
Alright
I'm getting y = -1.23x + 33.56, so that's pretty close to what you have
now you plug in x = 30
Oops, I must have switched the numbers lol. Sorry. Ok, so I plug in 30 and I got -3.34.
me too
So that would be the answer right?
yes it would, it is an approximation/estimation though
because the regression line isn't perfect
Wait hold on.
When I go to the LinReg screen or whatever, the equation y=a+bx shows up, and a is equal to 33.56 and b is equal to .94. So wouldn't I be right then? I mean, wouldn't you have switched them around then?
make sure you have your data typed in correctly
the slope should be negative
Idk what I'm doing wrong.
your x data is in L1 right?
X meaning wind speed right?
yes correct
that is L1
L2 is the temp
That's what I did.
you should have this for L1 and L2
I do have that lol.
Maybe try reading your equation and all that again?
I'm getting this when i do LinReg
Hmmmmmm. I wonder what's happening.
which matches up with what geogebra is saying, which is y = -1.23x + 33.56
Ok so then something is probs wrong with my work.
btw, a+bx and b+ax are just two different versions of the same thing really
Wait so did I get the right equation then? And btw, when you got to the LinReg(ax+b) screen, did you go down to calculate and hit enter and then get your information?
yes that's how I got that screen
and no, your equation is off
33.56 is correct but the 0.94 is wrong
Jim need your help
ok one sec
I hit calculate and I'm still getting the same thing :( WAIT! Lol. The first equation I got was y=33.5-1.2x. That's the same as y = -1.23x + 33.56, well close to it anyways. I think. Yeah it was the same thing right?
yeah pretty close
so it's rounding somehow, but it looks right now
Okay :) Thank you so much! I appreciate your time and help :)
you're welcome
Join our real-time social learning platform and learn together with your friends!