Hey all, I am trying to merge two data sets, but they have different range in dates and port_no (my class variables, i think that's what they're called). The two data sets I have are: have1 Date Identifier Ret 011980 3424 2.4 021980 3543 4.3 031980 432 ... ... 121980 4332 011981 423 .... ... ... 112011 And the other one is the yearly one, have2 Date Identifier Value 1979 432 4.2 1980 4332 1981 423 1979 1980 1981 .... .... 2011 So I want to merge have1 and have2. I want them to be monthly data, so I think, first, i need to convert have2 into monthly data assigning equal Value to each month for that year. I tried to use Proc Expand, but it didn't work. And then I want to merge the two, only if the Identifier in have2 also exists in have1. I don't want data's of Identifier that are not in have1. I tried this with the regular Merge, and thought about deleting the observation of Identifiers not in original have1, but that messed up my data and couldn't do it. Anyway around it? Thanks everyone.
... View more