<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.edegan.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KerdaV</id>
	<title>edegan.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.edegan.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KerdaV"/>
	<link rel="alternate" type="text/html" href="http://www.edegan.com/wiki/Special:Contributions/KerdaV"/>
	<updated>2026-06-02T01:55:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19782</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19782"/>
		<updated>2017-08-04T21:29:54Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
*Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
*Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
In order to see if there are outliers, I get the average coordinates for all cities and find the differences of the firm's coordinates from the city coordinate. &lt;br /&gt;
The script for the average city coordinates is in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts and the file name is '''newcolevel.sql'''.&lt;br /&gt;
&lt;br /&gt;
The differences are taken in excel. The file containing the differences is in &lt;br /&gt;
 Z:\Hubs\2017 and the file name is '''new_colevel.txt'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
*We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*Accelerators data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is accelerators.txt&lt;br /&gt;
 The table is '''accelerators'''&lt;br /&gt;
The joined accelerators data with the VC table is in joined_accelerators table. &lt;br /&gt;
The script is in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''join_accelerators.sql'''&lt;br /&gt;
&lt;br /&gt;
The do file is in &lt;br /&gt;
 Z:\Hubs\2017\kerda&lt;br /&gt;
 The name is '''agglomeartion_kerda.do'''&lt;br /&gt;
It includes the graphs, tables and the preliminary FE  regressions with VC funding amount and growth rate. &lt;br /&gt;
It also predicts the hazard rates, matches on the hazard rate in order to create synthetic control and treatment groups. &lt;br /&gt;
What is left to do is to add 2 lagged and 3 forward observations for the cities which do have a match.  Remove the overlapping observations for the years that get a treatment but which at the same time serve as a control. &lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19778</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19778"/>
		<updated>2017-08-04T21:22:23Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
*Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
*Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
In order to see if there are outliers, I get the average coordinates for all cities and find the differences of the firm's coordinates from the city coordinate. &lt;br /&gt;
The script for the average city coordinates is in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts and the file name is '''newcolevel.sql'''.&lt;br /&gt;
&lt;br /&gt;
The differences are taken in excel. The file containing the differences is in &lt;br /&gt;
 Z:\Hubs\2017 and the file name is '''new_colevel.txt'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
*We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*Accelerators data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is accelerators.txt&lt;br /&gt;
 The table is '''accelerators'''&lt;br /&gt;
The joined accelerators data with the VC table is in joined_accelerators table. &lt;br /&gt;
The script is in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''join_accelerators.sql'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19773</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19773"/>
		<updated>2017-08-04T21:05:54Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
*Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
*Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
In order to see if there are outliers, I get the average coordinates for all cities and find the differences of the firm's coordinates from the city coordinate. &lt;br /&gt;
The script for the average city coordinates is in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts and the file name is '''newcolevel.sql'''.&lt;br /&gt;
&lt;br /&gt;
The differences are taken in excel. The file containing the differences is in &lt;br /&gt;
 Z:\Hubs\2017 and the file name is '''new_colevel.txt'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
*We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19771</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19771"/>
		<updated>2017-08-04T21:00:56Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
In order to see if there are outliers, I get the average coordinates for all cities and find the differences of the firm's coordinates from the city coordinate. &lt;br /&gt;
The script for the average city coordinates is in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts and the file name is '''newcolevel.sql'''.&lt;br /&gt;
&lt;br /&gt;
The differences are taken in excel. The file containing the differences is in &lt;br /&gt;
 Z:\Hubs\2017 and the file name is '''new_colevel.txt'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19770</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19770"/>
		<updated>2017-08-04T20:51:59Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
In order to see if there are outliers, I get the average coordinates for all cities and find the differences of the firm's coordinates from the city coordinate. &lt;br /&gt;
The script for the average city coordinates is in Z:\Hubs\2017\sql scripts and the file name is '''newcolevel.sql'''.&lt;br /&gt;
The differences are taken in excel. The file containing the differences is in Z:\Hubs\2017 and the file name is '''new_colevel.txt'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19767</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19767"/>
		<updated>2017-08-04T20:33:31Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19765</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19765"/>
		<updated>2017-08-04T20:14:06Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* VC Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. It focuses on cities in the United States as the primary unit of analysis.&lt;br /&gt;
