Hi Statalist,
I have simple question.
i started with a panel data file including monthly stock returns, i then want to remove all other months than june, because i want to construct portfolios using a year stretching from June through May. I did so using different entries on this forum, before i removed any data i saved the original data set.
Now i am done working with the June entries and want to merge the data sets.
So i did, using merge 1:m.
It works
, i just don't know if the answers is the right answer?
So is this what you want to see when merging two data sets, one with all the June data that you want to incorporate?

Thanks in advance,
Dennis Uhrskov
I have simple question.
i started with a panel data file including monthly stock returns, i then want to remove all other months than june, because i want to construct portfolios using a year stretching from June through May. I did so using different entries on this forum, before i removed any data i saved the original data set.
Now i am done working with the June entries and want to merge the data sets.
So i did, using merge 1:m.
It works

So is this what you want to see when merging two data sets, one with all the June data that you want to incorporate?
Thanks in advance,
Dennis Uhrskov