I wonder, if there is a library for statistical tests like
- t-test
- Anova test
- Kolmogorov Smirnov
etc…..
for PHP?
I found a pecl extension: http://php.net/manual/de/book.stats.php , which gives some basic parameters, but no tests found yet
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want a full PHP library you can have a look here, but I don’t know if it is something really good.
This statistical test is quite gready and I don’t know if php is a good choice to compute it. As proposed in the comments, you should write your script in R language and then call it.
There are two ways to call another language depending on your server architecture. Assuming you will have only one server, you can use proc_open :
You can also use cURL to contact a Rscript on another server with RCurl.