Geometric Regression

Fits data to a standard geometric curve of the form Y=C*X^k (think volume and pressure of a gas, among others).

Downloads:

Basic program (liberty basic) - georeg.bas

 

Test Case:

Geometric Regression

number of known points? 6

x(1)=  56.1
y(1)=  57

x(2)=  60.7
y(2)=  51

x(3)=  73.2
y(3)=  39.2

x(4)=  88.3
y(4)=  30.2

x(5)=  120.1
y(5)=  19.6

x(6)=  187.5
y(6)=  10.5

f(x)=16103.69*x^-1.40155058

Coeff. of Determination (r^2) = 0.99999883
Coeff. of Correlation (r2)^.5 = 0.99999942
Standard error (k/(n-2))^.5 = 0.77342633e-3


Interpolation (enter x=q to end program) x= 90
y= 29.3734983

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