Dear stata forum,
I am quite new to Stata and I ran into an issue. I have panel data with quarterly observations from 1965 until 2020 for all US firms included in Compustat.
I want to drop the duplicates by using the following command:
duplicates drop gvkey Year_Quarter, force
However, Stata is working for 24 hours now and nothing happens. Is there a different way to find all the duplicates an remove them from the sample, a faster way?
best regards
Related Posts with Dropping duplicates takes more that 24 hr.
Help! Unexpected impact of controlling an omitted variableHi everyone, I'm estimating production function using firm-level panel data (6 years) to obtain fir…
option lc() not allowed \ option lcolor() not allowedDear all, Even though I found similar posts online, I still could not manage to fix this. The code …
Dropping group with missing waves for panel dataHey guys, I'm trying to put together a diff-in-diff panel where the treatment is a labour market pr…
generating variable with logical operatorsDear Statlisters I have data on ownership of household assets. I want to generate variables where l…
Problem with a dummyHi. I have to create a dummy variable which is zero if a variable "x1"=0 and it is egual to 1 if x2,…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping duplicates takes more that 24 hr.
Post a Comment