Why Do Different Least Square Fit Methods Yield Different Results?

  • Context: Undergrad 
  • Thread starter Thread starter pack2themoon
  • Start date Start date
  • Tags Tags
    Fit Square
Click For Summary
SUMMARY

This discussion centers on the differences in results obtained from two least squares fitting methods applied to experimental data sets. The first method involves performing a linear least squares fit on the logarithm of the dependent variable (log(yi)), while the second method directly minimizes the sum of squared differences (sigma (yi-y)^2) in the linear scale. The results indicate that the first method provides a better fit on a logarithmic scale, whereas the second method is more accurate on a linear scale. The choice of method should be guided by the underlying physics of the data being analyzed.

PREREQUISITES
  • Understanding of least squares fitting techniques
  • Familiarity with logarithmic transformations in data analysis
  • Knowledge of experimental data interpretation
  • Basic statistical concepts related to model fitting
NEXT STEPS
  • Research "Linear Least Squares Fitting" techniques and applications
  • Explore "Logarithmic Data Transformations" in statistical modeling
  • Study the implications of "Exponential Models" in physical sciences
  • Investigate "Goodness of Fit" metrics for model evaluation
USEFUL FOR

Data analysts, physicists, and researchers involved in experimental data modeling and fitting processes.

pack2themoon
Messages
1
Reaction score
0
Hi everyone, very excited to be here and this my first post.

I have a question about data fitting by using least square fit, and the problem is:
I have a experimental data set(xi, yi), and I want to fit it to single exponential y,
now i tried two ways:
1. do linear least square fit to (xi, log(yi))
2. directly search minimal for sigma (yi-y)^2

The resulted fittings are different, the 1st one only looks fit on log scale, and the 2nd only looks fit on linear scale.

Can you give me any hint what is the root of the problem? and which way makes physical sense?

Thank you!
 
Physics news on Phys.org
Which is better depends on the underlying physics.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
8
Views
2K
Replies
24
Views
3K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K