Dear all
I have seven binary variables that I want to merge into one binary variable.
My seven variables (Rejected1, Rejected2, ..., Rejected7) all have value 1 if the firm is rejected for a credit, 0 otherwise.
Now I want to make RejectedMerge, the problem is that all the missing values of the seven variables are always included as 1 in RejectedMerge...
How do I make sure that they are excluded from the values 0 and 1 and thus that they just remain missing values?
I have already tried:
RejectedMerge = Rejected1 & Rejected2 &... & Rejected7 (also tried it with *)
egen RejectedMerge = group (Rejected1 Rejected2 ... Rejected7) (aslo used rowtotal)
but all of them include missing values
Thank you very much in advance!
I have seven binary variables that I want to merge into one binary variable.
My seven variables (Rejected1, Rejected2, ..., Rejected7) all have value 1 if the firm is rejected for a credit, 0 otherwise.
Now I want to make RejectedMerge, the problem is that all the missing values of the seven variables are always included as 1 in RejectedMerge...
How do I make sure that they are excluded from the values 0 and 1 and thus that they just remain missing values?
I have already tried:
RejectedMerge = Rejected1 & Rejected2 &... & Rejected7 (also tried it with *)
egen RejectedMerge = group (Rejected1 Rejected2 ... Rejected7) (aslo used rowtotal)
but all of them include missing values
Thank you very much in advance!
Comment