Hi all,
1) I have a set of x data with no noise, a set of y data with noise, and measurement errors associated with the y data. It is known apriori that the fit is linear, y = m*x + b. I wish to calculate the R^2 (i.e. coefficient of determination), residual sum of squares, uncertainty in slope, and uncertainty in intercept for this set of data.
2) I know that the LINEST function can do this relatively easily. However, the LINEST function seems to only work when the y data has no measurement errors.
3) Is there a way to calculate the above mentioned parameters in Excel when there are measurement errors in the y data?
4) Example of data (the linear fit for this data would be y = x + 6 if there were no noise in the y data):
x y Measurement Error in y
0 6.08869 11.2937
1 6.46029 1.82303
2 7.04172 9.16457
3 8.7266 16.0916
4 10 17.6697
5 10.5832 9.8809
Bookmarks