SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 24595: Counting the number of observations in a BY-Group

DetailsCodeResultsAboutRate It
Determine how many observations there are in each BY-Group by using BY-Group processing.

Note:   PROC FREQ can also be used to count the frequency of values in each BY-Group. A sort is not necessary when using PROC FREQ.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.