Sometimes you have a dataset that has a value you need to count. Let’s say you have a file with 7,000 student records. Each case has a variable called ‘Section’ that contains numerical codes indicating which section a student was registered in. You need to know the headcount in each section. You could run a frequency command on the section variable and simply count the number of sections but you like to do things in a more elegant way. Use SPSS’s AGGREGATE function. You can do it syntax or using the menu interface.
Note: At these prices I haven’t upgraded since version 16. I keep wishing they’ll make the graphing features easier to use but I’ve given up hope on that one and will be holding on to my $1500 thank you very much. Are you listening IBM?
Here’s the syntax: