Exponential Regression

This program attempts to fit data to a curve of form, Y=Ce^(B*X), where e is the natural logarithic base. Think multiplication of cells, radioactive decay, etc.

Downloads:

Basic program  (liverty basic) - expreg.bas

 

Test case:

Exponential Regression

number of known points? 7

x(1)=  0
y(1)=  25

x(2)=  1
y(2)=  38

x(3)=  2
y(3)=  58

x(4)=  3
y(4)=  89

x(5)=  4
y(5)=  135

x(6)=  5
y(6)=  206

x(7)=  6
y(7)=  315

f(x)=24.9616634e^(0.42237508*x)

Coeff. of Determination (r^2) = 0.99999355
Coeff. of Correlation (r2)^.5 = 0.99999678
Standard error (k/(n-2))^.5 = 0.25381714e-2


Interpolation (enter x=q to end program) x= 7
y= 480.086713

Interpolation (enter x=q to end program) x= q