How should I proceed in the following situation:
- I have the earnings of population in 2004 and 2005, namely the earning BEFORE training in 2007. I have the earnings of people in 2009. For comparison between earnings before and after training, is it okay to "egen" a new variable, which will be the average of the earnings in 2004 and 2005?

Thank you in advance.