- #1
nitsuj
- 1,389
- 98
It's been a long time since I've done (least squares?) multiple regression, is the calculation below correct?
y data points
6,054
7,200
6,243
5,536
4,879
y hat = 5,984
x data points
414
351
425
372
328
x hat = 378
Sum of xy's residuals = 39,643
Sum of (x-x hat) squared = 6,770
slope = 5.86
intercept = 5,984 - (5.86*378)
intercept = 3,769
y = 3,769 + (5.86*x)
is that right?
So for an x value of 400, it is
y = 3,769 + (5.86*400)
y = 3,769 + 2,344
y = 6,113
is that right?
y data points
6,054
7,200
6,243
5,536
4,879
y hat = 5,984
x data points
414
351
425
372
328
x hat = 378
Sum of xy's residuals = 39,643
Sum of (x-x hat) squared = 6,770
slope = 5.86
intercept = 5,984 - (5.86*378)
intercept = 3,769
y = 3,769 + (5.86*x)
is that right?
So for an x value of 400, it is
y = 3,769 + (5.86*400)
y = 3,769 + 2,344
y = 6,113
is that right?