hello !

i want to create a new variable that's equal to value of year 1960 for all countries and years;

i used the following code but it return missing for others years except 1960:

bys origin (destination year): gen pop_i_1960 = (cond(year==1960,pop_de,.))