&lt;br /&gt;
This page contains information about data used for this research project, including data sources, location of data on RDP and details on data processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information on initial data work done prior to Summer 2017 can be found at [[Hubs Summer 2016]]. &lt;br /&gt;
&lt;br /&gt;
'''Note on joining:''' The city-state-year ID from VC data is used as the master ID for joining datasets. Each table (e.g. income, nih, nsf, sbir, compustat) is first joined with the VC data on city-state-year ID and then the resulting tables are all joined together in the final table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
The data set includes information on publicly traded firms in the US. It was obtained from the Wharton Research Data Services (https://wrds-web.wharton.upenn.edu/wrds/index.cfm?). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). &lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
**Revenue of firms&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
It is located in&lt;br /&gt;
 Z:\Hubs\2017\Output_Files&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state &lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
  The file name is roundleveloutput2.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1948-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''new_vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
*year&lt;br /&gt;
&lt;br /&gt;
==Final Joined Data set == &lt;br /&gt;
&lt;br /&gt;
The final data set is in file '''final.txt''' and is located here:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_year - (ID that data is merged on)&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - Seed Amount&lt;br /&gt;
*earlyamtm - Early Investment Amount&lt;br /&gt;
*lateramtm - Late Investment Amount&lt;br /&gt;
*selamtm - Seed early or late amount&lt;br /&gt;
*numseeds - Number of seed investments &lt;br /&gt;
*numearly - Number of early investments&lt;br /&gt;
*numlater - Number of late investments&lt;br /&gt;
*numsel &lt;br /&gt;
*numdeals - Number of deals (first contracts)&lt;br /&gt;
*numalive - Number of start ups alive&lt;br /&gt;
*income - Income per capita in each city-year&lt;br /&gt;
*sbir_nogrants - Number of SBIR grants&lt;br /&gt;
*sbir_valuegrant - Value of SBIR grants&lt;br /&gt;
*emp - Employment stats of each city-year&lt;br /&gt;
*unemp - Rate of unemployment&lt;br /&gt;
*popestimate - Population estimate of each city-year&lt;br /&gt;
*private - Enrollment in private schools&lt;br /&gt;
*public - Enrollment in public schools&lt;br /&gt;
*total - &lt;br /&gt;
*numfirms - Number of publicly traded firms&lt;br /&gt;
*randd - R&amp;amp;D expenditure of publicly traded firms&lt;br /&gt;
*revenue - Revenue of PTF&lt;br /&gt;
*totalassets &lt;br /&gt;
*nsf_nogrants - Number of NSF grants&lt;br /&gt;
*valuegrant - Value of NSF grants&lt;br /&gt;
*nih_nogrants - Number of NIH grants&lt;br /&gt;
*nih_valuegrant - Value of NIH grants&lt;br /&gt;
*noctrials - NUmber of clinical trials&lt;br /&gt;
&lt;br /&gt;
== Defining Hubs == &lt;br /&gt;
'''Summer 2016''' - Last year a master list of 125 &amp;quot;potential&amp;quot; hubs was used. A scorecard was developed which filtered these 125 candidate hubs to determine which of these should be included in the study sample. This method resulted in a sample size of ~ 30. The master list and the final hubs list is titled '''Hubs Data v2_'16'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\hubs_data&lt;br /&gt;
&lt;br /&gt;
'''Summer 2017''' - In order to obtain a more statistically significant sample of hubs, we developed 5 criteria which produce a more relaxed definition of hubs than last year. These include&lt;br /&gt;
&lt;br /&gt;
*Availability of co-working space&lt;br /&gt;
*Coding classes or tech events&lt;br /&gt;
*Some focus on the tech sector (this is important as our dependent variable is VC funding)&lt;br /&gt;
*Presence of an accelerator&lt;br /&gt;
*Availability of mentorship for members.&lt;br /&gt;
&lt;br /&gt;
We will review the 125 candidate hubs and select those which satisfy a subset or all of these characteristics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Internal]]&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19759</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19759"/>
		<updated>2017-08-04T18:25:47Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* VC Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. It focuses on cities in the United States as the primary unit of analysis.&lt;br /&gt;
&lt;br /&gt;
This page contains information about data used for this research project, including data sources, location of data on RDP and details on data processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information on initial data work done prior to Summer 2017 can be found at [[Hubs Summer 2016]]. &lt;br /&gt;
&lt;br /&gt;
'''Note on joining:''' The city-state-year ID from VC data is used as the master ID for joining datasets. Each table (e.g. income, nih, nsf, sbir, compustat) is first joined with the VC data on city-state-year ID and then the resulting tables are all joined together in the final table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
The data set includes information on publicly traded firms in the US. It was obtained from the Wharton Research Data Services (https://wrds-web.wharton.upenn.edu/wrds/index.cfm?). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). &lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
**Revenue of firms&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
It is located in&lt;br /&gt;
 Z:\Hubs\2017\Output_Files&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state &lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundleveloutput2.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1948-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''new_vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
*year&lt;br /&gt;
&lt;br /&gt;
==Final Joined Data set == &lt;br /&gt;
&lt;br /&gt;
The final data set is in file '''final.txt''' and is located here:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_year - (ID that data is merged on)&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - Seed Amount&lt;br /&gt;
*earlyamtm - Early Investment Amount&lt;br /&gt;
*lateramtm - Late Investment Amount&lt;br /&gt;
*selamtm - Seed early or late amount&lt;br /&gt;
*numseeds - Number of seed investments &lt;br /&gt;
*numearly - Number of early investments&lt;br /&gt;
*numlater - Number of late investments&lt;br /&gt;
*numsel &lt;br /&gt;
*numdeals - Number of deals (first contracts)&lt;br /&gt;
*numalive - Number of start ups alive&lt;br /&gt;
*income - Income per capita in each city-year&lt;br /&gt;
*sbir_nogrants - Number of SBIR grants&lt;br /&gt;
*sbir_valuegrant - Value of SBIR grants&lt;br /&gt;
*emp - Employment stats of each city-year&lt;br /&gt;
*unemp - Rate of unemployment&lt;br /&gt;
*popestimate - Population estimate of each city-year&lt;br /&gt;
*private - Enrollment in private schools&lt;br /&gt;
*public - Enrollment in public schools&lt;br /&gt;
*total - &lt;br /&gt;
*numfirms - Number of publicly traded firms&lt;br /&gt;
*randd - R&amp;amp;D expenditure of publicly traded firms&lt;br /&gt;
*revenue - Revenue of PTF&lt;br /&gt;
*totalassets &lt;br /&gt;
*nsf_nogrants - Number of NSF grants&lt;br /&gt;
*valuegrant - Value of NSF grants&lt;br /&gt;
*nih_nogrants - Number of NIH grants&lt;br /&gt;
*nih_valuegrant - Value of NIH grants&lt;br /&gt;
*noctrials - NUmber of clinical trials&lt;br /&gt;
&lt;br /&gt;
== Defining Hubs == &lt;br /&gt;
'''Summer 2016''' - Last year a master list of 125 &amp;quot;potential&amp;quot; hubs was used. A scorecard was developed which filtered these 125 candidate hubs to determine which of these should be included in the study sample. This method resulted in a sample size of ~ 30. The master list and the final hubs list is titled '''Hubs Data v2_'16'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\hubs_data&lt;br /&gt;
&lt;br /&gt;
'''Summer 2017''' - In order to obtain a more statistically significant sample of hubs, we developed 5 criteria which produce a more relaxed definition of hubs than last year. These include&lt;br /&gt;
&lt;br /&gt;
*Availability of co-working space&lt;br /&gt;
*Coding classes or tech events&lt;br /&gt;
*Some focus on the tech sector (this is important as our dependent variable is VC funding)&lt;br /&gt;
*Presence of an accelerator&lt;br /&gt;
*Availability of mentorship for members.&lt;br /&gt;
&lt;br /&gt;
We will review the 125 candidate hubs and select those which satisfy a subset or all of these characteristics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Internal]]&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19640</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19640"/>
		<updated>2017-08-01T15:46:48Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData &lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda.sql'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19639</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19639"/>
		<updated>2017-08-01T15:45:40Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData &lt;br /&gt;
 The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
  The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19638</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19638"/>
		<updated>2017-08-01T15:44:10Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData &lt;br /&gt;
&lt;br /&gt;
The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
&lt;br /&gt;
The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 &lt;br /&gt;
The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
We use the cities with greater than 10 active VC backed firms. Data on the cities and number of active firms is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
The file is '''CitiesWithGT10Active.txt'''&lt;br /&gt;
&lt;br /&gt;
The script for joining the final data with this file is located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 The file name is '''final_joined_kerda'''.&lt;br /&gt;
The final data is in &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file name is '''new_final_kerda.txt'''.&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19593</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19593"/>
		<updated>2017-07-31T19:38:41Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData &lt;br /&gt;
&lt;br /&gt;
The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
&lt;br /&gt;
The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 &lt;br /&gt;
The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19592</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19592"/>
		<updated>2017-07-31T19:38:11Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Raw data is in:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData &lt;br /&gt;
&lt;br /&gt;
The file is '''colevelsimple.txt'''&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
&lt;br /&gt;
The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
&lt;br /&gt;
Database is cities&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 &lt;br /&gt;
The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19588</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19588"/>
		<updated>2017-07-31T17:28:53Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''nr_firms.sql'''&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: '''circles.sql'''&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 &lt;br /&gt;
The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19587</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19587"/>
		<updated>2017-07-31T17:28:13Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: nr_firms.sql&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''circles.txt'''. (It contains only 106 observations)&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: circles.sql&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 &lt;br /&gt;
