- #1
roam
- 1,271
- 12
Homework Statement
I have made a number of measurements of current against optical power for a given laser. As shown below, my measurements only go up to 8 amps. I am trying to use the data to predict the output power at 9 amps.
In the ideal case, the behaviour is expected to be linear, but here higher order polynomials fit the data better.
I would like to know if there is a way to find a proper balance between underfitting and overfitting these data. Also, I want to know if there are better methods to extrapolate this data point.
Homework Equations
The Attempt at a Solution
Clearly, the two models give different predictions of what the power would be at 9 amps (the difference being ~ 600 mW).
Here are the corresponding r2 values for the various fittings:
$$
\begin{array}{c|c}
\text{degree} & r^{2}\\
\hline 1 & 0.9977\\
2 & 0.9998\\
3 & 1.0000\\
4 & 1.0000
\end{array}
$$
Is it possible to decide which model to use based on these values? Can you determine if the flexibility of the model is too high so that it's modeling noise?
Any suggestions is greatly appreciated.