Describing the goodness of fit of a model

  • Thread starter Thread starter McKendrigo
  • Start date Start date
  • Tags Tags
    Fit Model
AI Thread Summary
The discussion focuses on quantifying the "goodness of fit" between measured and predicted frequency responses of an LED, using a specific equation for amplitude. The R-squared statistic is mentioned as a common measure, but its applicability is questioned due to the absence of a regression model. Instead, participants suggest using maximum absolute error and root mean square deviation (RMSD) to assess the agreement between the predicted and measured curves. The RMSD approach involves calculating the squared differences between predicted and actual values, averaging them, and taking the square root. Overall, the conversation emphasizes the need for effective metrics to evaluate model accuracy in this context.
McKendrigo
Messages
25
Reaction score
0
Describing the "goodness of fit" of a model

Hi there,

I would like to ask advice on an appropriate way to define how well a measurement 'matches up' to the predicted response. In other words, I have a set of data for bandwidth measurement for an LED (amplitude vs. frequency). I also have a predicted response, from a simple equation:

M(f) = \sqrt{3}/2* \pi *\tau *f

Where M(f) is the amplitude at a given frequency, and Tau is the LED time constant.

I'd like to know a good way to quantify how well the curve of measured values matches the curve of predicted values, so that I can quantify the 'goodness' of the model depending on different Tau values and so on.

Any guidance would be appreciated!
 
Physics news on Phys.org


Can you post your model? What are the variables, and what are the parameters?

[Edit: the "usual" goodness-of-fit measure is the R-squared statistic, the ratio of variance explained by the model to the total variance of the "left-hand side" variable.]
 
Last edited:


The classical R^2 is not useful in situations where there is no intercept term. However, I don't get the sense that you did a regression to get this equation? If this is not a regression problem, you might look at the maximum absolute error between your predictions and actual values.
What other information can you give about this problem?
 


Hi guys,

Thanks for your replies, sorry for taking so long to get back to you!

I don't think I was totally clear with my question - I have an equation which describes the frequency response of a light-emitting material (shown above). A value for Tau has been found for this material, so using the equation I can predict the frequency response of the material.

I have separately measured the actual frequency response of the material. I am not fitting the equation to the data, in fact, I am merely plotting the measured and predicted responses to see how well they agree. In other words, I'd like a way of quantifying how well the 'guess curve' and the 'measured curve' agree. At the moment, the error between the predicted and measured -3dB points taken from the curves is the best way I can think of quantifying the agreement.

Specifying the maximum absolute error sounds like a sensible approach.
 


Perhaps you can use the root mean square deviation (RMSD) between your model and the data. That is, for every data point, take the difference between that data point and its expected value from the model and square that difference. Then average these squares of differences across the data set and take the square root of the average.

Alternatively, for a dimensionless quantity, you could divide the differences by the observed measurement prior to squaring.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...

Similar threads

Back
Top