How can I accurately set up a tri-quadratic equation for curve fitting in Excel?

  • Context: Undergrad 
  • Thread starter Thread starter mattskie
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
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.Kadeishvili/MathEconomics/Term3/Week3QuadraticLEC.pdf
but it gave an extremely erroneous solution.
 
Physics news on Phys.org