I have a quizz on data panel and I'm stuck on some data arrangement basics.
I have a data set that contains the variables' income, time period and age of individuals. My question is: How can I create a new variable that groups by the same age the observations? For example if there are 50 ages and 10,000 observations: how can I work with the income of the individuals divided by their ages
Thank you very much!