Dear Statalists,
I have a panel dataset with a time range (T) from -2 to 4. I would like to keep only those individuals who have at least one observation in both T=-1 and T=0. How can I do this?
I read the following question: https://www.statalist.org/forums/for...l-observations
However in that specific case, the user didn't need to check if the consecutive years started from a specific year!
Thanks
Related Posts with Panel Data: How can I keep individuals with observations in specific consecutive years?
Mundlak procedureDear all, When using the Mundlak procedure, if one wishes to include year fixed effects (i.e. a dum…
From single event observations to time seriesHi everyone, As I am quite new to Stata hope you can help me out with the next question. Currently…
How to rewrite graph-like command that written by users under Stata 6.0 or earlierDear Stata users, Stata had changed its graph command since version 7. However there are a lot of c…
error message returned when installing spost13 using Stata 17Hello, I would like to use Brant test for my ordered logistic regression models and tried to instal…
Time and Country Fixed Effects in Panel Data Estimation (OLS and PPMLI am doing a regression taking 34 countries for the time period 2010-19. It is a gravity model so th…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data: How can I keep individuals with observations in specific consecutive years?
Post a Comment