반응형

linear a =INDEX(LINEST(y-values, x-values, 1, 0), 1)
        b =INDEX(LINEST(y-values, x-values, 1, 0), 2)

 

logarithmic a =INDEX(LINEST(y-values, LN(x-values), 1, 0),1 )
                b =INDEX(LINEST(y-values, LN(x-values) , 1, 0), 2)

 

polynomial (e.g., order 3)  a =INDEX(LINEST(y-values, x-values^{1, 2, 3}, 1, 0), 1)
                                   b =INDEX(LINEST(y-values, x-values^{1, 2, 3}, 1, 0), 2)
                                   c =INDEX(LINEST(y-values, x-values^{1, 2, 3}, 1 , 0) ,3)
                                   d =INDEX(LINEST(y-values, x-values^{1, 2, 3}, 1 , 0) ,4)

power a =EXP(INDEX(LINEST(LN(y-values), LN(x-values), 1, 0), 2))
         b =INDEX(LINEST(LN(y-values), LN(x-values), 1, 0), 1)

 

exponential a =EXP(INDEX(LINEST(LN(y-values),x-values, 1, 0), 2))
                b =INDEX( LINEST(LN(y-values), x -values, 1, 0), 1)

반응형

+ Recent posts