Hi! I m at the beginning of this software and I have to resolve this exercise. Can someone help me?
"Generate a new variable for birth cohorts named “coho” and categorize the year of birth into cohorts with each cohort covering five years (e.g. 1944-1948, 1949-1953, etc.). An exception is the youngest cohort, which spans only over three birth years."

How can i write it? And then to find that years?


Thank you in advance!

Francesca