Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a statistics library for PHP? [closed]

I need to find a polynomial regression line, and I'm using PHP - is there a library or 3rd part script that will do this for me? If it can do ANOVA as well that would be a bonus, but mainly, I need to find regression lines.

I don't know how to calculate a polynomial trend line, and I suspect it would be too difficult for me to learn how to do it myself, so if someone else has a script I'd like to use it. I would also be willing to use another program, that can be called from php (so command line only - no gui) but I would prefer to stick to php.

like image 581
Benubird Avatar asked Feb 25 '11 14:02

Benubird


1 Answers

I would also be willing to use another program, that can be called from php (so command line only - no gui) but I would prefer to stick to php.

I call R from my PHP webpages. RCurl is required. Once you've got R set up you can call your R scripts from PHP via curl().

like image 88
dnagirl Avatar answered Nov 13 '22 00:11

dnagirl