A little announcement. A lot to explore.

Happy learning!

Explore lessons, including SAS & R programs and practice data.

Search lessons

Type at least 3 characters to see matching lessons.

1 / 5
Data Step - by groups
Question 1 of 5



How many number of times the value of first_age will be set to 1 when the below code is run on the input data shown in screenshot?</p></p>

proc sort data=class out=sorted;

    by age;

run;

 

data groups;

    set sorted;

    by age;

    first_age=first.age;

run;

 







Saving progress… My progress