This is a bit more of a statistics problem than Excel problem, but thought I would give this forum another try since it worked so well in the past.
In Excel I am trying to find the coefficients for a quadratic equation that best fits a set of data. After some incredibly helpful advice from this forum several months ago I was able to solve this conundrum with the LINEST function in Excel (thanks pgc01!!).
The new problem is that I am trying to solve for the coefficients of a WEIGHTED quadratic equation. I need to find the coefficients (a, b, and c in the typical y = ax^2 + bx + c) for a set of data when the calibration is weighted by the inverse of concentration (1/x). I have managed this for a linear equation thanks to a post I found through a lot of searching (http://answers.google.com/answers/threadview/id/761806.html).
However I am stuck when trying to apply this to a quadratic equation. I have also been unsuccessful in trying to find the r^2 value for both the weighted linear and weighted quadratic curve.
If anyone has some idea of how to solve for these variables I’d be extremely grateful. If I have not explained something clearly or some sample data is needed, please just ask.
Thanks in advance!
In Excel I am trying to find the coefficients for a quadratic equation that best fits a set of data. After some incredibly helpful advice from this forum several months ago I was able to solve this conundrum with the LINEST function in Excel (thanks pgc01!!).
The new problem is that I am trying to solve for the coefficients of a WEIGHTED quadratic equation. I need to find the coefficients (a, b, and c in the typical y = ax^2 + bx + c) for a set of data when the calibration is weighted by the inverse of concentration (1/x). I have managed this for a linear equation thanks to a post I found through a lot of searching (http://answers.google.com/answers/threadview/id/761806.html).
However I am stuck when trying to apply this to a quadratic equation. I have also been unsuccessful in trying to find the r^2 value for both the weighted linear and weighted quadratic curve.
If anyone has some idea of how to solve for these variables I’d be extremely grateful. If I have not explained something clearly or some sample data is needed, please just ask.
Thanks in advance!