Saturday, August 1, 2020

Conditionals

Hello How I can replacement for the value of an observation where there is no data with a conditional
I want to replace the value of X1 with a 1 (it is binary) if X1=="" and X3=="" (i.e. both have no data) and x4>2

No comments:

Post a Comment