Good afternoon,
I am trying to replace the observation values of a variable with a missing values after it reaches a certain value. The variable is a dummy and I need to recode it as missing after it gets the value of 1. I've tried to use "replace" command with if clauses and stuff but I have not reached any solution.
Do you have any hint?
Thank you
I am trying to replace the observation values of a variable with a missing values after it reaches a certain value. The variable is a dummy and I need to recode it as missing after it gets the value of 1. I've tried to use "replace" command with if clauses and stuff but I have not reached any solution.
Do you have any hint?
Thank you
Comment