Home arrow PHP arrow Page 3 - Performing Descriptive Statistical Analysis with PHP

Detailed explanation of the scripts - PHP

Have you ever thought of doing statistical analysis using PHP? Well, as simple as this technology can be, it enables an analyst to do server-side scripting commands which accept data from a web form, and then analyze the data in the server using PHP.

  1. Performing Descriptive Statistical Analysis with PHP
  2. Computing descriptive statistics using PHP
  3. Detailed explanation of the scripts
  4. Performing calculations with PHP
By: Codex-M
Rating: starstarstarstarstar / 2
October 06, 2009

print this article



Basically what the form will do is check to see if it is submitted:

if (!$_POST['submit'])

If not, it will show the form; otherwise, it will start processing the data from a form and assign it to an array variable. This array variable, $data, contains all the data needed for PHP statistical analysis.

This is taken from an HTML web form text area. Using the PHP explode function, every piece of data is unique and distinct when separated line by line.

To simplify calculations, PHP functions are defined for average, standard deviation, median and range.

>>> More PHP Articles          >>> More By Codex-M

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: