Hello,
I have a dataset with 742 observations, and among them 14 have duplicates. For some of these, I need to drop the row for two variables. But whenever I am using the command -
drop if hsn==1027 & A43_bqacgprima== "1. EE (YES)", it is showing type mismatch. I am using this command for the first time, so I am pretty sure I am making some mistakes. Can some one please help me in this regard?
Also, I need to drop some rows, where two observations are just duplicate of each other. In that case, how can I remove one row, while keeping the other intact?
Fahmida
I have a dataset with 742 observations, and among them 14 have duplicates. For some of these, I need to drop the row for two variables. But whenever I am using the command -
drop if hsn==1027 & A43_bqacgprima== "1. EE (YES)", it is showing type mismatch. I am using this command for the first time, so I am pretty sure I am making some mistakes. Can some one please help me in this regard?
Also, I need to drop some rows, where two observations are just duplicate of each other. In that case, how can I remove one row, while keeping the other intact?
Fahmida
Comment