Hello everyone
I need to delete the firms that does not have data for three years consecutively. please teach me how to do it
for example
firm1 has data for five years but as follows (2005 2007 2008 2010 2012). i dont want this firm i want to delete it from my sample . hope you get my point
thanks in advance
Related Posts with how to delete specific observations
filling missing data per id from cells below.Dear Stata Community, I am working with long panel data. I have multiple observations per id. In m…
Is it possible to "export delimited" with variable labels instead of variable names?Dear Statalisters, I'm quite new to Stata and I've run into what seems like a very "basic" problem.…
Event Study - Loop for calculating CARsHello everyone. I am trying to do a loop to calculate CARs (Cumulative Abnormal returns) for an Eve…
XTABOND2 and unit root test and measure of structural breakDear Professors, I am using xtabond2 for my research (System GMM) My questions are the following; 1.…
Why Use Stata?I've found this brief article interesting (https://www.theanalysisfactor.com/why-use-stata/). …
Subscribe to:
Post Comments (Atom)
0 Response to how to delete specific observations
Post a Comment