Greetings. I've imported data from an access file. The key variables of the dataset follow: specie (goat or sheep) ID (animals ID number) gender (F, M, M/C) biopsy_letter (A-F; some had only one biopsy, A; others may have had up to F biopsies over their lifetime) biopsy_date (date of each biopsy) step (each 'step' is measured from a single biopsy; each biopsy had four 'step' measures) So after import, the table of data has numerous rows per animal. For instance: Goat 3876 is represented by 4 rows since this animal had only one biopsy performed for which there are four step measures. Another: Sheep 4465 has 12 rows since this animal had three biopsies for each of which there are four step measures. The first goal is to simply characterize the dataset: How many goats and sheep are represented? Within each species, how many female, male, castrated male animals are represented? My first reaction is to do this as follows: proc freq ; tables specie*gender ; run ; But that just gives me a row count for these factors; i.e., goat 3876 is counted as four animals and sheep 4465 is counted as 12. Is there a way to identify the subject? Do I have to transform the dataset by animal ID and then use proc freq? I've no experience with report, tabulate, summary procedures. Is the simple solution in one of those? Thank you for your help, Dave
... View more