'OLS regression in javascript with t test

Couldn't find a package that computes multiple variable linear regression with t test statistics and p values

The dream is something like python statemodels.summary like this:

(The final aim is to use it as a bigquery js udf)

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source