Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re:number of occurences

From   "Victor Zammit" <[email protected]>
To   <[email protected]>
Subject   st: Re:number of occurences
Date   Fri, 30 Mar 2012 23:10:08 +0200

Dear Statalist,

the following sample contains ten different colors:red,white,brown,orange,

black,pink,blue,grey,yellow,green,in all.Given a much bigger sample,

how can I find out the number of occurences for each of the ten colors. red-white-brown-orange-black-pink-blue grey-orange-white-red-yellow-blue grey-yellow-blue-black-white-green black-pink-orange-blue-grey-white grey-green-yellow-white-red-pink black-pink-orange-grey-white-red grey-white-black-blue-brown-pink grey-pink-blue-black-red-green grey-green-black-blue-brown-orange black-grey-brown-yellow-orange-pink red-white-yellow-blue-black-green-brown black-pink-grey-blue-green-white grey-green-black-brown-yellow-pink grey-black-red-blue-yellow-green grey-blue-red-orange-yellow-black red-white-green-pink-black-orange-grey grey-black-pink-orange-yellow-brown black-white-green-pink-grey-red grey-green-orange-pink-red-yellow

Thanks for any feedback,

Victor Zammit.
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index