Multiple Linear

This program will fit multiple independent variables using a linear equation of the form Y=C+C1*X1+C2*X2+...+Cn*Xn . Of course now some brave soul needs to finish off this section with the program “Multiple Independent Variable Polynomial Regression.’ I know their are people out there that can do it on their lunch break, ‘cause I’ve worked with some :-)

Downloads:

Basic program (liberty basic) - mlinreg.bas

 

Test case (embedded data):

Multiple Independent Variable Linear Regression
Using the form Y=C+C1*X1+C2*X2+...+Cn*Xn

Number of independent variables? 2
Number of points to input? 8
Use keyboard (k) or read from data (d)? d


Y=C+C1*X1+C2*X2+...+Cn*Xn
C  = -15.7021277
C1 = 3.68085106
C2 = 0.94326241

Coef. of Determination: 0.71569736
Coef. mult. correlation: 0.84598898
Standard Error of est. : 6.42887988

Interpolation (enter x1=q to end program)

x1= 7
x2= 51
Y= 58.1702128

x1= q