Mathematica Curve Fitting With Uncertainties

Click For Summary
SUMMARY

This discussion addresses the challenge of fitting a nonlinear model to data points in Mathematica while incorporating uncertainties in both x and y values. Users can utilize the Weights command to account for y uncertainties, but incorporating x uncertainties requires additional techniques. The concept of "errors in variables" is essential for effectively managing these uncertainties during curve fitting. The provided link to Wavemetrics offers further insights into this topic.

PREREQUISITES
  • Familiarity with Mathematica for data analysis
  • Understanding of nonlinear curve fitting techniques
  • Knowledge of the Weights command in Mathematica
  • Concept of "errors in variables" in statistical modeling
NEXT STEPS
  • Research "errors in variables" in statistical analysis
  • Explore advanced features of Mathematica for nonlinear fitting
  • Learn about incorporating x uncertainties in curve fitting
  • Review the Wavemetrics guide on curve fitting with uncertainties
USEFUL FOR

Data scientists, statisticians, and researchers involved in nonlinear modeling and curve fitting who need to account for uncertainties in both independent and dependent variables.

Screwdriver
Messages
125
Reaction score
0
I have a set of data points \{\{x_1, y_1\}, \{x_2, y_2\} ... \} each with an uncertainty \{\{dx_1, dy_1,\}, \{dx_2, dy_2\} ...\}. Is there any way of fitting a nonlinear model to the data that incorporates the uncertainties on both x and y? I know that you can use the Weights command to incorporate the uncertainties on the y values, but I don't know how to get the x uncertainties in there as well.
 
Physics news on Phys.org
Screwdriver said:
I have a set of data points \{\{x_1, y_1\}, \{x_2, y_2\} ... \} each with an uncertainty \{\{dx_1, dy_1,\}, \{dx_2, dy_2\} ...\}. Is there any way of fitting a nonlinear model to the data that incorporates the uncertainties on both x and y? I know that you can use the Weights command to incorporate the uncertainties on the y values, but I don't know how to get the x uncertainties in there as well.

You need to read up on "errors in variables":

http://www.wavemetrics.com/products/igorpro/dataanalysis/curvefitting/errorsinvariables.htm
 

Similar threads

  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
24
Views
3K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K