I have the following overdetermined system of equations (3 unknowns, 9 equations):
Is there a way to directly find the least squares solution in Excel given the above data? I've been reading about functions such as LINEST however I can't seem to map what I have above to the terminology used in the function description and suspect it's just an issue of my not fully understanding what I'm working with.
VBA Code:
16*a + 2*b + 0*c = 14
29*a + 7*b + 0*c = 25
38*a + 7*b + 0*c = 33
5*a + 20*b + 1*c = 5
8*a + 35*b + 2*c = 9
0*a + 5*b + 41*c = 4
0*a + 4*b + 30*c = 3
0*a + 5*b + 41*c = 4
0*a + 2*b + 23*c = 2
Is there a way to directly find the least squares solution in Excel given the above data? I've been reading about functions such as LINEST however I can't seem to map what I have above to the terminology used in the function description and suspect it's just an issue of my not fully understanding what I'm working with.