linregress
A Rust library providing an easy to use implementation of ordinary least squared linear regression with some basic statistics.
Documentation
License
This project is licensed under the MIT License. See LICENSE-MIT for details.
Third party software
The special functions module contains functions that are based on the C implementation in the Cephes library. They are considered a derivative of the Cephes library that is compatibly licensed. See LICENSE-THIRD-PARTY for details.
Example
use FormulaRegressionBuilder;
let y = vec!;
let x1 = vec!;
let x2 = vec!;
let x3 = vec!;
let data = vec!;
let formula = "Y ~ X1 + X2 + X3";
let model = new
.data
.formula
.fit?;
let parameters = model.parameters;
let standard_errors = model.se;
let pvalues = model.pvalues;
assert_eq!;
assert_eq!;
assert_eq!;