Duplicates in Compustat -> Fundamentals Annual

713 views
Skip to first unread message

Andrei Bubutanu

unread,
Sep 18, 2020, 1:17:12 PM9/18/20
to wrdssas
Hello all,

Hope you are all well.

I downloaded the data for all companies for a year(let's say 2016) based on all Cashflow Items variables and I got around 19000 records(for 2016). As you can see there are a lot of companies.
I took a closer look and observed that the companies have at least 2 duplicates. 1 instance of a company has the majority of variables and the other 1 or 2 contain only the GVKEY and sometimes CAPX(Capital Expenditure). Sometimes the CAPX differs between instances.

Does anyone knows why there are these duplicates?

I appreciate any help.

Many thanks,
Andrei

joost impink

unread,
Sep 18, 2020, 1:20:14 PM9/18/20
to Andrei Bubutanu, wrdssas
Hi,

Compustat Fundamental Annual requires a filter: only keep records where indfmt='INDL' datafmt='STD' popsrc='D' and consol='C'. That way all firm-years should be unique.

Best,

Joost

--
Forum home on www.wrds.us - http://www.wrds.us/index.php/forum_wrds/
 
All posts are moderated.
---
You received this message because you are subscribed to the Google Groups "wrdssas" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrdssas+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wrdssas/135bfb4b-8fc6-47c5-a3cc-255271d29acdn%40googlegroups.com.

Andrei Bubutanu

unread,
Sep 20, 2020, 9:08:36 PM9/20/20
to wrdssas
Thank you so much, Joost!
It worked!

Have a great week!

Thanks,
Andrei
Reply all
Reply to author
Forward
0 new messages