Hi,
I have variable and and variable B. I want to say when A is not missing and B is missing replace the missing value of B with 0. How can I put this as an if statement in stata?
I have variable and and variable B. I want to say when A is not missing and B is missing replace the missing value of B with 0. How can I put this as an if statement in stata?
Comment