regression - LINEST function in Microsoft excel; curve fitting tri-quadratic equation -
regression - LINEST function in Microsoft excel; curve fitting tri-quadratic equation -
im trying curve fit first graph in set of 4 using linest. curve needs graph of 3, possible 4, variables: suction pressure level (sp), od temp, id wb temp, , possible id db temp (other graphs didnt need db work, may not needed here). isnt simple linest, tri- or quad-quadratic linest.
attempted: 2nd, 3rd grade linest fits using corresponding x,y values first graph.
how do this?
ok if have info in table format can utilize next formula
=linest(knownys, knownxs^{1, 2, 3})
when come in select 4 cells across, set in formula , come in ctrl+shift+enter. values returns a1,a2,a3, , b going left right if formula has next equation: y=a1*x^3+a2*x^2+a3*x+b.
another alternative fit curves using chart trendline , can exponents there.
source
edit
based on edits suggest find improve statistical software excel 1 alternative utilize solver. set bunch of cells constants wanted a1,a2,b1,b2 etc.
then have columns independent variables (od temp, id wb temp, etc) column known ys, column calculated ys , error column (known y - calcy)^2 sum error column , run solver minimize sum of error.
calc y =a1*odtemp^2+a2*odtemp+b1*wbtemp^2+b2*wbtemp+c
or whatever form formula needs fit.
excel regression
Comments
Post a Comment