Describing the goodness of fit of a model

  • Thread starter McKendrigo
  • Start date
  • Tags
    Fit Model
In summary, the conversation is about finding a way to quantify the goodness of fit between a predicted frequency response curve and a measured frequency response curve for a light-emitting material. Suggestions for quantifying the agreement include using the R-squared statistic, maximum absolute error, and root mean square deviation.
  • #1
McKendrigo
26
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:

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

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
  • #2


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:
  • #3


The classical [tex] R^2 [/tex] 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?
 
  • #4


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.
 
  • #5


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.
 

What is the goodness of fit of a model?

The goodness of fit of a model is a statistical measure that evaluates how well the model fits the observed data. It determines how closely the predicted values from the model match the actual values in the data set.

How is the goodness of fit calculated?

The most commonly used measure of goodness of fit is the coefficient of determination (R-squared). This is calculated by taking the squared correlation coefficient between the predicted values and the actual values. Other measures include the root mean squared error (RMSE) and the mean absolute error (MAE).

What is considered a good fit for a model?

A good fit for a model is typically indicated by a high R-squared value, close to 1. This means that the model explains a large portion of the variability in the data. However, the interpretation of what constitutes a good fit may vary depending on the field of study and the specific research question being addressed.

What are some limitations of using goodness of fit to evaluate a model?

Goodness of fit measures do not provide information about the accuracy of the predictions made by the model. Additionally, they do not account for overfitting, which occurs when a model fits the current data well but fails to make accurate predictions on new data. It is important to use multiple measures and to carefully interpret the results when evaluating the goodness of fit of a model.

How can the goodness of fit of a model be improved?

The goodness of fit of a model can be improved by using more complex models, incorporating additional variables, or refining the model parameters. It is also important to ensure that the model is not overfitting the data, as this can lead to a high goodness of fit value but poor predictive ability.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
949
  • Set Theory, Logic, Probability, Statistics
Replies
12
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
28
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • High Energy, Nuclear, Particle Physics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
7K
Back
Top