how would I only include observation for certain crosssection
Posted: Wed Oct 03, 2018 8:29 pm
Dear all,
I am using a panel data set with 900 cross-section (firms) and period between 2010-2016. I would like to remove cross-sections with only two years of data available. So, essentially I like to keep observations for firms with more than two years of observations in my analysis. I guess, i can do this at the series level or when I am estimating the output from the model. I am not sure about the condition that I need to set. Any help will be great.
I am using a panel data set with 900 cross-section (firms) and period between 2010-2016. I would like to remove cross-sections with only two years of data available. So, essentially I like to keep observations for firms with more than two years of observations in my analysis. I guess, i can do this at the series level or when I am estimating the output from the model. I am not sure about the condition that I need to set. Any help will be great.