I want to be able to ignore missing values when using the following code to flag observations that are different on specified variables: egen newvar = diff(varlist). I'm working with string variables.
Is there a more efficient way to do this than by creating a long list of 'if' terms (I have 116 variables)?
Thanks!
Is there a more efficient way to do this than by creating a long list of 'if' terms (I have 116 variables)?
Thanks!
Comment