Reading a csv File • Basics • Features
This library performs linear regression in base Racket. More precisely, it obtains the coefficients of regression, calculates the adjusted coefficient of correlation and lets users predict an outcome given an observation and coefficients. This package works for multivariate covariates.
The Racket package can also be viewed here.
An example is provided in the example
folder.
The csv-transform
function reads a csv file as input and returns a list with the first element being the observation values (
The coefficients
The adjusted Coefficient of Regression, denoted
Note that if we consider the univariate case, that is
What this package accomplishes/wants to accomplish in the future
- Read user input for csv file
- Obtain Coefficients
- Perform Predictions given Coefficients and new data
- Calcualte
$R^2_{\text{a}}$ - Get Confidence Intervals for each coefficient
- Perform ANOVA