commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre8rou <pierre8r-nab...@yahoo.fr>
Subject Apache.Commons.Math. How to compute Frequency distributions ?
Date Wed, 06 Aug 2008 21:41:08 GMT

Hello,

Apache.Commons.Math. 
How to compute  Frequency distributions ?

I have a sample array of doubles.
It's just a sample, the real array it's a lot bigger.
 
double[] array = { 10.1, 34.0, 15.0, 22.5, 24.2, 31.0, 32.0, 37.0 };

I need to know the frequency for 4 categories.

Which is the frequency for the doubles < 10 ?
Which is the frequency for the doubles >= 10 and < 20?
Which is the frequency for the doubles >= 20 and < 30 ?
Which is the frequency for the doubles >= 30 ?

Thanks,

Pierre8r

-- 
View this message in context: http://www.nabble.com/Apache.Commons.Math.-How-to-compute--Frequency-distributions---tp18859308p18859308.html
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message