Hi, New SAS user here! I'm trying to create a new variable based on the max of another variable associated with unique student IDs. Here's an example of the dataset. I'm trying to create the variable titled "MaxTerm". How would I specify that I'm looking for the max term for each student ID? Thanks the help! Student_ID Term MaxTerm 000001 1 4 000001 2 4 000001 3 4 000001 4 4 000002 1 5 000002 2 5 000002 3 5 000002 4 5 000002 5 5
... View more