Thursday, 10 October 2013

Linear Regression Calculator

Given that there is a bug in SciStatCalc's linear regression calculator (it basically does not work), I have as compensation implemented the linear regression calculator in the web app below. Note that the calculator yields the coefficient of determination and several sum of squares type results, in addition to the slope/gradient $a$ and intercept $b$.

Please enter X and Y values as comma separated numbers in the fields below, for model $Y=aX+b$. X and Y must have the same number of samples. Alternatively, you can read in a two-column CSV file by pressing the choose file button below. To reload the same file after clearing the text areas, you would need to reload this webpage.

At the bottom of this post is a graph which plots the Y value against the X value as points, while the linear interpolation result is in a solid line. This illustrates any potential relationship between X and Y.

X values: Y values:

a (Slope):
b (Intercept):
Total Sum of Squares:
Sum of Squared Error:
Residual Sum of Squares:
Coefficient of Determination:

Plot of Y values against X values
Y values
X values

1 comment:

  1. Good luck to anyone reading this true life story of mine, I Was Diagnosed With type 2 Herpes Virus Last year, And I Was Looking For Solution To Be Cured Luckily I Saw Testimonies On How Dr OYAGU Cure Herpes Virus I Decided To Contact Dr OYAGU I Contacted Him He Prepared A Herbal Medicine Portion And Sent It To Me, I Started The Herbal Medicine For My Health. He Gave Me Step By Step Instructions On How To Apply It, When I Applied It As Instructed, I Was Cured Of This Deadly Herpes Within 2 weeks, I Am Now Herpes Negative. My Brother And Sister I No That There Are So Many People That Have The Same Herpes Virus Please contact Dr OYAGU To Help You Too, And Help Me To Thank Dr OYAGU For Cure Me, I’m Cured By Dr. OYAGU Herbal Medicine, His Contact or visit his website Or Cell Whatsapp Number +2348101755322 thank you