Is My Tri-Quadratic Curve Fit Equation Accurate Enough?

  • Context: Undergrad 
  • Thread starter Thread starter mattskie
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on the challenges of implementing a tri-quadratic curve fit using Excel's LINEST function. The user successfully created a bi-quadratic equation but encountered significant accuracy issues with the tri-quadratic equation of the form x^2 + xy + xz + y^2 + yz + z^2 + b. Initial accuracy was observed with early data points, but performance deteriorated with subsequent data. The conversation highlights the importance of understanding data formats and the role of the parameter b in curve fitting.

PREREQUISITES
  • Familiarity with Excel's LINEST function
  • Understanding of linear regression concepts
  • Knowledge of curve fitting techniques
  • Basic algebra involving polynomial equations
NEXT STEPS
  • Research advanced polynomial regression techniques in Excel
  • Learn about data formatting for multi-variable regression analysis
  • Explore alternative curve fitting tools like Python's NumPy and SciPy libraries
  • Study the mathematical foundations of tri-quadratic equations
USEFUL FOR

Data analysts, statisticians, and researchers involved in curve fitting and regression analysis, particularly those using Excel for modeling complex relationships between multiple variables.

mattskie
Messages
10
Reaction score
0
Hey,

So I am trying to do a tri-quadratic curve fit (linear regression) in excel. I have successfully completed a bi-quadratic, and it is of the form:
x+x^2+y+y^2+x*y+b (b is calculated by LINEST in excel)

My attempt at a tri-linear was:
x^2+x*y+x*z+y^2+y*z+z^2+b (b is calculated by LINEST in excel)

This equation was fairly accurate for my first few data points in the 4-curve family of curves I am attempting to curve fit, but after that the accuracy plummets.

I am assuming I am on the right track with this, as I attained some initial accuracy, but this equation isn't 100% because I can see it failing. Any/all help appreciated.

Note: I attempted to use the equation on http://www.rmi.ge/~kade/LecturesT.Ka...adraticLEC.pdf
but it gave an extremely erroneous solution.
 
Physics news on Phys.org
You should describe what you are trying to do. To do a cruve fit suggests you have some sort of data. You haven't explained the format of the data or how your notation relates to it. For example, it isn't clear whether your data is triples of the form (x,y,z). If it is, then why would you expect to fit a curve to such data by picking a value for the single parameter b ?
 
It doesn't appear that you are familiar with the way the LINEST function works, b ends up being the error +/- to fit the curve correctly. Much in the same way as bi-linear provides a b. I made the variables x,y,z for simplicities sake. If you need the data to provide the equation of a tri-quadratic equation (which you shouldn't, there should be an equation much like the bi-linear x+x^2+y+y^2+xy+b)

http://tinypic.com/view.php?pic=2uzxvdt&s=8 <---graph
http://tinypic.com/view.php?pic=2u3wsqt&s=8 <---data
 

Similar threads

Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K