是否有PHP的统计资料库? [英] Is there a statistics library for PHP?

查看:77
本文介绍了是否有PHP的统计资料库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到一个多项式回归线,并且我正在使用PHP-是否有库或第三部分脚本会为我做这件事?如果它也可以执行ANOVA,那将是一个好处,但主要是,我需要找到回归线.

我不知道如何计算多项式趋势线,我怀疑我自己学习如何做这件事太困难了,因此,如果其他人有一个脚本,我想使用它.我也愿意使用可以从php调用的另一个程序(因此仅命令行-无gui),但我更愿意坚持使用php.

解决方案

我也愿意使用 另一个程序,可以被称为 从php(因此仅命令行-否 gui),但我宁愿坚持 php.

我从我的PHP网页调用 R . RCurl 是必需的.设置R后,您可以通过 curl() 从PHP调用R脚本.

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.

解决方案

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

这篇关于是否有PHP的统计资料库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