Hi, I'm working with a dataset that looks similar to the following: Construction_date Material 1991 Cement 1972 Wood 1991 Cement 1991 2002 Wood 1983 Wood 1991 Wood I would like to impute missing material data through the following condition: if there are more than one identical construction_date and the material from at least two of those dates match, then make it so that all other identical missing construction_date have the same material. From the little I know, I would first have to sort my construction_date and material variables, and then I get lost from that point on. proc sort data=data; by construction_date material; run; Note that I am a very new to coding language, and this is a large dataset. Would appreciate any and all help!
... View more