PHP有统计库吗?
我需要找到一条多项式回归线,并且我正在使用 PHP - 是否有库或第三部分脚本可以为我完成此操作?如果它也可以进行方差分析,那将是一个额外的好处,但主要是,我需要找到回归线。
我不知道如何计算多项式趋势线,而且我怀疑自己学习如何计算对我来说太困难了,所以如果其他人有脚本,我想使用它。我也愿意使用另一个程序,可以从 php 调用(所以只有命令行 - 没有 GUI),但我更愿意坚持使用 php。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我从我的 PHP 网页调用 R 。 RCurl 是必需的。设置好 R 后,您可以通过
curl()
。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()
.