Assuming you arithmatic is correct this is OK, you have a small negativeOriginally Posted by Jimmy23
A negative correlation means larger x's generaly correspond to smaller y's,
but in this case it is not significant because the absolute value of the
correlation coefficient is so small. Attached is a scatter diagram of this
data, with the regression line which has a small negative slope but as you
can see this is not a good predictor of length of stay.
Note: it is always worthwhile constructing a scatter plot of the data.
You don't say what the 10.92 is, but I guess it must be the constant inThe other part of the question is to find the least squares regression line. Using all of my numbers, I get 10.92 I think I did that right, but I don't know if the numbers I used to get it were correct. I'm sorry I know this is a long problem, but any help would be great. Thanks!
the regressions line. This looks OK-ish, in the attachment you will see that
excel gives a value of 10.65, but this may differ from your answer either
because of an error in your calculation (or excels, its not unknown) or
because you are using slightly differernt forms of the regressions equations.