The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19586</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19586"/>
		<updated>2017-07-31T17:27:19Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
Data on the number of new vc backed firms in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''firm_nr.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: nr_firms.sql&lt;br /&gt;
&lt;br /&gt;
Data on the circle area in each city and year is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is '''circles.txt'''.&lt;br /&gt;
Database is cities&lt;br /&gt;
SQL script is: circles.sql&lt;br /&gt;
  &lt;br /&gt;
The script for joining the two tables on the VC table is in:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
 &lt;br /&gt;
The name of the file is '''new_firm_nr_circles.sql'''&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19584</id>
		<title>Urban Start-up Agglomeration and Venture Capital Investment</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Urban_Start-up_Agglomeration_and_Venture_Capital_Investment&amp;diff=19584"/>
		<updated>2017-07-31T16:30:28Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Urban Start-up Agglomeration&lt;br /&gt;
|Has author=Ed Egan,&lt;br /&gt;
|Has RAs=Peter Jalbert, Jake Silberman, Christy Warden,&lt;br /&gt;
|Has paper status=In development&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
Agglomeration is generally thought to be one of the most important determinants of growth for urban entrepreneurship ecosystems. However, there is essentially no empirical evidence to support this. This paper takes advantage of geocoding and introduces a novel measure of agglomeration. This measure is the smallest circle area that covers all startup offices, subject to having at least N startups in each circle. Using GIS data on cities, this paper controls for the density and socio-demographics of an area to identify the effect of just agglomeration. &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Clusters of economic activity plays a significant role in the firms performance and growth. An important driver of growth is the knowledge spillover between firms. This includes among others the facilitation of information flow and ideas between firms which could be a milestone especially in the growth of startup firms or small businesses. This project focuses on the effects of agglomeration on the performance and growth of startup firms. It introduces a novel measure of agglomeration which can be used to empirically test the effects of clustering. This measure the is smallest total circle area that covers all of the startups in the sample such that there are at least n firms in each circle. The projects is based on the creation of an algorithm which gives an unbiased measure to be used in the empirical analysis.  The regression  we are interested in takes the following form:&lt;br /&gt;
&lt;br /&gt;
[[File:regression_equation.png]]&lt;br /&gt;
&lt;br /&gt;
The dependent variable is a measure of growth of the firms. This measure could be investment forwarded one period or growth in investment. The control variables include the number of the startups firms, m, the agglomeration measure, A and a vector of other control variables affecting the growth of firms at time t. Because of the endogeneity in the circle area or the measure of agglomeration, A, there is a need for an instrumental variable to get consistent estimates of the effects we are interested in. The proposed instrument is the presence of a river, or road in between the points representing geographical locations of the venture capital backed up firms. The instrument affects agglomeration without having a direct impact on the growth. This makes it good candidate for a valid instrument.&lt;br /&gt;
The next tasks are determining the additional control variables to include in the regression, years to include in the analysis and methods of finding an unbiased measure of agglomeration.&lt;br /&gt;
&lt;br /&gt;
==Data==&lt;br /&gt;
&lt;br /&gt;
*SDC VentureXpert&lt;br /&gt;
*GIS City Data&lt;br /&gt;
&lt;br /&gt;
Data on NSF, NIH, population, income, clinical trials, employment, schooling, R&amp;amp;D expenditures and revenue of firms can be found in [[Hubs]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
*[[Enclosing Circle Algorithm]]&lt;br /&gt;
*Normalizer&lt;br /&gt;
*Geocode.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Unbiased measure===&lt;br /&gt;
&lt;br /&gt;
The number of startups affects the total area of the circles according to some function. The task is to find an unbiased measure of the area, which is not affected by the number of the startups, given the size and their distribution.  &lt;br /&gt;
&lt;br /&gt;
For the unbiased calculation of a measure in a different context see: http://users.nber.org/~edegan/w/images/d/d0/Hall_(2005)_-_A_Note_On_The_Bias_In_Herfindahl_Type_Measures_Based_On_Count_Data.pdf&lt;br /&gt;
&lt;br /&gt;
===GIS Resources===&lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger-line.html &lt;br /&gt;
*https://www.census.gov/geo/maps-data/data/tiger.html&lt;br /&gt;
*http://postgis.net/features/&lt;br /&gt;
*https://en.wikipedia.org/wiki/GIS_file_formats&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19351</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19351"/>
		<updated>2017-07-14T18:00:23Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* VC Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. It focuses on cities in the United States as the primary unit of analysis.&lt;br /&gt;
&lt;br /&gt;
This page contains information about data used for this research project, including data sources, location of data on RDP and details on data processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information on initial data work done prior to Summer 2017 can be found at [[Hubs Summer 2016]]. &lt;br /&gt;
&lt;br /&gt;
'''Note on joining:''' The city-state-year ID from VC data is used as the master ID for joining datasets. Each table (e.g. income, nih, nsf, sbir, compustat) is first joined with the VC data on city-state-year ID and then the resulting tables are all joined together in the final table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
The data set includes information on publicly traded firms in the US. It was obtained from the Wharton Research Data Services (https://wrds-web.wharton.upenn.edu/wrds/index.cfm?). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). &lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
**Revenue of firms&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
It is located in&lt;br /&gt;
 Z:\Hubs\2017\Output_Files&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state &lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\Hubs\2017\clean data&lt;br /&gt;
  The file name is new_vc_data.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1948-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''new_vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19350</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19350"/>
		<updated>2017-07-14T17:59:41Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* VC Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. It focuses on cities in the United States as the primary unit of analysis.&lt;br /&gt;
&lt;br /&gt;
This page contains information about data used for this research project, including data sources, location of data on RDP and details on data processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information on initial data work done prior to Summer 2017 can be found at [[Hubs Summer 2016]]. &lt;br /&gt;
&lt;br /&gt;
'''Note on joining:''' The city-state-year ID from VC data is used as the master ID for joining datasets. Each table (e.g. income, nih, nsf, sbir, compustat) is first joined with the VC data on city-state-year ID and then the resulting tables are all joined together in the final table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
The data set includes information on publicly traded firms in the US. It was obtained from the Wharton Research Data Services (https://wrds-web.wharton.upenn.edu/wrds/index.cfm?). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). &lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
**Revenue of firms&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
It is located in&lt;br /&gt;
 Z:\Hubs\2017\Output_Files&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state &lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\Hubs\2017\clean data&lt;br /&gt;
  The file name is new_vc_data.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''new_vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19349</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19349"/>
		<updated>2017-07-14T17:58:45Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* VC Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. It focuses on cities in the United States as the primary unit of analysis.&lt;br /&gt;
&lt;br /&gt;
This page contains information about data used for this research project, including data sources, location of data on RDP and details on data processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information on initial data work done prior to Summer 2017 can be found at [[Hubs Summer 2016]]. &lt;br /&gt;
&lt;br /&gt;
'''Note on joining:''' The city-state-year ID from VC data is used as the master ID for joining datasets. Each table (e.g. income, nih, nsf, sbir, compustat) is first joined with the VC data on city-state-year ID and then the resulting tables are all joined together in the final table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
The data set includes information on publicly traded firms in the US. It was obtained from the Wharton Research Data Services (https://wrds-web.wharton.upenn.edu/wrds/index.cfm?). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). &lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
**Revenue of firms&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
It is located in&lt;br /&gt;
 Z:\Hubs\2017\Output_Files&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state &lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''new_vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*numdeals&lt;br /&gt;
*numalive&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs_Summer_2016&amp;diff=19310</id>
		<title>Hubs Summer 2016</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs_Summer_2016&amp;diff=19310"/>
		<updated>2017-07-13T20:19:38Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19309</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19309"/>
		<updated>2017-07-13T20:18:44Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. It focuses on cities in the United States as the primary unit of analysis.&lt;br /&gt;
&lt;br /&gt;
This page contains information about data used for this research project, including data sources, location of data on RDP and details on data processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information on initial data work done prior to Summer 2017 can be found at [[Hubs Summer 2016]]. &lt;br /&gt;
&lt;br /&gt;
'''Note on joining:''' The city-state-year ID from VC data is used as the master ID for joining datasets. Each table (e.g. income, nih, nsf, sbir, compustat) is first joined with the VC data on city-state-year ID and then the resulting tables are all joined together in the final table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
The data set includes information on publicly traded firms in the US. It was obtained from the Wharton Research Data Services (https://wrds-web.wharton.upenn.edu/wrds/index.cfm?). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). &lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
**Revenue of firms&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
It is located in&lt;br /&gt;
 Z:\Hubs\2017\Output_Files&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state &lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19273</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19273"/>
		<updated>2017-07-12T21:18:14Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined NIH table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined NIH table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19272</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19272"/>
		<updated>2017-07-12T21:17:44Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* NIH Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
===Joined NIH table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nih'''.&lt;br /&gt;
All the values of nih_valuegrant and nih_nogrants with missing values for years 1986-2015 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19271</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19271"/>
		<updated>2017-07-12T21:16:11Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined schooling data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19270</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19270"/>
		<updated>2017-07-12T21:15:54Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined employment data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19269</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19269"/>
		<updated>2017-07-12T21:15:37Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined income data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19268</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19268"/>
		<updated>2017-07-12T21:15:12Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined NSF table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
The sql script is in&lt;br /&gt;
 Z:\HUbs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19267</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19267"/>
		<updated>2017-07-12T21:14:27Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined population data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population table===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19266</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19266"/>
		<updated>2017-07-12T21:14:04Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined clinical trials data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials table===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19265</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19265"/>
		<updated>2017-07-12T21:13:44Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* NSF Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
===Joined NSF table===&lt;br /&gt;
The joined nsf table with the VC table is found in db '''cities'''. The table is named '''merged_nsf'''.&lt;br /&gt;
All the values of nogrants and valuegrant with missing values for years 1990-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials data===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19264</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19264"/>
		<updated>2017-07-12T21:10:45Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined clinical trials data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials data===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
All the values of noctrials with missing values for years 1999-2017 are set equal to 0.&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19253</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19253"/>
		<updated>2017-07-12T20:34:03Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* VC Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials data===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The table is in db '''cities''' titled '''vc'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19250</id>
		<title>Hubs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Hubs&amp;diff=19250"/>
		<updated>2017-07-12T20:32:35Z</updated>

		<summary type="html">&lt;p&gt;KerdaV: /* Joined employment data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=Hubs&lt;br /&gt;
|Has owner=Hira Farooqi,&lt;br /&gt;
|Has keywords=Data&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
}}&lt;br /&gt;
The Hubs Research Project is a full-length academic paper analyzing the effectiveness of &amp;quot;hubs&amp;quot;, a component of the entrepreneurship ecosystem, in the advancement and growth of entrepreneurial success in a metropolitan area. &lt;br /&gt;
&lt;br /&gt;
This research will primarily focused on large and mid-sized Metropolitan Statistical Areas (MSAs), as that is where the greater majority of Venture Capital funding is located. &lt;br /&gt;
&lt;br /&gt;
===Primary Data Set===&lt;br /&gt;
The Hubs data set, from SDC Platinum, has been constructed in the server:&lt;br /&gt;
 Data files are in 128.42.44.181/bulk/Hubs&lt;br /&gt;
 All files are in 128.42.44.182/bulk/Projects/Ecosystem/Hubs&lt;br /&gt;
 psql Hubs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set includes all United States Venture Capital transactions (moneytree) from the twenty-five year period of 1990 through 2015.&lt;br /&gt;
Data has been aggregated at the portfolio company, fund, and round level. It will be analyzed at the combined MSA level. We will be looking at in terms of number of companies funded in  number of funds active, and flow of investment in a given MSA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data set has now been uploaded to the database server, named Hubs.&lt;br /&gt;
There are 4 tables: &lt;br /&gt;
*Rounds: Rounddate, coname, state, roundno, stage1, etc.&lt;br /&gt;
*CombinedRounds: Coname, rounddate, discamount, fundname&lt;br /&gt;
*Companies: LastInv, FirstInv, coname, MSA, MSACode, Address, state, datefounded, totalknownfunding, industry(major)&lt;br /&gt;
*Funds: fundname, closingdate, lastinv, firstinv, msa, msacode, avinv, nocoinv, totalknowninv, address&lt;br /&gt;
&lt;br /&gt;
Used variables:&lt;br /&gt;
&lt;br /&gt;
 Companies: Coname, MSACode, Industry, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper&lt;br /&gt;
 IndustryLookupTable: IndustryMajor, InduCode&lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Funds: fundname, msacode, state&lt;br /&gt;
 MSALookupTable: MSACode, MSASuper &lt;br /&gt;
 -&amp;gt; &lt;br /&gt;
 FundInfo: fundname, msacode, state (complete)&lt;br /&gt;
&lt;br /&gt;
 Rounds: coname, rounddate, stagecode, roundno&lt;br /&gt;
 CombinedRounds: coname, rounddate, discamount, fundname&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfoSuper: coname, rounddate, '''nofunds''', discamount   &lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount (complete)&lt;br /&gt;
&lt;br /&gt;
Then take:&lt;br /&gt;
 RoundInfo: Coname, roundyear, fundname, estamount&lt;br /&gt;
 CompanyInfo: Coname, MSASuper, InduCode, state&lt;br /&gt;
 FundInfo: fundname, msacode, state&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 SuperRoundInfo: Coname, CoMSASuper, CoInduCode, CoState, FundName, FundMSASuper, FundState, RoundYear, RoundEstAmount&lt;br /&gt;
 -&amp;gt;&lt;br /&gt;
 MSAPortCos: Count(CoName) As NoPortCosFunded, CoMSASuper, RoundYear&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
'''Notes on Creation of Primary Data Set'''&lt;br /&gt;
&lt;br /&gt;
Raw tables&lt;br /&gt;
* companies (last investment, first investment, company name, MSA, MSA code, address, state, date founded, known funding, industry) &lt;br /&gt;
* funds (fund closing date, last investment, first investment, fund name, address, MSA, MSA code, Average investment, number companies invested (NoCos), known investment) &lt;br /&gt;
* rounds (round date, company name, state, round number, stage 1, stage 2, stage 3) &lt;br /&gt;
* combined rounds (company name, round date, disclosed amount, investor) &lt;br /&gt;
* msalist (changes MSAs to CMSAs— combined MSAs)&lt;br /&gt;
*industry list (changes 6 industry categories to 4— ICT, Life Sciences, Semiconductors, Other) &lt;br /&gt;
&lt;br /&gt;
Process&lt;br /&gt;
*cleaned tables to eliminate duplications, undisclosed variables&lt;br /&gt;
*changed all original characters to include CMSA and Industry Codes (companyinfo3, fundinfocleanfinal, roundinfoclean) &lt;br /&gt;
*matched funds to avoid any issues with names (i.e. Fund ABC L.P./Fund ABC LP/Fund ABC) &lt;br /&gt;
*matched roundinfoclean investors to fundinfocleanfinal investors (roundinfo.txt &amp;gt;&amp;gt; cleanfundfinal.txt)&lt;br /&gt;
*join by round and company conames&lt;br /&gt;
*bridge years (1990-2016), stage, and cmsa&lt;br /&gt;
* populate data with count of companies (Deal flow) and estimated amount ($)&lt;br /&gt;
** data set in 181 hubs folder under summarycmsa.txt (38394)&lt;br /&gt;
&lt;br /&gt;
Key decisions:&lt;br /&gt;
*Threw out undisclosed co through-out as no address&lt;br /&gt;
*Count is done by joining round and company&lt;br /&gt;
*Anything fund related must be disclosed fund&lt;br /&gt;
*Near and far, and total invested, and fund counts, etc., are all done using disclosed funds that match only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Glossary of Tables'''&lt;br /&gt;
 cleanco — used to remove duplicates from companies&lt;br /&gt;
 cleanedcompanies — clean set of companies with no duplicates&lt;br /&gt;
 cmsafunds- &lt;br /&gt;
 cmsas— list of all CMSAs in final data set (for merging) &lt;br /&gt;
 cmsastats- statistics not including empty years (pre-merge) &lt;br /&gt;
 cmsastats2 - statistics separated by year-MSA&lt;br /&gt;
 cmsastats3— statistics separated by year-MSA-stage&lt;br /&gt;
 cmsastats4&lt;br /&gt;
 cmsayears— empty merged table between year and cmsa&lt;br /&gt;
 cmsayearstage — empty merged table between cmsa/years and stage&lt;br /&gt;
 combinedrounds— raw sdc data for combined rounds&lt;br /&gt;
 combinedroundswamt— used to join rounds and combined rounds for roundinfo2&lt;br /&gt;
 companies- raw SDC company data&lt;br /&gt;
 companyinfo — cleaned companies joined with state and CMSA information&lt;br /&gt;
 companyinfo2— companyinfo1 with original industry categories&lt;br /&gt;
 companyinfo3— companyinfo2 with updated industry categories and codes&lt;br /&gt;
 companyinfo4-- clean version of companyinfo3&lt;br /&gt;
 companyround- combined company information with round information&lt;br /&gt;
 companyround2- combined company information with round information, cleaned up from companyround2&lt;br /&gt;
 companyround3- combined company information with round information, cleaned up from companyround3&lt;br /&gt;
 '''finaldataset'''- final statistics by CMSA-year, see section Final Primary Data Set for more information&lt;br /&gt;
 fundinfo— funds joined with CMSA info&lt;br /&gt;
 fundinfo2 - clean version of fundinfo1&lt;br /&gt;
 fundinfoclean - used in process to clean fundinfo2&lt;br /&gt;
 fundinfoclean2- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleanfinal- used in process to clean fundinfo2&lt;br /&gt;
 fundinfocleannodups- final clean set of fundinfo&lt;br /&gt;
 funds - raw SDC fund data&lt;br /&gt;
 Houston - analysis for Houston ecosystem team&lt;br /&gt;
 Houston2- analysis for Houston ecosystem team&lt;br /&gt;
 houston3- analysis for Houston ecosystem team&lt;br /&gt;
 industry — new industry codes (4)— used for all future data sets&lt;br /&gt;
 industrylist— lookup table for new industry codes (went from 6 to 4) &lt;br /&gt;
 joined1- used for matching process&lt;br /&gt;
 joined2- used for matching process&lt;br /&gt;
 matchfund2- used for matching process&lt;br /&gt;
 matchfunds- used for matching process&lt;br /&gt;
 matchroundfund - used for matching process&lt;br /&gt;
 matchroundfund2- used for matching process&lt;br /&gt;
 msalist — lookup table for MSA to CMSA (used for all future data sets) &lt;br /&gt;
 nearfar1-- beginning set before adding nearfar/stage variables &lt;br /&gt;
 nearfar2 -- added binomial variables for near/far and for each of the stages, used to build final dataset&lt;br /&gt;
 roundfund— not used— joined round to fund; drop/ignore&lt;br /&gt;
 roundinfo— round info cleaned up to include number of investors in a syndicate and estimated investment per member of syndicate&lt;br /&gt;
 roundinfo2— roundinfo1 including name of investors/funds&lt;br /&gt;
 roundinfo3— clean version of roundinfo2&lt;br /&gt;
 roundinfoclean — final clean version of roundinfo3 (final roundinfo table)&lt;br /&gt;
 rounds — raw SDC round data&lt;br /&gt;
 stages — table for merging stage-year-CMSA&lt;br /&gt;
 superinfo — ignore/drop&lt;br /&gt;
 temp - used for matching process&lt;br /&gt;
 years — table for merging stage-year-CMSA&lt;br /&gt;
&lt;br /&gt;
===Hub Candidates Data Set===&lt;br /&gt;
&lt;br /&gt;
The Hubs candidate data set is a list of potential hubs found in MSAs throughout the country. Researchers are currently pulling qualitative and quantitative information from the candidate's websites, in an attempt to categorize what can be identified as a hub. This is a difficult data set to pull, as there is little to no quantitative information available for this category of institution, and is dependent on accessibility of information to the public on the internet.&lt;br /&gt;
&lt;br /&gt;
Characteristics/Variables&lt;br /&gt;
*Year Founded&lt;br /&gt;
*Square footage&lt;br /&gt;
*LinkedIN self-identifiers (what the organization classifies itself on its LinkedIN profile) &lt;br /&gt;
*Activeness on Twitter (binomial)&lt;br /&gt;
*Member Directory available online (binomial)&lt;br /&gt;
*Number of conference rooms&lt;br /&gt;
*Price ($/month) for Flex desk &lt;br /&gt;
*Offers Reserved desk (binomial)&lt;br /&gt;
*Offers office space for rent (binomial) &lt;br /&gt;
*Offers community membership-- not for coworking but for community events, etc. (binomial)&lt;br /&gt;
*Number of events offered per month (estimate)&lt;br /&gt;
*Offers code academy&lt;br /&gt;
*Mission Statement/Vision (for qualitative or key-word analysis) &lt;br /&gt;
&lt;br /&gt;
These characteristics/variables will be used to determine whether a candidate is or is not likely to be a Hub. &lt;br /&gt;
&lt;br /&gt;
As of March 10th 2016, the list contains 125 Hub candidates.&lt;br /&gt;
&lt;br /&gt;
'''Where to find''': The Hubs data set can be found in the Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;dataset folder. It is not currently in the database due to a UTF8 issue&lt;br /&gt;
&lt;br /&gt;
===Supplementary Data Sets===&lt;br /&gt;
'''Patent data''': to be pulled from USPTO or SDC Platinum. &lt;br /&gt;
&lt;br /&gt;
'''Number of STEM Graduate Students''' (NSF) and '''University R&amp;amp;D Spending''' (NSF):&lt;br /&gt;
*University R&amp;amp;D Data found under file &amp;quot;NSF DATA_2004 to 2011.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets)&lt;br /&gt;
*R&amp;amp;D spending found at the university level for 2014 (&amp;quot;Stem Grad Students.xlsx) or at state level (&amp;quot;Science and Engineering Grad Students by State and Year 2000-2011.csv&amp;quot;)&lt;br /&gt;
** not uploaded to server or matched yet to CMSA code, because of this discrepancy. &lt;br /&gt;
**&amp;quot;Stem Grad Students.xlsx&amp;quot; contains categorized university by MSA, can be used for all university-based projects&lt;br /&gt;
&lt;br /&gt;
'''Per Capita Income''' and '''Employment Data''' (US Census Bureau): &lt;br /&gt;
*&amp;quot;Per Capita Personal Income by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;Datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
*&amp;quot;Wages and Salaries by MSA 2000-2012.xlsx&amp;quot; in datasets folder (Ecosystem&amp;gt;&amp;gt;Hubs&amp;gt;&amp;gt;datasets&amp;gt;&amp;gt;Data from Yael)&lt;br /&gt;
**not uploaded to server or matched yet to CMSA code&lt;br /&gt;
&lt;br /&gt;
'''Firm Births''' (BDS)&lt;br /&gt;
*in server 181, under table name &amp;quot;BDS&amp;quot;&lt;br /&gt;
*includes birth, death, net(birth-death) and rate(death rate) for years 1990-2013 for every msa&lt;br /&gt;
*includes code for CMSA but is not aggregated by CMSA&lt;br /&gt;
** i.e. BDS statistics are still separate for all the smaller MSAs in New York's CMSA (code=1)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* Yael Hochberg and Fehder (2015), located in dropbox&lt;br /&gt;
** Use this paper as a guideline on how to conduct the analysis&lt;br /&gt;
*US Census Bureau data on employment by MSA: http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_14_5YR_B23027&amp;amp;prodType=table&lt;br /&gt;
*USPTO utility patents by MSA: http://www.uspto.gov/web/offices/ac/ido/oeip/taf/cls_cbsa/allcbsa_gd.htm&lt;br /&gt;
*MSA level trends: http://www.metrotrends.org/data.cf&lt;br /&gt;
&lt;br /&gt;
===The Target Dataset===&lt;br /&gt;
&lt;br /&gt;
We will need to process the following variables:&lt;br /&gt;
*SuperMSA - combine SanFran and SanJose, New York and Newark?, NC Research triangle, others?&lt;br /&gt;
*CSV mapping msas to cmsas is in the folder (and a table in the dbase)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example dataset:&lt;br /&gt;
 MSA      Year       SeedVCInv      SeedEarlyVCInv      LaterVCInv     NoDeals   FundsInvested   DistinctInvestors   ....&lt;br /&gt;
 ----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1234     2001       1000000        20000000            30000000       4          7              7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the unit of observation is MSA-Year.&lt;br /&gt;
&lt;br /&gt;
Variables to be computed at the MSA level:&lt;br /&gt;
*HubActive (binary)&lt;br /&gt;
*NoHubsActive (Count)&lt;br /&gt;
*HubSqFt&lt;br /&gt;
*Other Hub Vars (build list!!!)&lt;br /&gt;
*'''SeedVCInv'''  (Seed/Start-up)&lt;br /&gt;
*'''EarlyVCInv''' (Early Stage)&lt;br /&gt;
*'''LaterStageVC''' (Later)&lt;br /&gt;
*'''OtherStageVC''' (Buyout/Acq, Other)&lt;br /&gt;
*'''NoDeals''' (done by local VCs?)&lt;br /&gt;
**'''NoDealsNear'''&lt;br /&gt;
**'''NoDealsFar'''&lt;br /&gt;
*NoPortCosFunded&lt;br /&gt;
*'''FundsInv''' (in an MSA)&lt;br /&gt;
**'''FundsInvFromNear''' (within MSA?)&lt;br /&gt;
**'''FundsInvFromFar''' (outside MSA?)&lt;br /&gt;
*DistinctInvestors (?)&lt;br /&gt;
**DistinctInvestorsNear (within MSA?)&lt;br /&gt;
**DistinctInvestorsFar (outside MSA?)&lt;br /&gt;
*PatentCount&lt;br /&gt;
*NoSTEMGrads&lt;br /&gt;
*FirmBirths (BDS data)&lt;br /&gt;
*UniRandDSpend&lt;br /&gt;
*PerCapitaIncome&lt;br /&gt;
*Employment&lt;br /&gt;
&lt;br /&gt;
We need to:&lt;br /&gt;
*Check funds invested means dollars invested&lt;br /&gt;
*Categorize near and far! Is it within MSA vs. not, within adjacent MSAs, etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be a second dataset that has Hub-Industry-Year (where industry is semiconductor/non-semiconductor?).&lt;br /&gt;
&lt;br /&gt;
===Final Primary Data Set===&lt;br /&gt;
&lt;br /&gt;
*Deal is a round syndicate (near/far deal is one investor that is near/far).&lt;br /&gt;
&lt;br /&gt;
Table name: finaldataset&lt;br /&gt;
 cmsa&lt;br /&gt;
 year&lt;br /&gt;
 totalamountinv--total amount invested &lt;br /&gt;
 nearamountinv--amount invested from local funds&lt;br /&gt;
 faramountinv-- amount invested from funds outside CMSA &lt;br /&gt;
 earlyinv--amount invested in early stage companies &lt;br /&gt;
 laterinv--amount invested in later stage companies &lt;br /&gt;
 startupseedinv--amount invested in seed or startup stage companies &lt;br /&gt;
 otherstageinv--amount invested in Acquisition/Buy-outs/Other stage companies &lt;br /&gt;
 investingfund--distinct funds that are investing in that CMSA-year &lt;br /&gt;
 investingfundnear--distinct funds from that CMSA that invested in that CMSA-year &lt;br /&gt;
 investingfundfar--distinct funds from outside that CMSA that invested in that CMSA-year &lt;br /&gt;
 deals--number of deals &lt;br /&gt;
 neardeals--number of deals inside a CMSA &lt;br /&gt;
 fardeals--number of deals from outside a CMSA --some of these deals might count in both categories, because of syndicate members being both inside and outside the CMSA&lt;br /&gt;
 earlystagedeals--deals with earlystage companies&lt;br /&gt;
 laterstagedeals--deals with later stage companies &lt;br /&gt;
 startupseeddeals--deals with startup/seed companies &lt;br /&gt;
 otherstagedeals--deals with companies in other stages &lt;br /&gt;
 newportcosfunded--number of portfolio companies to receive their first investment in that year&lt;br /&gt;
&lt;br /&gt;
===Data by zip code===&lt;br /&gt;
*Population data, 2000-2016 - US Census Bureau (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www2.census.gov/programs-surveys/popest/datasets/&lt;br /&gt;
*Income data, 1998-2014 - The Internal Revenue Service (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
https://www.irs.gov/uac/about-irs&lt;br /&gt;
*DCI index, to assess the economic well-being of communities&lt;br /&gt;
http://eig.org/dci/interactive-maps/u-s-zip-codes&lt;br /&gt;
*R&amp;amp;D Expenses, 1980-2016 - Wharton Research Data Services (E:\McNair\Hubs\summer 2017)&lt;br /&gt;
*Zipcode look-up table obtained from https://www.unitedstateszipcodes.org/zip-code-database/. It's available in (E:\McNair\Hubs\summer 2017).&lt;br /&gt;
&lt;br /&gt;
== Data by MSA ==&lt;br /&gt;
&lt;br /&gt;
We have principle cities of MSAs from the census:&lt;br /&gt;
https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html&lt;br /&gt;
&lt;br /&gt;
We might be able to go City -&amp;gt; FIPS place code -&amp;gt; MSA?&lt;br /&gt;
&lt;br /&gt;
Cities and their FIPS codes (which don't perfectly correspond) are available from https://www.census.gov/geo/reference/codes/place.html&lt;br /&gt;
&lt;br /&gt;
The Census claims to provide city to MSA here: https://www.census.gov/geo/maps-data/data/ua_rel_download.html&lt;br /&gt;
However, there is only CBSA!&lt;br /&gt;
&lt;br /&gt;
This might do it: https://www2.census.gov/geo/pdfs/maps-data/data/rel/explanation_ua_cbsa_rel_10.pdf&lt;br /&gt;
We can maybe track city to principal city to MSA&lt;br /&gt;
&lt;br /&gt;
==COMPUSTAT Data==&lt;br /&gt;
&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: COMPUSTAT.sql&lt;br /&gt;
&lt;br /&gt;
The source file is RandDExpenditures.txt. It contains:&lt;br /&gt;
*Date from 1980-2017 (July). All COMPUSTAT.&lt;br /&gt;
*427799 records&lt;br /&gt;
*Fields include:&lt;br /&gt;
**R&amp;amp;D Expenditure&lt;br /&gt;
**Address (inc. city, zip, state)&lt;br /&gt;
&lt;br /&gt;
Output file is COMPUSTATSummary.txt. It contains:&lt;br /&gt;
*Variables: City, year, No.public firms, sum R&amp;amp;D, sum Sales, sum total assets&lt;br /&gt;
*1979-2016&lt;br /&gt;
*4440 cities&lt;br /&gt;
&lt;br /&gt;
==NSF Data==&lt;br /&gt;
Data is in:&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: nsf_2017.sql&lt;br /&gt;
&lt;br /&gt;
The source files are: nsf2017.txt, copied from table '''nsf''', and nsf_institution copied from table '''nsf_grants_institution''' from the biotech db.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*Award ID&lt;br /&gt;
*Award Institution&lt;br /&gt;
*Award Effective date&lt;br /&gt;
*Institution city&lt;br /&gt;
*Award Value&lt;br /&gt;
*Organization state code&lt;br /&gt;
From 1900 - 2017&lt;br /&gt;
&lt;br /&gt;
Output file is nsfSummary.txt. It contains:&lt;br /&gt;
*Variables: City, State code year, nsf_nogrants, nsf_valuegrant &lt;br /&gt;
*1900-2017&lt;br /&gt;
&lt;br /&gt;
==NIH Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: nih2017.sql&lt;br /&gt;
The source files are: &lt;br /&gt;
*nih_1986_2001.csv&lt;br /&gt;
*nih_2002_2012.txt&lt;br /&gt;
*nih_2013_2015&lt;br /&gt;
located in E:\McNair\Projects\Federal Grant Data\NIH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script that cleans NIH data and generates the summary table is titled '''nihSummary'''. It is located here:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
This table includes&lt;br /&gt;
*year&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*country&lt;br /&gt;
*nogrants (number of grants)&lt;br /&gt;
*valuegrant&lt;br /&gt;
*city_state (the city-state ID that we'll merge on)&lt;br /&gt;
&lt;br /&gt;
*Date from 1986-2015&lt;br /&gt;
&lt;br /&gt;
==Clinical Trials Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: ctrials.sql&lt;br /&gt;
The source file is: &lt;br /&gt;
&lt;br /&gt;
*medclinical.txt&lt;br /&gt;
&lt;br /&gt;
located in Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
*Date from 1999-2017&lt;br /&gt;
&lt;br /&gt;
===Joined clinical trials data===&lt;br /&gt;
&lt;br /&gt;
The file which contains the number of trials in each city and year is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
 &lt;br /&gt;
The file is in:&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The name of the file is:&lt;br /&gt;
  ctrialsSummary.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*year&lt;br /&gt;
*city_state_year&lt;br /&gt;
*noctrials - number of trials&lt;br /&gt;
&lt;br /&gt;
The ctrials is joined with VC table. &lt;br /&gt;
The joined SQL script is: '''new_ctrials.sql''' and it is located in&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The name of the joined table is '''new_merged_ctrials'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*year&lt;br /&gt;
*noctrials&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
==Population Data==&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs&lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
&lt;br /&gt;
SQL script is: '''population.sql'''&lt;br /&gt;
The source files are: &lt;br /&gt;
*pop2000_2009.xlsx&lt;br /&gt;
*pop2010_2016.xlsx&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*State&lt;br /&gt;
*City name	&lt;br /&gt;
*Year	&lt;br /&gt;
*Population Estimates&lt;br /&gt;
&lt;br /&gt;
Date from 2000-2016&lt;br /&gt;
&lt;br /&gt;
===Joined population data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
The file names are &lt;br /&gt;
 1_population.txt - contains data on population estimates from 2000-2009&lt;br /&gt;
 2_population.txt - contains data on population estimates from 2010-2016&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_population.sql''', located in &lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The population table is joined on VC table. The table is called '''new_merged_population'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Population estimates&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*State full name&lt;br /&gt;
&lt;br /&gt;
==Income Data==&lt;br /&gt;
&lt;br /&gt;
Raw data was obtained from Census data, American Communities Survey.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\MSA Income_raw.zip &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The master list with MSAs and principal cities is titled '''list2.xls'''. It is located at:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
This master list includes:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA name&lt;br /&gt;
*Principal City&lt;br /&gt;
*State&lt;br /&gt;
*Place code (city code)&lt;br /&gt;
*State Code&lt;br /&gt;
&lt;br /&gt;
This master list was edited to associate each principal city with a unique state. E.g. if New York is the principal city located in New York-New Jersey MSA, it was associated with state NY-NJ. So '''list''' was edited to put New York with NY. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cleaned Income data files are in&lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The MSA-City-State look up file is titled '''msa_city_state_wcode.txt'''. It is located in &lt;br /&gt;
 Z:\Hubs\2017\merging_on_ID &lt;br /&gt;
&lt;br /&gt;
The SQL file that merges income data from ACS (by MSA - Year) with the MSA-City file is titled '''income.sql'''. It is located here:&lt;br /&gt;
 Z:\Hubs\2017\sql scripts&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
The final income table is in db '''cities''' titled '''merged_income'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Year&lt;br /&gt;
*Total Household Income &lt;br /&gt;
&lt;br /&gt;
The table includes 8780 observations&lt;br /&gt;
&lt;br /&gt;
===Joined income data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 INC_05.txt - INC_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: merged_income.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*Income&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==Employment Data==&lt;br /&gt;
&lt;br /&gt;
Data on employment was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\Employment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data  &lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Employment rate of individuals 16 years or older&lt;br /&gt;
*Unemployment rate of individuals 16 years or older&lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges employment data from ACS (by MSA - Year) with the MSA-City file is titled '''Employment.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Employment rate&lt;br /&gt;
*Unemployment rate&lt;br /&gt;
&lt;br /&gt;
===Joined employment data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
 &lt;br /&gt;
The file names are:&lt;br /&gt;
 EMP_05.txt - EMP_15.txt &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script is: '''new_employment.sql''' and it is located in &lt;br /&gt;
Z:\Hubs\2017\sql scripts&lt;br /&gt;
&lt;br /&gt;
The final table which is joined on VC is in db cities titled '''new_merged_employment'''.&lt;br /&gt;
&lt;br /&gt;
They contain:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Employment rates of individuals of 16 years or older&lt;br /&gt;
*Unemployment rates of individuals of 16 years or older&lt;br /&gt;
*Year&lt;br /&gt;
&lt;br /&gt;
==Schooling Data==&lt;br /&gt;
&lt;br /&gt;
Data on schooling was obtained from American Communities Survey, US Census Bureau.&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
 E:\McNair\Projects\Hubs\Summer 2017\School Enrollment Data by MSA&lt;br /&gt;
Cleaned files are in&lt;br /&gt;
 Z:\Hubs\2017\clean data&lt;br /&gt;
 &lt;br /&gt;
They contain:&lt;br /&gt;
*MSA code&lt;br /&gt;
*MSA&lt;br /&gt;
*Year	&lt;br /&gt;
*Total number of population 3 years and over enrolled in school&lt;br /&gt;
*Percent of population 3 years and over enrolled in public school&lt;br /&gt;
*Percent of population 3 years and over enrolled in private school &lt;br /&gt;
&lt;br /&gt;
Date from 2005-2015&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges schooling data from ACS (by MSA - Year) with the MSA-City file is titled '''schooling.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*MSA&lt;br /&gt;
*City&lt;br /&gt;
*Year&lt;br /&gt;
*Total&lt;br /&gt;
*Percent_public_schooling&lt;br /&gt;
*Percent_private_schooling&lt;br /&gt;
&lt;br /&gt;
===Joined schooling data===&lt;br /&gt;
&lt;br /&gt;
Data is in: &lt;br /&gt;
 Z:\Hubs\clean data&lt;br /&gt;
The file names are:&lt;br /&gt;
 SCH_05.txt - SCH_15.txt&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Database is '''cities'''&lt;br /&gt;
SQL script which joins this table with VC table is: '''new_merged_schooling.sql'''&lt;br /&gt;
The final table is in db '''cities''' titled '''new_merged_schooling'''.&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*City&lt;br /&gt;
*State&lt;br /&gt;
*city_state_id to uniquely identify each city&lt;br /&gt;
*city_state_year to uniquely identify each city in each year&lt;br /&gt;
*Total number of school enrollment&lt;br /&gt;
*Percentage enrolled in public schools&lt;br /&gt;
*Percentage enrolled in private schools&lt;br /&gt;
*Year&lt;br /&gt;
*Code from the state code and Fips code&lt;br /&gt;
&lt;br /&gt;
==VC Data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Raw Data is in: &lt;br /&gt;
  Z:\VentureCapitalData\SDCVCData&lt;br /&gt;
  The file name is roundcitystateyear.txt&lt;br /&gt;
&lt;br /&gt;
It contains:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*year&lt;br /&gt;
*seedamtm - seed, amount in millions&lt;br /&gt;
*earlyamtm - early, amount in millions&lt;br /&gt;
*lateramtm - late, amount in millions&lt;br /&gt;
*selamtm - seed early late, amount in millions&lt;br /&gt;
*numseeds - number of seeds&lt;br /&gt;
*numearly &lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Date from 1953-2017&lt;br /&gt;
&lt;br /&gt;
The SQL file that merges VC data with the MSA-City file is titled '''vc.sql'''. &lt;br /&gt;
The file is located in:&lt;br /&gt;
 Z:\Hubs\2017&lt;br /&gt;
&lt;br /&gt;
The final table is in db '''cities''' titled '''vc_city_state_year'''.&lt;br /&gt;
&lt;br /&gt;
It includes:&lt;br /&gt;
*city&lt;br /&gt;
*state&lt;br /&gt;
*city_state_id&lt;br /&gt;
*city_state_year&lt;br /&gt;
*seedamtm&lt;br /&gt;
*earlyamtm&lt;br /&gt;
*lateramtm&lt;br /&gt;
*selamtm&lt;br /&gt;
*numseeds&lt;br /&gt;
*numearly&lt;br /&gt;
*numlater&lt;br /&gt;
*numsel&lt;br /&gt;
*year&lt;/div&gt;</summary>
		<author><name>KerdaV</name></author>
		
	</entry>
</feed>