LINEST, LOGEST, GROWTH or TREND??

  • Thread starter Thread starter NlCO
  • Start date Start date
N

NlCO

Hi all, I need to get the R2 of a formula like this

f(t) = a + b*c^t

I've tried with LINEST(Range Y,LN(Range X),,TRUE) then the array thre
cells down and it should appear, but the numbers I get applies onl
to:

f(t) = b*c^t

Anybody knows how to get the real value or the r2 in any other way?

Thanks NlC
 
You have not said what is known and what must be estimated here. Based
on getting a result using your LINEST formula, I assume that c is known
and a,b, & t must be estimated. That would make the problem nonlinear
in the unknowns. Excel has no functionality to natively fit such
functions. You could use Solver to approximately minimize the sum of
squared deviations by changing trial values of a,b, & t.

Once you have values for a,b, & t, R2 would be
=DEVSQ(a+b*c_range^t)/DEVSQ(y_range)
which must be array entered (Ctrl+Shift+Enter) because of the
calculation in the numerator.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top