Statistics n PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
shah.saeen
Forum Newbie
Posts: 2
Joined: Sun Sep 26, 2010 11:44 am

Statistics n PHP

Post by shah.saeen »

Hi everyone
just need some suggestions on my situation. I have been assigned a project in the uni which was suppose to be a networking project but turns out its all programming. So i have to capture some multiplayer game traffic (like Counter Strike) and then create graphs based on the packet size. These graphs should show Probability Density and Cumulative Density and then provide the user the option to select certain Distributions like normal, log-normal and all. I have found a PHPLOT library that helps me draw graphs but anyone know if i can also use it to draw Distributions over existing graph ? like if the user selects a different distribution from a drop down then i need to display it on the graph ??
Any other library that you might know would help me achieve this ? please help coz im stuck . Dont even know much about statistics :S
Any help appreciated
Thank You
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Statistics n PHP

Post by John Cartwright »

I haven't used online graphs in awhile, but I remember there being far more (and far better) options written in flash versus directly in PHP -- so you may want to check out that venue before trying to implement something with your existing library.

However, if you cannot find distribution graphs, it shouldn't be too hard to create your own using the GD library, or Imagequick.
rogersstones
Forum Newbie
Posts: 4
Joined: Tue Sep 28, 2010 9:22 am

Re: Statistics n PHP

Post by rogersstones »

As per my knowledge there are many thing that are available on the web that is beneficial for yours as per your requirement. I would recommend that you will get a perfect material that will satisfy you. Search carefully.
shah.saeen
Forum Newbie
Posts: 2
Joined: Sun Sep 26, 2010 11:44 am

Re: Statistics n PHP

Post by shah.saeen »

thanx for the reply guys
roger can u plz point me to the rite direction...a library that might do it for me. I have used PHPlot to create a graph but i don think ill be able to draw distribution on top of the bar chart
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Statistics n PHP

Post by Benjamin »

shah.saeen wrote:thanx for the reply guys
roger can u plz point me to the rite direction...a library that might do it for me. I have used PHPlot to create a graph but i don think ill be able to draw distribution on top of the bar chart
Forum Rules wrote: 11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
You may also want to read:
  1. General Posting Guidelines
  2. Posting Code in the Forums
  3. PHP Manual
  4. PHP Tutorials
Post Reply