sloisel / numeric

Numerical analysis in Javascript
http://www.numericjs.com/
Other
1.42k stars 176 forks source link

Weighted Linear Regression #47

Open FasterPHP opened 10 years ago

FasterPHP commented 10 years ago

Hi Sébastien

I'm trying to find a javascript library for doing weighted linear regression, but so far haven't had any luck. Do you know where I could find a solution by any chance?

Thanks

Marcus

sloisel commented 10 years ago

Hi Marcus,

The numeric.js library has linear algebra in it, including what you would need for least-squares (which is probably what you need in the end) but there is no specialized regression function.

Thanks,

On Mon, Oct 21, 2013 at 1:39 AM, marcusdon notifications@github.com wrote:

Hi Sébastien

I'm trying to find a javascript library for doing weighted linear regression, but so far haven't had any luck. Do you know where I could find a solution by any chance?

Thanks

Marcus

— Reply to this email directly or view it on GitHubhttps://github.com/sloisel/numeric/issues/47 .

Sébastien Loisel Department of Mathematics Heriot-Watt University Riccarton EH14 4AS United Kingdom web: http://www.ma.hw.ac.uk/~loisel/ email: S.Loisel at hw.ac.uk phone: +44 131 451 3234 fax: +44 131 451 3249

techstep commented 10 years ago

I could take a shot at it, if it hasn't yet been done. (I'm interested in getting into numerical methods work for fun, and improving my JS skills for work, so this fits in nicely.)