Hi Chris,
you could aggregate the original data file by ID and Program type and then run frequency of program type.
(this replaces the original dataset, SAVE it before)
AGGREGATE
/OUTFILE=*
/BREAK=id program
/N_BREAK=N.
FRE program.
regards
Jindra
> ------------ Původní zpráva ------------
> Od: Choncek, Chris <
[hidden email]>
> Předmět: Distinct counts in tables
> Datum: 13.6.2007 18:59:33
> ----------------------------------------
> I'm trying to calculate a distinct count of id's within a variable. In
> this case, I want the number of unique student id's under each major
> program. My datafile is setup to have more than one row per student id,
> so when I get a count of id's under each major, it's reporting a student
> more than once.
>
>
>
>
>
>
>
> Christopher E. Choncek
>
> Dir. of Institutional Research
>
> Point Park University
>
> 201 Wood Street
>
> Pittsburgh, PA 15222
>
> (412) 392-3905
>
>
>
>
>