Hello members,
I have tried to aggregate my data to one observation per establishment per year. I used the following command to do this:
sort betnr year
collapse (mean) dummy w08_1 div wage_imp, by(betnr year)
Betnr is the establishment number.
However, with this command one or two establishments are lost for each year.
What is the reason for this and how can missing companies be identified?
Thank you for your support!
I have tried to aggregate my data to one observation per establishment per year. I used the following command to do this:
sort betnr year
collapse (mean) dummy w08_1 div wage_imp, by(betnr year)
Betnr is the establishment number.
However, with this command one or two establishments are lost for each year.
What is the reason for this and how can missing companies be identified?
Thank you for your support!
Comment