What is this?
This is an API that will perform a linear regression on data which you can import below.
How do I use it?
You can upload data in .csv or .tsv format. Your data should only have two rows, one for the dependent variable (on the top row) and another for your independent variable (on the bottom row). Any other rows will be ignored. Additionally, all of the values save those in the first column (the series names) should be numerical, and there should be the same number of values in each row.
Uploading the above data will tell you the correlation between age and glucose levels absent any other factors. If you don't have some CSV data handy, you can download some sample data here. It's a CSV of the (truncated) results of Karl Pearson's 1903 experiment comparing the heights of fathers to the heights of their sons. Original data to be found on Kaggle.
- Regression Coefficient:
- Regression Constant: