Describing the goodness of fit of a model

  • Context: Graduate 
  • Thread starter Thread starter McKendrigo
  • Start date Start date
  • Tags Tags
    Fit Model
Click For Summary

Discussion Overview

The discussion centers on how to quantify the "goodness of fit" of a model in relation to measured data for bandwidth measurements of an LED. Participants explore various statistical methods to assess how well the predicted response aligns with the actual measurements, focusing on the context of frequency response and error quantification.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks advice on quantifying the fit of a model to measured data, specifically for an LED's frequency response described by a given equation.
  • Another participant suggests posting the model details, including variables and parameters, and mentions the R-squared statistic as a common measure of goodness of fit.
  • A different participant notes that R-squared may not be useful without an intercept term and questions whether the equation was derived from a regression analysis.
  • The original poster clarifies that they are not fitting the equation to the data but rather comparing the predicted and measured responses directly.
  • One participant proposes using the maximum absolute error between predictions and actual values as a measure of agreement.
  • Another participant suggests the root mean square deviation (RMSD) as a potential method for quantifying the fit, detailing the calculation process.
  • Additionally, the option of normalizing the differences by the observed measurements before squaring is mentioned as a way to obtain a dimensionless quantity.

Areas of Agreement / Disagreement

Participants express various methods for quantifying goodness of fit, but there is no consensus on a single approach. Different perspectives on the applicability of R-squared and the suitability of RMSD are presented, indicating ongoing exploration and debate.

Contextual Notes

The discussion does not resolve the appropriateness of the suggested methods, and limitations regarding the assumptions behind each statistical measure are not fully addressed.

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.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
9K
  • · Replies 7 ·
Replies
7
Views
8K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K