Re: calculating the distribution
- To: mathgroup at smc.vnet.net
- Subject: [mg20857] Re: calculating the distribution
- From: "DIAMOND Mark" <noname at noname.com>
- Date: Thu, 18 Nov 1999 01:09:34 -0500 (EST)
- Organization: The University of Western Australia
- References: <80r0fa$l43@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
sandmann at mip.sdu.dk wrote in message <80r0fa$l43 at smc.vnet.net>...
>How can I calculate the distribution of data in a Interval ?
You need the package DataManipulation which is a standard AddOn package.
Look in the Master Index for documentation on BinCounts.
Needs["Statistics`DataManipulation`"];
data={1,3,6,9,12,17,19,21,22,25} ;
BinCounts[data,{0,25,5}]
gives the required output {2,2,1,2,3}