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
Missing data Treatment in STATA - Zero or BlankDear Statalist, I tried to find the thread of missing data treatment in STATA but I could not find …
Diff in Diff: DRDID and CSDIDDear all Thanks to Prof Baum, the commands drdid and csdid are up. drdid implements the Doubly Robus…
marginal effects command with pwcompareAfter running a xtlogit regression, I was trying to compare the effects of investing on the mental h…
Plotting coefficient of two dependent variables from multiple modelsHello Statalist, I have multiple regression models with different dependent variables (say, v1 to v…
Creating a foreach loop for all string values of a variable.Hello, I am looking to code a foreach loop that completes a ustrlen() command for all string values…
Subscribe to:
Post Comments (Atom)
0 Response to how to delete specific observations
Post a Comment