Is there a statistics library for PHP? [closed]

霸气de小男生 提交于 2019-11-30 01:02:21

问题


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.


回答1:


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().



来源:https://stackoverflow.com/questions/5118232/is-there-a-statistics-library-for-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!