Using least square to find the perfect fit of a figure

Click For Summary
SUMMARY

The discussion focuses on using the least squares method to achieve a better fit for a specific figure in an engineering project. The user is tasked with improving the fit of "figure 2b" and is provided with constants such as d1, d2, and ca2+. Suggestions include exploring alternative functions like a shifted arctan, logistic function, or error function to address potential issues with the data points, which may be ill-defined or lacking error bars.

PREREQUISITES
  • Understanding of least squares fitting techniques
  • Familiarity with mathematical functions such as arctan and logistic functions
  • Basic knowledge of error analysis in data sets
  • Experience with graphing tools or software for data visualization
NEXT STEPS
  • Research the implementation of least squares fitting in Python using libraries like NumPy or SciPy
  • Learn about the characteristics and applications of logistic functions in data modeling
  • Explore the use of error functions in statistical analysis
  • Investigate methods for assessing data quality and identifying ill-defined data points
USEFUL FOR

Engineering students, data analysts, and researchers looking to improve data fitting techniques and enhance the accuracy of their graphical representations.

Mdhiggenz
Messages
324
Reaction score
1

Homework Statement


Hello all,

So I am working on my engineering project, and my professor told us to play with the graphs,and try to find something interesting about them.

So what I want to do is form a better fit for the figure below. " figure 2b" , and find out why the choose not to do a better fit.
However I am given all the constants " d1,d2,ca2+ " so I am not sure how to implement least squares in this situation.

Help would be appreciated

5cj8le.png



Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
Those data points look ill, or there are error bars missing. I would try something like a (shifted) arctan, a logistic function or the error function.
 

Similar threads

Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
11K
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K