Hello,
I am a beginner in Stata. I am trying to replace (or generate in a new column) a value in column 1 with the value for that same observation in another column.
I have tried the command replace var1 = var 2 if var 1 ==15 but without success.
Could someone help me?
Kind regards,
Sophie
I am a beginner in Stata. I am trying to replace (or generate in a new column) a value in column 1 with the value for that same observation in another column.
I have tried the command replace var1 = var 2 if var 1 ==15 but without success.
Could someone help me?
Kind regards,
Sophie