Changes

Jump to navigation Jump to search
507 bytes added ,  17:44, 5 October 2020
no edit summary
{{Project
|Has project output=Content
|Has sponsor=McNair Center
|Has title=LBO Data Description
|Has owner=James Chen,Brian Ayash,Ed Egan
|Has project status=Complete
}}
 
 
This page is included in the project [[Leveraged Buyout Innovation (Academic Paper)]]
==Work Scripts==
===SQL===
*<code>E:\McNair\Projects\LBO\LBO academic paper patent data script pre compustat</code>
*<code>E:\McNair\Projects\LBO\LBO academic paper script post compustat</code>
===Stata===
==Work Description==
===LBO Data and Patent Data===
See script for exact work.: <code>E:\McNair\Projects\LBO\patent data script</code>
*Get the source file for the LBOs
===Introduction of Compustat and Preparation for Stata===
See script for exact work.: <code>E:\McNair\Projects\LBO\LBO academic paper script post compustat</code> Create tables as follows:
*Create table sdc '''SDC''' with SDC data imported from the initial LBO data.
*Create table '''LBOCOMPUSTAT4 ''' with Compustat data imported.
*Create table '''dealnumbxgvkey ''' selecting deal numbers and gvkeys from table sdc.
*Create table '''compustatnamematch ''' with compustat names matched against themselves imported
*Create table '''stdcompnamestdorgnamematched ''' with standardized compustat names matched against stdorgname
*Create table '''matchedlbocompnames ''' with standardized original lbo names matched to standardized compustat names
*Create table '''compnamematchlbocompnames ''' with standardized compustat names, compustatnames, and standardized original lbo names
*Create table '''stdcompnamepatentjoin ''' with variables standardized compustat names and patent numbers
*Create table '''compustatpatentinfo ''' with variables standardized compustat names, patent numbers, and grant dates
*Create table '''stdcompnamexgvkeycleaned ''' with variables standardized compustat names and gvkeys
*Create table '''ALLGVKey ''' with all distinct gvkeys from stdcompnamexgvkeycleaned
*Create table '''AllYears ''' with all years from 1970 to 2016
*Create table '''KeysXYears ''' with variables gvkey and year. Each gvkey corresponds to 47 years.
*Create table '''keysxyearsxstdcompname ''' with variables gvkeys, years, and standardized compustat names
*Create table '''compupatentyearsummary ''' with variables standardized compustat names, gvkeys, years, and number of patents per year
*Create table '''dealnumbxgvkeyxlboyeartemp ''' with variables deal numbers, gvkeys, LBO years, and exit years
*Create table '''dealnumbxgvkeyxlboyear ''' with variables deal numbers, gvkeys, lbo years, exit years, entry year 1, entry year 2, exit year 1, and exit year 2
*Create table '''compupatentlboyearsummary ''' with variables standard compustat names, gvkeys, years, number of patents per year, and lbo entries/exits in each year
*Create table '''statastaging ''' with all variables from compupatentlboyearsummary in addition to all the pulled compustat variables
*Create table '''sicnaicsconversion ''' with sic codes and naics codes as a conversion table for adding naics that correspond to the sic codes in blank rows. Table from https://www.census.gov/eos/www/naics/concordances/concordances.html
*Create table '''statastagingnew ''' with two extra columns, concordsic and concordnaics, then export to stata
===Stata Work===
See script for exact work.: <code>E:\McNair\Projects\LBO\STATAdatasetup2</code> 
====Setup====
*Label Compustat/patent variables imported from SQL
*Find first fiscal year in which data appears for each company
*Find last fiscal year in which data appears for each company, or set it to 2016
*Recode the industry (based on NAICS2) to Manufacturing, Retail, Prof. Services, and other
*Generate additional lagged variables
====Analysis====
See script for exact work: <code>E:\McNair\Projects\LBO\STATAanalysis2</code>
*Summary of variables intended for use in hazard model (mean, count)
*Run Cox Proportional Hazard Model multiple times to determine statistically significant variables
RE -- Retained Earnings
==ResourcesSQL Fixes==WRDS USER(Moved here from deleted page: mcnairLBO Fix List) *Improve SIC to NAICS fill in further**Manually add in conversions from three digit SIC (e.g., 1110) to three digit NAICS (e.g., 134)**Re-import into STATAWRDS PASS: 9Mil2015
http[[category://www.axial.net/forum/how-private-equity-screens-lbo-candidates/ - Variables that private equity firms examine to decide whether or not to lboInternal]]

Navigation menu