<?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=Marcoslee</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=Marcoslee"/>
	<link rel="alternate" type="text/html" href="http://www.edegan.com/wiki/Special:Contributions/Marcoslee"/>
	<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=VC_Startup_Matching_Stata_Work&amp;diff=24007</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24007"/>
		<updated>2018-08-22T20:08:22Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Paralelization of Matlab Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
THIS IS OBSOLETE AS OF NEW SQL CODE&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The end result is a table that lists all matches that could have occurred in every possible market, including the real one.&lt;br /&gt;
&lt;br /&gt;
First, we need to exactly define what a market is. In this case, a market consists of all matches that occurred in a year and within a industry sector, usually defined by a code. Therefore, the size and type of market hinges on what industry code is being used.&lt;br /&gt;
&lt;br /&gt;
There are three categories, each one more granular, that defines a startup industry. The broader one is the industry class'with 3 categories, 'Information Technology', 'Medical/Health/Life Science' and 'Non-High Tech'. After that there is the Minor group, with categories such as Communications and Media, Computer Hardware, or Biotech, or Consumer Related. After that, the finer one is the Subgroup, which gets very specific, like Wireless Communication Services or Medical Imaging.&lt;br /&gt;
&lt;br /&gt;
A industry code is then a 4-digit number, where the first belongs to the industry Class, the second to the industry Minor group and the last two to the Subgroup. We aggregate Subgroups with less than 20 observations (ie, number of startups) in an 'Other' category to create 'code20', and an analogous 'code100' for less than 100 observations.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all the firms in its market, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100/20 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The code that does this is called 'CreatingLPM_withoutsyn.sql' when using code100, and 'CreatingLPM_withoutsyn_code20.sql'. Augi reworked and streamlined it.&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
At the end of the code, we also create a LPM dataset, instead of having to do a manual reshape in Stata.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===Histograms===&lt;br /&gt;
&lt;br /&gt;
The code 'Histograms.sql' exports two tables to&lt;br /&gt;
&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
&lt;br /&gt;
called 'DistribCode100.sql' and 'DistribCode20.sql'. After that, I import them into Excel and create histograms to characterize the distribution of market size. The excel file is in&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reduced Form Analysis of the Dataset==&lt;br /&gt;
&lt;br /&gt;
An extensive reduced form analysis was employed with a lot of back and forth feedback between Jeremy Fox and Ed Egan and me. I documented everything I did in a pdf file generated from LaTeX. Since converting it to Wiki format would be too cumbersome, including converting multiple tables and figures, I've decided it is better to host the latex files and pdf in the folder below&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Pdf&lt;br /&gt;
&lt;br /&gt;
Everything necessary to produce the pdf file is there. Open the .tex file 'regressions.tex' and build it using your preferred latex compiler. A very easy option is to use some online compiler.&lt;br /&gt;
&lt;br /&gt;
==Paralelization of Matlab Code==&lt;br /&gt;
&lt;br /&gt;
This was done by [[Wei Wu]]. I will briefly summarize what he told me.&lt;br /&gt;
&lt;br /&gt;
His main objective was to paralelize as much as possible Chenyu's code in Matlab. Apparently, this was done successfully. What changed is documented in [[Parallelize msmf corr coeff.m]].&lt;br /&gt;
&lt;br /&gt;
He also had two other projects that did not end up working. One was to use the GPU to speed up even more the code. The reasons are well documented in [[Matlab, CUDA, and GPU Computing]]. &lt;br /&gt;
&lt;br /&gt;
Finally, he also tried expanding the paralelization by using NOTS (Night Owls Time-Sharing Service), a computing cluster. Since the paralelization was succesful, expanding the number of cores available was the logical next step. He ran into problems which I couldn't understand very well. Additionally, NOTS is not Windows-friendly. Check [[NOTS Computing for Matching Entrepreneurs to VCs]] for more.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24006</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24006"/>
		<updated>2018-08-22T20:01:10Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
THIS IS OBSOLETE AS OF NEW SQL CODE&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The end result is a table that lists all matches that could have occurred in every possible market, including the real one.&lt;br /&gt;
&lt;br /&gt;
First, we need to exactly define what a market is. In this case, a market consists of all matches that occurred in a year and within a industry sector, usually defined by a code. Therefore, the size and type of market hinges on what industry code is being used.&lt;br /&gt;
&lt;br /&gt;
There are three categories, each one more granular, that defines a startup industry. The broader one is the industry class'with 3 categories, 'Information Technology', 'Medical/Health/Life Science' and 'Non-High Tech'. After that there is the Minor group, with categories such as Communications and Media, Computer Hardware, or Biotech, or Consumer Related. After that, the finer one is the Subgroup, which gets very specific, like Wireless Communication Services or Medical Imaging.&lt;br /&gt;
&lt;br /&gt;
A industry code is then a 4-digit number, where the first belongs to the industry Class, the second to the industry Minor group and the last two to the Subgroup. We aggregate Subgroups with less than 20 observations (ie, number of startups) in an 'Other' category to create 'code20', and an analogous 'code100' for less than 100 observations.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all the firms in its market, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100/20 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The code that does this is called 'CreatingLPM_withoutsyn.sql' when using code100, and 'CreatingLPM_withoutsyn_code20.sql'. Augi reworked and streamlined it.&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
At the end of the code, we also create a LPM dataset, instead of having to do a manual reshape in Stata.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===Histograms===&lt;br /&gt;
&lt;br /&gt;
The code 'Histograms.sql' exports two tables to&lt;br /&gt;
&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
&lt;br /&gt;
called 'DistribCode100.sql' and 'DistribCode20.sql'. After that, I import them into Excel and create histograms to characterize the distribution of market size. The excel file is in&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reduced Form Analysis of the Dataset==&lt;br /&gt;
&lt;br /&gt;
An extensive reduced form analysis was employed with a lot of back and forth feedback between Jeremy Fox and Ed Egan and me. I documented everything I did in a pdf file generated from LaTeX. Since converting it to Wiki format would be too cumbersome, including converting multiple tables and figures, I've decided it is better to host the latex files and pdf in the folder below&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Pdf&lt;br /&gt;
&lt;br /&gt;
Everything necessary to produce the pdf file is there. Open the .tex file 'regressions.tex' and build it using your preferred latex compiler. A very easy option is to use some online compiler.&lt;br /&gt;
&lt;br /&gt;
==Paralelization of Matlab Code==&lt;br /&gt;
&lt;br /&gt;
This was done by [[Wei Wu]]&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24005</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24005"/>
		<updated>2018-08-22T19:51:16Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Building new Dataset in SQL for a Linear Probability Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
THIS IS OBSOLETE AS OF NEW SQL CODE&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The end result is a table that lists all matches that could have occurred in every possible market, including the real one.&lt;br /&gt;
&lt;br /&gt;
First, we need to exactly define what a market is. In this case, a market consists of all matches that occurred in a year and within a industry sector, usually defined by a code. Therefore, the size and type of market hinges on what industry code is being used.&lt;br /&gt;
&lt;br /&gt;
There are three categories, each one more granular, that defines a startup industry. The broader one is the industry class'with 3 categories, 'Information Technology', 'Medical/Health/Life Science' and 'Non-High Tech'. After that there is the Minor group, with categories such as Communications and Media, Computer Hardware, or Biotech, or Consumer Related. After that, the finer one is the Subgroup, which gets very specific, like Wireless Communication Services or Medical Imaging.&lt;br /&gt;
&lt;br /&gt;
A industry code is then a 4-digit number, where the first belongs to the industry Class, the second to the industry Minor group and the last two to the Subgroup. We aggregate Subgroups with less than 20 observations (ie, number of startups) in an 'Other' category to create 'code20', and an analogous 'code100' for less than 100 observations.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all the firms in its market, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100/20 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The code that does this is called 'CreatingLPM_withoutsyn.sql' when using code100, and 'CreatingLPM_withoutsyn_code20.sql'. Augi reworked and streamlined it.&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
At the end of the code, we also create a LPM dataset, instead of having to do a manual reshape in Stata.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===Histograms===&lt;br /&gt;
&lt;br /&gt;
The code 'Histograms.sql' exports two tables to&lt;br /&gt;
&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
&lt;br /&gt;
called 'DistribCode100.sql' and 'DistribCode20.sql'. After that, I import them into Excel and create histograms to characterize the distribution of market size. The excel file is in&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24004</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24004"/>
		<updated>2018-08-22T19:47:12Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Linear Probability Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
THIS IS OBSOLETE AS OF NEW SQL CODE&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The end result is a table that lists all matches that could have occurred in every possible market, including the real one.&lt;br /&gt;
&lt;br /&gt;
First, we need to exactly define what a market is. In this case, a market consists of all matches that occurred in a year and within a industry sector, usually defined by a code. Therefore, the size and type of market hinges on what industry code is being used.&lt;br /&gt;
&lt;br /&gt;
There are three categories, each one more granular, that defines a startup industry. The broader one is the industry class'with 3 categories, 'Information Technology', 'Medical/Health/Life Science' and 'Non-High Tech'. After that there is the Minor group, with categories such as Communications and Media, Computer Hardware, or Biotech, or Consumer Related. After that, the finer one is the Subgroup, which gets very specific, like Wireless Communication Services or Medical Imaging.&lt;br /&gt;
&lt;br /&gt;
A industry code is then a 4-digit number, where the first belongs to the industry Class, the second to the industry Minor group and the last two to the Subgroup. We aggregate Subgroups with less than 20 observations (ie, number of startups) in an 'Other' category to create 'code20', and an analogous 'code100' for less than 100 observations.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all the firms in its market, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100/20 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The code that does this is called 'CreatingLPM_withoutsyn.sql' when using code100, and 'CreatingLPM_withoutsyn_code20.sql'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Histograms===&lt;br /&gt;
&lt;br /&gt;
The code 'Histograms.sql' exports two tables to&lt;br /&gt;
&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
&lt;br /&gt;
called 'DistribCode100.sql' and 'DistribCode20.sql'. After that, I import them into Excel and create histograms to characterize the distribution of market size. The excel file is in&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24003</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=24003"/>
		<updated>2018-08-22T19:46:59Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Linear Probability Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
THIS IS OBSELETE AS OF NEW SQL CODE&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The end result is a table that lists all matches that could have occurred in every possible market, including the real one.&lt;br /&gt;
&lt;br /&gt;
First, we need to exactly define what a market is. In this case, a market consists of all matches that occurred in a year and within a industry sector, usually defined by a code. Therefore, the size and type of market hinges on what industry code is being used.&lt;br /&gt;
&lt;br /&gt;
There are three categories, each one more granular, that defines a startup industry. The broader one is the industry class'with 3 categories, 'Information Technology', 'Medical/Health/Life Science' and 'Non-High Tech'. After that there is the Minor group, with categories such as Communications and Media, Computer Hardware, or Biotech, or Consumer Related. After that, the finer one is the Subgroup, which gets very specific, like Wireless Communication Services or Medical Imaging.&lt;br /&gt;
&lt;br /&gt;
A industry code is then a 4-digit number, where the first belongs to the industry Class, the second to the industry Minor group and the last two to the Subgroup. We aggregate Subgroups with less than 20 observations (ie, number of startups) in an 'Other' category to create 'code20', and an analogous 'code100' for less than 100 observations.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all the firms in its market, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100/20 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The code that does this is called 'CreatingLPM_withoutsyn.sql' when using code100, and 'CreatingLPM_withoutsyn_code20.sql'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Histograms===&lt;br /&gt;
&lt;br /&gt;
The code 'Histograms.sql' exports two tables to&lt;br /&gt;
&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
&lt;br /&gt;
called 'DistribCode100.sql' and 'DistribCode20.sql'. After that, I import them into Excel and create histograms to characterize the distribution of market size. The excel file is in&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=23900</id>
		<title>Marcos Ki Hyung Lee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=23900"/>
		<updated>2018-08-03T19:20:33Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Staff&lt;br /&gt;
|position=Research Team&lt;br /&gt;
|name=Marcos Ki Hyung Lee&lt;br /&gt;
|user_image=marcosleepic.jpg&lt;br /&gt;
|degree=Ph.D.&lt;br /&gt;
|major=Economics&lt;br /&gt;
|class=2022&lt;br /&gt;
|join_date=07/2018&lt;br /&gt;
|skills=Econometrics,&lt;br /&gt;
|interests=Underground urban sub-cultures, Hiking, Jazz, Live Music, Math, Postmodernism in literature, Movies,&lt;br /&gt;
|email=marcos.lee@rice.edu&lt;br /&gt;
|status=Active&lt;br /&gt;
}}&lt;br /&gt;
==Summer 2018==&lt;br /&gt;
[[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
[[VC Startup Matching Stata Work]]&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23844</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23844"/>
		<updated>2018-07-30T21:38:37Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Building new Dataset in SQL for a Linear Probability Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The end result is a table that lists all matches that could have occurred in every possible market, including the real one.&lt;br /&gt;
&lt;br /&gt;
First, we need to exactly define what a market is. In this case, a market consists of all matches that occurred in a year and within a industry sector, usually defined by a code. Therefore, the size and type of market hinges on what industry code is being used.&lt;br /&gt;
&lt;br /&gt;
There are three categories, each one more granular, that defines a startup industry. The broader one is the industry class'with 3 categories, 'Information Technology', 'Medical/Health/Life Science' and 'Non-High Tech'. After that there is the Minor group, with categories such as Communications and Media, Computer Hardware, or Biotech, or Consumer Related. After that, the finer one is the Subgroup, which gets very specific, like Wireless Communication Services or Medical Imaging.&lt;br /&gt;
&lt;br /&gt;
A industry code is then a 4-digit number, where the first belongs to the industry Class, the second to the industry Minor group and the last two to the Subgroup. We aggregate Subgroups with less than 20 observations (ie, number of startups) in an 'Other' category to create 'code20', and an analogous 'code100' for less than 100 observations.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all the firms in its market, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100/20 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The code that does this is called 'CreatingLPM_withoutsyn.sql' when using code100, and 'CreatingLPM_withoutsyn_code20.sql'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Histograms===&lt;br /&gt;
&lt;br /&gt;
The code 'Histograms.sql' exports two tables to&lt;br /&gt;
&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2&lt;br /&gt;
&lt;br /&gt;
called 'DistribCode100.sql' and 'DistribCode20.sql'. After that, I import them into Excel and create histograms to characterize the distribution of market size. The excel file is in&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23838</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23838"/>
		<updated>2018-07-30T21:16:26Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* By Date */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
==Notes from Ed==&lt;br /&gt;
&lt;br /&gt;
Please build and link to a project page for the STATA analysis!&lt;br /&gt;
&lt;br /&gt;
Also, if/when you make changes to a sql file, please:&lt;br /&gt;
#Run them through or make it clear that you haven't with comments&lt;br /&gt;
#Let me know by posting it on a project page and linking to in your work log. &lt;br /&gt;
Otherwise, we are both going to be making conflicting changes to the same files.&lt;br /&gt;
&lt;br /&gt;
==By Date==&lt;br /&gt;
&lt;br /&gt;
'''Project Page''': [[VC Startup Matching Stata Work]]&lt;br /&gt;
&lt;br /&gt;
'''2018-07-23 until 07-27:'''&lt;br /&gt;
&lt;br /&gt;
This week was dedicated to refining the Linear Probability Model and the reduced form evidence that I did for Jeremy.&lt;br /&gt;
&lt;br /&gt;
I added extensive notes to the interpretation of the coefficients of each model that was estimated as requested by Jeremy. I adjusted for small technicalities in each model.&lt;br /&gt;
&lt;br /&gt;
Additionally, after a call with Ed, I checked the distribution of market size when using either year-code100 or year-code20 as market definition. See Project Page for more on this.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11 until 07-20:'''&lt;br /&gt;
&lt;br /&gt;
Basically spent this entire week working out the code to build the LPM dataset. Detailed description of code and dataset on project page.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Created a new SQL code to build the LPM dataset. Sent it to Ed Egan to check.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-12:'''&lt;br /&gt;
&lt;br /&gt;
Sick day.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Skype meeting with Ed Egan to discuss new dataset. Need to build a broader dataset for running the LPM model. Started studying the SQL code and thinking about the necessary changes to get the desired dataset.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-10:'''&lt;br /&gt;
&lt;br /&gt;
Investigated the reasons of why the LPM model is not giving the expected results.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-06:'''&lt;br /&gt;
&lt;br /&gt;
Received new suggestions from Fox.&lt;br /&gt;
&lt;br /&gt;
Started rewriting the report following comments from Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-05:'''&lt;br /&gt;
&lt;br /&gt;
Wrote a report with all the results so far by request from Jeremy Fox and sent it to him.&lt;br /&gt;
&lt;br /&gt;
Also added a LPM model to the analysis, by suggestion from Jeremy Fox, although I suspect there is something wrong with the way I built the dataset needed for it. Emailed my worries to Fox.&lt;br /&gt;
&lt;br /&gt;
After meeting with Ed Egan, changed the SQL code when building the history variables from VCs. Instead of subtracting 1 from the sum of all portcos that worked with the VC, now we do not subtract and instead of using weak inequality when LEFT JOINing, we use strict inequality.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23749</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23749"/>
		<updated>2018-07-24T20:41:47Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* By Date */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
==Notes from Ed==&lt;br /&gt;
&lt;br /&gt;
Please build and link to a project page for the STATA analysis!&lt;br /&gt;
&lt;br /&gt;
Also, if/when you make changes to a sql file, please:&lt;br /&gt;
#Run them through or make it clear that you haven't with comments&lt;br /&gt;
#Let me know by posting it on a project page and linking to in your work log. &lt;br /&gt;
Otherwise, we are both going to be making conflicting changes to the same files.&lt;br /&gt;
&lt;br /&gt;
==By Date==&lt;br /&gt;
&lt;br /&gt;
'''Project Page''': [[VC Startup Matching Stata Work]]&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11 until 07-20:'''&lt;br /&gt;
&lt;br /&gt;
Basically spent this entire week working out the code to build the LPM dataset. Detailed description of code and dataset on project page.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Created a new SQL code to build the LPM dataset. Sent it to Ed Egan to check.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-12:'''&lt;br /&gt;
&lt;br /&gt;
Sick day.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Skype meeting with Ed Egan to discuss new dataset. Need to build a broader dataset for running the LPM model. Started studying the SQL code and thinking about the necessary changes to get the desired dataset.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-10:'''&lt;br /&gt;
&lt;br /&gt;
Investigated the reasons of why the LPM model is not giving the expected results.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-06:'''&lt;br /&gt;
&lt;br /&gt;
Received new suggestions from Fox.&lt;br /&gt;
&lt;br /&gt;
Started rewriting the report following comments from Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-05:'''&lt;br /&gt;
&lt;br /&gt;
Wrote a report with all the results so far by request from Jeremy Fox and sent it to him.&lt;br /&gt;
&lt;br /&gt;
Also added a LPM model to the analysis, by suggestion from Jeremy Fox, although I suspect there is something wrong with the way I built the dataset needed for it. Emailed my worries to Fox.&lt;br /&gt;
&lt;br /&gt;
After meeting with Ed Egan, changed the SQL code when building the history variables from VCs. Instead of subtracting 1 from the sum of all portcos that worked with the VC, now we do not subtract and instead of using weak inequality when LEFT JOINing, we use strict inequality.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23699</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23699"/>
		<updated>2018-07-20T21:38:38Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Building new Dataset in SQL for a Linear Probability Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\SQL\&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
We want to create a table that lists for each unique portco all its eligible firms, ie, active in the year it had its first investment from the real matched VC and that had invested in a portco of the same code100 in that year.&lt;br /&gt;
&lt;br /&gt;
After that we can simply append/union the real match table and calculate the variables from the original dataset on this new table.&lt;br /&gt;
&lt;br /&gt;
The final code is called 'CreatingLPM_withoutsyn.sql'&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23660</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23660"/>
		<updated>2018-07-19T22:51:01Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* By Date */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
==Notes from Ed==&lt;br /&gt;
&lt;br /&gt;
Please build and link to a project page for the STATA analysis!&lt;br /&gt;
&lt;br /&gt;
Also, if/when you make changes to a sql file, please:&lt;br /&gt;
#Run them through or make it clear that you haven't with comments&lt;br /&gt;
#Let me know by posting it on a project page and linking to in your work log. &lt;br /&gt;
Otherwise, we are both going to be making conflicting changes to the same files.&lt;br /&gt;
&lt;br /&gt;
==By Date==&lt;br /&gt;
&lt;br /&gt;
'''Project Page''': [[VC Startup Matching Stata Work]]&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11 until 07-19:'''&lt;br /&gt;
&lt;br /&gt;
Basically spent this entire week working out the code to build the LPM dataset. Detailed description of code and dataset on project page.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Created a new SQL code to build the LPM dataset. Sent it to Ed Egan to check.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-12:'''&lt;br /&gt;
&lt;br /&gt;
Sick day.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Skype meeting with Ed Egan to discuss new dataset. Need to build a broader dataset for running the LPM model. Started studying the SQL code and thinking about the necessary changes to get the desired dataset.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-10:'''&lt;br /&gt;
&lt;br /&gt;
Investigated the reasons of why the LPM model is not giving the expected results.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-06:'''&lt;br /&gt;
&lt;br /&gt;
Received new suggestions from Fox.&lt;br /&gt;
&lt;br /&gt;
Started rewriting the report following comments from Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-05:'''&lt;br /&gt;
&lt;br /&gt;
Wrote a report with all the results so far by request from Jeremy Fox and sent it to him.&lt;br /&gt;
&lt;br /&gt;
Also added a LPM model to the analysis, by suggestion from Jeremy Fox, although I suspect there is something wrong with the way I built the dataset needed for it. Emailed my worries to Fox.&lt;br /&gt;
&lt;br /&gt;
After meeting with Ed Egan, changed the SQL code when building the history variables from VCs. Instead of subtracting 1 from the sum of all portcos that worked with the VC, now we do not subtract and instead of using weak inequality when LEFT JOINing, we use strict inequality.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23557</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23557"/>
		<updated>2018-07-13T20:39:16Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
==Notes from Ed==&lt;br /&gt;
&lt;br /&gt;
Please build and link to a project page for the STATA analysis!&lt;br /&gt;
&lt;br /&gt;
Also, if/when you make changes to a sql file, please:&lt;br /&gt;
#Run them through or make it clear that you haven't with comments&lt;br /&gt;
#Let me know by posting it on a project page and linking to in your work log. &lt;br /&gt;
Otherwise, we are both going to be making conflicting changes to the same files.&lt;br /&gt;
&lt;br /&gt;
==By Date==&lt;br /&gt;
&lt;br /&gt;
'''Project Page''': [[VC Startup Matching Stata Work]]&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Created a new SQL code to build the LPM dataset. Sent it to Ed Egan to check.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-12:'''&lt;br /&gt;
&lt;br /&gt;
Sick day.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-11:'''&lt;br /&gt;
&lt;br /&gt;
Skype meeting with Ed Egan to discuss new dataset. Need to build a broader dataset for running the LPM model. Started studying the SQL code and thinking about the necessary changes to get the desired dataset.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-10:'''&lt;br /&gt;
&lt;br /&gt;
Investigated the reasons of why the LPM model is not giving the expected results.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-06:'''&lt;br /&gt;
&lt;br /&gt;
Received new suggestions from Fox.&lt;br /&gt;
&lt;br /&gt;
Started rewriting the report following comments from Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-05:'''&lt;br /&gt;
&lt;br /&gt;
Wrote a report with all the results so far by request from Jeremy Fox and sent it to him.&lt;br /&gt;
&lt;br /&gt;
Also added a LPM model to the analysis, by suggestion from Jeremy Fox, although I suspect there is something wrong with the way I built the dataset needed for it. Emailed my worries to Fox.&lt;br /&gt;
&lt;br /&gt;
After meeting with Ed Egan, changed the SQL code when building the history variables from VCs. Instead of subtracting 1 from the sum of all portcos that worked with the VC, now we do not subtract and instead of using weak inequality when LEFT JOINing, we use strict inequality.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23436</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23436"/>
		<updated>2018-07-11T21:14:51Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Building new Dataset in SQL for a Linear Probability Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The idea is to build, for each startup, a new dataset that matches all VCs that were active in the year it matched with the real VC AND that were in the same Industry 100 code. This new set of synthetic VCs (with VCs characteristics) for each startup will then be appended to the real match dataset.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23435</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23435"/>
		<updated>2018-07-11T21:13:51Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building new Dataset in SQL for a Linear Probability Model==&lt;br /&gt;
&lt;br /&gt;
To run the linear probability model, we need to build a new dataset. This was partially done in the Stata Do-File explained above, but doing it in SQL will give the opportunity to be more flexible when choosing the synthetic match.&lt;br /&gt;
&lt;br /&gt;
The idea is to build, for each startup, a new dataset that matches all VCs that were active in the year it matched with the real VC AND that were in the same Industry 100 code. This new set of synthetic firm for each startup will then be appended to the real match dataset.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23425</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23425"/>
		<updated>2018-07-11T18:06:21Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Preliminary Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset/ SQL code change===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
The code was run again where the tables were used, and a new dataset was created. [[Marcos Ki Hyung Lee (Work Log)]]&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23424</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23424"/>
		<updated>2018-07-11T17:48:35Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and raw output like Stata-to-tex tables are in their respective folders. Written reports in .tex are in the Tex folder.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Preliminary Analysis==&lt;br /&gt;
&lt;br /&gt;
A written report with detailed description of results can be found at&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata\Tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Look at Dataset===&lt;br /&gt;
&lt;br /&gt;
Before attempting to do any statistical analysis, I performed an initial look at the raw dataset to spot possible problems.&lt;br /&gt;
&lt;br /&gt;
There was a mistake in the synthetic VC's count of startups from the same sector and the current match, ie, variables 'synsumprevsamesector', 'synsumprevsameindu', 'synsumprevsameindu20', 'synsumprevsameindu10', as their values contained lots of -1 and 0s. To correct it, I changed the SQL code.&lt;br /&gt;
&lt;br /&gt;
More specifically, when creating table 'FirmnameInduBlowout', when doing the JOIN, the weak inequality was changed to strict inequality. Then, when creating the next table, 'FirmnameRoundInduHist', I removed the subtraction. The same was done to the corresponding synthetic tables.&lt;br /&gt;
&lt;br /&gt;
===Summary Statistics===&lt;br /&gt;
&lt;br /&gt;
Summary statistics were produced using the 'summarystats.do' do-file.&lt;br /&gt;
&lt;br /&gt;
===Linear Probability Model===&lt;br /&gt;
&lt;br /&gt;
A linear probability model was suggested by Jeremy Fox, where Y=1 when the match is real, and Y=0 when the match is synthetic, and independent variables are characteristics from the VCs.&lt;br /&gt;
&lt;br /&gt;
To perform this regression, it is necessary to build a new dataset. This is done on 'lpmsynthetic.do'.&lt;br /&gt;
&lt;br /&gt;
At first look, this looks like a simple case of using the -reshape- function in Stata, since the original dataset is on a 'Wide' format, ie, the synthetic VC and its characteristics for each observation (startup) are variables (columns) itself, and we want to make them into observations (rows), with a dummy indicating when it is a real or synthetic match. However, the -reshape- command does not work with string variable names.&lt;br /&gt;
&lt;br /&gt;
Therefore the do-file performs a manual reshape. After sending the results to Jeremy Fox, he felt that the results were not as expected and suggested some corrections.&lt;br /&gt;
&lt;br /&gt;
===Regressions===&lt;br /&gt;
&lt;br /&gt;
We want to know if VCs are more likely to match with geographically close startups, if patents are good signals for VCs, if VCs prefer&lt;br /&gt;
serial founders and startups with similar demographic characteristics. We also want to know if startups prefer to match with VCs that have previous experience on startups of the same sector and VCs that prefer to invest in startups at their stage.&lt;br /&gt;
&lt;br /&gt;
Since we don't have 'out-of-match' VCs and startups, I decided to do two different types of regressions.&lt;br /&gt;
&lt;br /&gt;
I regress VCs all-time characteristics on their matched startups characteristics of interest, like distance, patents before match, demographic, etc. I am basically trying to see correlations. If 'good' VCs tend to match with very close startups, that had many patents before match, etc, then we can say there is some evidence of positive assortative matching.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if 'good' startups matched with VCs that were within their scope of investment, that had a history of investing in &lt;br /&gt;
similar sectors, then these characteriscs are important for the startups.&lt;br /&gt;
&lt;br /&gt;
Every regression has sector and VC founding year fixed effects.&lt;br /&gt;
&lt;br /&gt;
Also, for all count variables, I've log-transformed it (adding 1 before to account for zeros) as suggested by Ed Egan. For the distance variable, I've also log-transformed it. Continuous variables are not log-transformed because most of them contains zeros, and adding 1 doesn't seem to make much sense.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23423</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23423"/>
		<updated>2018-07-11T16:44:19Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation, following the literature evidence pointed out by David Hsu in the academic paper page.&lt;br /&gt;
&lt;br /&gt;
To do so, I use the Startup-VC match dataset which contains variables regarding the startup, the VC and the match itself.&lt;br /&gt;
&lt;br /&gt;
==Stata Do-Files Guide==&lt;br /&gt;
&lt;br /&gt;
The directory&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
contains all the necessary files to run the analysis. All the raw datasets are in the directory itself, while Do-Files, log-files and output like tex files are in the respective folders.&lt;br /&gt;
&lt;br /&gt;
Regarding Do-Files organization, the first file to be opened has to be 'master.do'. In it, I wrote the necessary globals to make referencing directories easier, while also pointing out any necessary extra packages. In the future, when the analysis is more robust and clear, the general instructions of what each do-file does will be also written in the master do-file.&lt;br /&gt;
&lt;br /&gt;
For now, every do-file is more or less self-descriptive and self-contained.&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23422</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23422"/>
		<updated>2018-07-11T16:29:23Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* By Date */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
==Notes from Ed==&lt;br /&gt;
&lt;br /&gt;
Please build and link to a project page for the STATA analysis!&lt;br /&gt;
&lt;br /&gt;
Also, if/when you make changes to a sql file, please:&lt;br /&gt;
#Run them through or make it clear that you haven't with comments&lt;br /&gt;
#Let me know by posting it on a project page and linking to in your work log. &lt;br /&gt;
Otherwise, we are both going to be making conflicting changes to the same files.&lt;br /&gt;
&lt;br /&gt;
==By Date==&lt;br /&gt;
&lt;br /&gt;
'''Project Page''': [[VC Startup Matching Stata Work]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2018-07-10:'''&lt;br /&gt;
&lt;br /&gt;
Investigated the reasons of why the LPM model is not giving the expected results.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-06:'''&lt;br /&gt;
&lt;br /&gt;
Received new suggestions from Fox.&lt;br /&gt;
&lt;br /&gt;
Started rewriting the report following comments from Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-05:'''&lt;br /&gt;
&lt;br /&gt;
Wrote a report with all the results so far by request from Jeremy Fox and sent it to him.&lt;br /&gt;
&lt;br /&gt;
Also added a LPM model to the analysis, by suggestion from Jeremy Fox, although I suspect there is something wrong with the way I built the dataset needed for it. Emailed my worries to Fox.&lt;br /&gt;
&lt;br /&gt;
After meeting with Ed Egan, changed the SQL code when building the history variables from VCs. Instead of subtracting 1 from the sum of all portcos that worked with the VC, now we do not subtract and instead of using weak inequality when LEFT JOINing, we use strict inequality.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23421</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23421"/>
		<updated>2018-07-11T16:25:56Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* By Date */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
==Notes from Ed==&lt;br /&gt;
&lt;br /&gt;
Please build and link to a project page for the STATA analysis!&lt;br /&gt;
&lt;br /&gt;
Also, if/when you make changes to a sql file, please:&lt;br /&gt;
#Run them through or make it clear that you haven't with comments&lt;br /&gt;
#Let me know by posting it on a project page and linking to in your work log. &lt;br /&gt;
Otherwise, we are both going to be making conflicting changes to the same files.&lt;br /&gt;
&lt;br /&gt;
==By Date==&lt;br /&gt;
&lt;br /&gt;
'''2018-07-10:'''&lt;br /&gt;
&lt;br /&gt;
Investigated the reasons of why the LPM model is not giving the expected results.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-06:'''&lt;br /&gt;
&lt;br /&gt;
Received new suggestions from Fox.&lt;br /&gt;
&lt;br /&gt;
Started rewriting the report following comments from Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-05:'''&lt;br /&gt;
&lt;br /&gt;
Wrote a report with all the results so far by request from Jeremy Fox and sent it to him.&lt;br /&gt;
&lt;br /&gt;
Also added a LPM model to the analysis, by suggestion from Jeremy Fox, although I suspect there is something wrong with the way I built the dataset needed for it. Emailed my worries to Fox.&lt;br /&gt;
&lt;br /&gt;
After meeting with Ed Egan, changed the SQL code when building the history variables from VCs. Instead of subtracting 1 from the sum of all portcos that worked with the VC, now we do not subtract and instead of using weak inequality when LEFT JOINing, we use strict inequality.&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23313</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23313"/>
		<updated>2018-07-04T17:49:42Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-07-04:'''&lt;br /&gt;
&lt;br /&gt;
Rework data analysis following suggestions from Egan and Fox. &lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
Had Skype meetings with Ed Egan and Jeremy Fox.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23280</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23280"/>
		<updated>2018-07-03T16:08:31Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-07-03:'''&lt;br /&gt;
&lt;br /&gt;
Worked with regressions and made log files with summary statistics and outputs.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23205</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23205"/>
		<updated>2018-06-26T20:52:11Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-26:'''&lt;br /&gt;
&lt;br /&gt;
Picked relevant variables and started thinking of some regression specifications.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23172</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23172"/>
		<updated>2018-06-25T20:31:26Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-25:'''&lt;br /&gt;
&lt;br /&gt;
Studied the SQL code that creates the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector (and also the non synthetic ones).&lt;br /&gt;
&lt;br /&gt;
Found some problems with the nonsynthetic ones, with some double counting when VCS met with more than portco on the same day AND the portcos had the same industry code. The code subtracts 1 from the sum of dummies that indicate same industry code, but in these instances, they should be subctrating more.&lt;br /&gt;
&lt;br /&gt;
Also, the synthetic counterparts have weird values. The historical ones (previous from meeting the portco) are mostly 0 or -1, while all-time have lots of missings. Initially I thought it was an error from the code, but after thinking about this, I think it is a feature of the randomization. To correct the negative numbers, I think we should not subtract 1 from the sum of dummies. We did that to account for the repeated portcos that showed up in the blowout table, but now these repetitions don't happen, since we are joining a table with synthetic matches with real matches.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=23163</id>
		<title>Marcos Ki Hyung Lee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=23163"/>
		<updated>2018-06-25T17:13:00Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Staff&lt;br /&gt;
|position=Research Team&lt;br /&gt;
|name=Marcos Ki Hyung Lee&lt;br /&gt;
|user_image=marcosleepic.jpg&lt;br /&gt;
|degree=Ph.D.&lt;br /&gt;
|major=Economics&lt;br /&gt;
|class=2022&lt;br /&gt;
|join_date=07/2018&lt;br /&gt;
|skills=Econometrics,&lt;br /&gt;
|interests=Underground urban sub-cultures, Hiking, Jazz, Live Music, Math, Postmodernism in literature, Movies,&lt;br /&gt;
|email=marcos.lee@rice.edu&lt;br /&gt;
|status=Active&lt;br /&gt;
}}&lt;br /&gt;
==Summer 2018==&lt;br /&gt;
[[Marcos Ki Hyung Lee (Work Log)]]&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=File:Marcosleepic.jpg&amp;diff=23162</id>
		<title>File:Marcosleepic.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=File:Marcosleepic.jpg&amp;diff=23162"/>
		<updated>2018-06-25T17:12:40Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23135</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23135"/>
		<updated>2018-06-22T22:30:38Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
Egan walked me through the SQL code that generates de matched dataset. We made a more precise count of coinvestors. Before, we were double counting funds. Now, if a PortCo had only one VC fund investment, numcoinvestor == 0.&lt;br /&gt;
&lt;br /&gt;
Looking into the syntethic variables problem, the main problem is on the variables synsumprevsameindu100 synsumprevsameindu20 synsumprevsameindu synsumprevsamesector synnumprevportcos syntotsameindu100 syntotsameindu20 syntotsameindu syntotsamesector.&lt;br /&gt;
&lt;br /&gt;
They basically count the number of PortCos VCs invested that were in the same industry code as them, before meeting the current matched POrtCo (synsum*) and over all time (syntot*). So they are integers and tot &amp;gt;= sum. However, for the synthetic firm ones, they are mostly -1 on the sum ones, and missing on tot ones.&lt;br /&gt;
&lt;br /&gt;
Looking at the code that generates these synthetic, there seems to be a problem when joining and subtracting one to the sum of dummies where A.code100 = B.code100 for example. Can't figure out how to correct it yet.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23087</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23087"/>
		<updated>2018-06-22T16:20:03Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
Found more errors in matched dataset. Synthetic firms variables seem to be wrong, as there are negative numbers and lots of missings.&lt;br /&gt;
&lt;br /&gt;
Also, variables form matched firms like number of people, doctors, etc, and city name, are missing seemingly at random.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23085</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23085"/>
		<updated>2018-06-22T15:16:55Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-22:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: try to fix dataset.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23079</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23079"/>
		<updated>2018-06-21T22:23:10Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Summer 2018 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
Inspected matched dataset and found inconsistencies on invesmentment amounts of VCs in PortCos. Talked to Egan about this, we will check it out carefully on the source SQL code tomorrow.&lt;br /&gt;
&lt;br /&gt;
Made summary statistics of firm variables. There does not seem to be inconsistencies on that.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23054</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23054"/>
		<updated>2018-06-21T15:27:08Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:'''&lt;br /&gt;
&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23053</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23053"/>
		<updated>2018-06-21T15:26:51Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: /* Summer 2018 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
'''2018-06-21:&lt;br /&gt;
'''&lt;br /&gt;
Plans for today: get a full understanding of dataset and variables, start making some summary statistics.&lt;br /&gt;
&lt;br /&gt;
'''2018-06-20:''' Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23036</id>
		<title>Marcos Ki Hyung Lee (Work Log)</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee_(Work_Log)&amp;diff=23036"/>
		<updated>2018-06-20T21:38:43Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: Created page with &amp;quot;==Summer 2018==  2018-06-20: Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summer 2018==&lt;br /&gt;
&lt;br /&gt;
2018-06-20: Created folder at &amp;quot;E:\McNair\Projects\MatchingEntrepsToVC\Stata\&amp;quot;, imported files into Stata, and made master dofile.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23026</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23026"/>
		<updated>2018-06-20T20:42:45Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Exploratory files and dictionaries, as well as Stata Do-Files and Logs, are located in:&lt;br /&gt;
&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Stata&lt;br /&gt;
&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23001</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23001"/>
		<updated>2018-06-20T19:47:16Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;br /&gt;
&lt;br /&gt;
Estimate reduced form model and summary statistics to 'validate' the dataset for future structural estimation.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23000</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=23000"/>
		<updated>2018-06-20T19:45:23Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;br /&gt;
The VC Startup Matching Stata Work Project is support work for the [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists]] academic paper.&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=22989</id>
		<title>VC Startup Matching Stata Work</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=VC_Startup_Matching_Stata_Work&amp;diff=22989"/>
		<updated>2018-06-20T19:40:26Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: Created page with &amp;quot;{{McNair Projects |Has title=VC Startup Matching Stata Work |Has owner=Marcos Ki Hyung Lee, |Has start date=06/2018 |Has keywords=VC, Stata, Matching, Startup |Has project sta...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Projects&lt;br /&gt;
|Has title=VC Startup Matching Stata Work&lt;br /&gt;
|Has owner=Marcos Ki Hyung Lee,&lt;br /&gt;
|Has start date=06/2018&lt;br /&gt;
|Has keywords=VC, Stata, Matching, Startup&lt;br /&gt;
|Has project status=Active&lt;br /&gt;
|Is dependent on=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists,&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Work_Logs&amp;diff=22973</id>
		<title>Work Logs</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Work_Logs&amp;diff=22973"/>
		<updated>2018-06-20T15:14:58Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: McNair Admin]]&lt;br /&gt;
&lt;br /&gt;
Work Logs are broken down into two divisions of McNair Center, the long-term deliverables of academic papers and short-term deliverables of general content. Individuals working within a division will be listed under the respective one. In case an individual works within both divisions, they will be listed in both locations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Academic Papers=&lt;br /&gt;
&lt;br /&gt;
This division of the McNair Center pursues longer-term projects, such as peer-reviewed academic papers.&lt;br /&gt;
&lt;br /&gt;
==Jake Silberman==&lt;br /&gt;
{{:Jake Silberman (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Will Cleland==&lt;br /&gt;
{{:Will Cleland (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Todd Rachowin==&lt;br /&gt;
{{:Todd Rachowin (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Amir Kazempour==&lt;br /&gt;
{{:Amir Kazempour (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Marcos Ki Hyung Lee==&lt;br /&gt;
{{:Marcos Ki Hyung Lee (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
=Research=&lt;br /&gt;
&lt;br /&gt;
==Amir Kazempour==&lt;br /&gt;
{{:Amir Kazempour (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Ben Baldazo==&lt;br /&gt;
{{:Ben Baldazo (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Catherine Kirby==&lt;br /&gt;
{{:Catherine Kirby (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Connor Rothschild==&lt;br /&gt;
{{:Connor Rothschild (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Diana Carranza==&lt;br /&gt;
{{:Diana Carranza (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Dylan Dickens==&lt;br /&gt;
{{:Dylan Dickens (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Hira Farooqi==&lt;br /&gt;
{{:Hira Farooqi (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==James Chen==&lt;br /&gt;
{{:James Chen (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Joe Reilly==&lt;br /&gt;
{{:Joe Reilly (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Julia Wang==&lt;br /&gt;
{{:Julia Wang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Matthew Ringheanu==&lt;br /&gt;
{{:Matthew Ringheanu (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Meghana Gaur==&lt;br /&gt;
{{:Meghana Gaur (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Shrey Agarwal==&lt;br /&gt;
{{:Shrey Agarwal (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Taylor Jacobe==&lt;br /&gt;
{{:Tay Jacobe (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Yunnie Huang==&lt;br /&gt;
{{:Yunnie Huang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
=Technical=&lt;br /&gt;
&lt;br /&gt;
==Christy Warden==&lt;br /&gt;
{{:Christy Warden (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Harrison Brown==&lt;br /&gt;
{{:Harrison Brown (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Minh Le==&lt;br /&gt;
{{:Minh Le (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Jeemin Sim==&lt;br /&gt;
{{:Jeemin Sim (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Kyran Adams==&lt;br /&gt;
{{:Kyran Adams (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Oliver Chang==&lt;br /&gt;
{{:Oliver Chang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Peter Jalbert==&lt;br /&gt;
{{:Peter Jalbert (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Shelby Bice==&lt;br /&gt;
{{:Shelby Bice (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Yang Zhang==&lt;br /&gt;
{{:Yang Zhang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
=Administrative=&lt;br /&gt;
&lt;br /&gt;
==Cindy Ryoo==&lt;br /&gt;
{{:Cindy Ryoo (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Lin Yang==&lt;br /&gt;
{{:Lin Yang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Michelle Huang==&lt;br /&gt;
{{:Michelle Huang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
=Archive=&lt;br /&gt;
&lt;br /&gt;
This is the work log for archived members.&lt;br /&gt;
&lt;br /&gt;
==Abhijit Brahme==&lt;br /&gt;
{{:Abhijit Brahme (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Adrian Smart==&lt;br /&gt;
{{:Adrian Smart (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Albert Nabiullin==&lt;br /&gt;
{{:Albert Nabiullin (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Alex Jiang==&lt;br /&gt;
{{:Alex Jiang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Ariel Sun==&lt;br /&gt;
{{:Ariel Sun (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Avesh Krishna==&lt;br /&gt;
{{:Avesh Krishna (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Carlin Cherry==&lt;br /&gt;
{{:Carlin Cherry (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Claudio Sanchez-Nieto==&lt;br /&gt;
{{:Claudio Sanchez-Nieto (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Dan Lee==&lt;br /&gt;
{{:Dan Lee (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==David Zhang==&lt;br /&gt;
{{:David Zhang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Eliza Martin==&lt;br /&gt;
{{:Eliza Martin (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Gunny Liu==&lt;br /&gt;
{{:Gunny Liu (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Harsh Upadhyay==&lt;br /&gt;
{{:Harsh Upadhyay (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Iris Huang==&lt;br /&gt;
{{:Iris Huang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Jackie Li==&lt;br /&gt;
{{:Jackie Li (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Jake Floyd==&lt;br /&gt;
{{:Jake Floyd (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Jason Isaacs==&lt;br /&gt;
{{:Jason Isaacs (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Juliette Richert==&lt;br /&gt;
{{:Juliette Richert (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Kerda Veraku==&lt;br /&gt;
{{:Kerda Veraku (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Komal Agarwal==&lt;br /&gt;
{{:Komal Agarwal (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Kranthi Pandiri==&lt;br /&gt;
{{:Kranthi Pandiri (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Kunal Shah==&lt;br /&gt;
{{:Kunal Shah (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Lauren Bass==&lt;br /&gt;
{{:Lauren Bass (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Leo Du==&lt;br /&gt;
{{:Leo Du (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Mallika Miglani==&lt;br /&gt;
{{:Mallika Miglani (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Marcela Interiano==&lt;br /&gt;
{{:Marcela Interiano (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Meghana Pannala==&lt;br /&gt;
{{: Meghana Pannala (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Napas Udomsak==&lt;br /&gt;
{{: Napas Udomsak (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Pedro Alvarez==&lt;br /&gt;
{{:Pedro Alvarez (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Rachel Garber==&lt;br /&gt;
{{:Rachel Garber (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Ramee Saleh==&lt;br /&gt;
{{:Ramee Saleh (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Ravali Kruthiventi==&lt;br /&gt;
{{:Ravali Kruthiventi (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Sahil Patnayakuni==&lt;br /&gt;
{{:Sahil Patnayakuni (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Shoeb Mohammed==&lt;br /&gt;
{{:Shoeb Mohammed (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Sonia Zhang==&lt;br /&gt;
{{:Sonia Zhang (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Su Chen Teh==&lt;br /&gt;
{{:Su Chen Teh (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Todd Rachowin==&lt;br /&gt;
{{:Todd Rachowin (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Veeral Shah==&lt;br /&gt;
{{:Veeral Shah (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Will Cleland==&lt;br /&gt;
{{:Will Cleland (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Yael Hochberg==&lt;br /&gt;
{{:Yael Hochberg (Work Log)}}&lt;br /&gt;
&lt;br /&gt;
==Yimeng Tang==&lt;br /&gt;
{{:Yimeng Tang (Work Log)}}&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22960</id>
		<title>Marcos Ki Hyung Lee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22960"/>
		<updated>2018-06-20T15:08:48Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Staff&lt;br /&gt;
|position=Research Team&lt;br /&gt;
|name=Marcos Ki Hyung Lee&lt;br /&gt;
|user_image=mypic.jpeg&lt;br /&gt;
|degree=Ph.D.&lt;br /&gt;
|major=Economics&lt;br /&gt;
|class=2022&lt;br /&gt;
|join_date=07/2018&lt;br /&gt;
|skills=Econometrics,&lt;br /&gt;
|interests=Underground urban sub-cultures, Hiking, Jazz, Live Music, Math, Postmodernism in literature, Movies,&lt;br /&gt;
|email=marcos.lee@rice.edu&lt;br /&gt;
|status=Active&lt;br /&gt;
}}&lt;br /&gt;
==Summer 2018==&lt;br /&gt;
[[Marcos Ki Hyung Lee (Work Log)]]&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Estimating_Unobserved_Complementarities_between_Entrepreneurs_and_Venture_Capitalists&amp;diff=22945</id>
		<title>Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Estimating_Unobserved_Complementarities_between_Entrepreneurs_and_Venture_Capitalists&amp;diff=22945"/>
		<updated>2018-06-19T21:12:35Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AcademicPaper&lt;br /&gt;
|Has title=Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists&lt;br /&gt;
|Has author=Ed Egan, Jeremy Fox, David Hsu, Chenyu Yang,&lt;br /&gt;
|Has RAs=Meghana Gaur, James Chen, Kyran Adams, Marcos Ki Hyung Lee,&lt;br /&gt;
|Has paper status=Draft&lt;br /&gt;
}}&lt;br /&gt;
==Reference Papers==&lt;br /&gt;
&lt;br /&gt;
Jeremy's paper with David Hsu and Chenyu Yang is here: [http://fox.web.rice.edu/working-papers/fox-hsu-yang-matching.pdf Unobserved Heterogeneity in Matching Games with an Application to Venture Capital].&lt;br /&gt;
&lt;br /&gt;
'''Abstract:''' Agents in two-sided matching games vary in characteristics that are unobservable in typical data&lt;br /&gt;
on matching markets. We investigate the identification of the distribution of unobserved characteristics&lt;br /&gt;
using data on who matches with whom. In full generality, we consider many-to-many&lt;br /&gt;
matching and matching with trades. The distribution of match-specific unobservables cannot be&lt;br /&gt;
fully recovered without information on unmatched agents, but the distribution of a combination&lt;br /&gt;
of unobservables, which we call unobserved complementarities, can be identified. Using data on&lt;br /&gt;
unmatched agents restores identification. We estimate the contribution of observables and unobservable&lt;br /&gt;
complementarities to match production in venture capital investments in biotechnology&lt;br /&gt;
and medical firms.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Fox Hsu Yang (2015) - Unobserverd Heterogeneity in Matching Games with an Application to Venture Capital]] provides some notes.&lt;br /&gt;
&lt;br /&gt;
==Matlab Code==&lt;br /&gt;
&lt;br /&gt;
[[Abhijit Brahme (Work Log)]] contains his notes on working with the Matlab code. There is a seperate page here: [[Estimating Unobserved Complementarities between Entrepreneurs and Venture Capitalists Matlab Code]].&lt;br /&gt;
&lt;br /&gt;
==Data specification==&lt;br /&gt;
&lt;br /&gt;
The data spec sent to Jeremy is in:&lt;br /&gt;
 Z:\Projects\MatchingAcceleratorsToVCs&lt;br /&gt;
&lt;br /&gt;
==Data foundations==&lt;br /&gt;
&lt;br /&gt;
The database is '''vcdb2'''&lt;br /&gt;
&lt;br /&gt;
The foundational tables were built using:&lt;br /&gt;
 Z:\VentureCapitalData\SDCVCData\vcdb2\ProcessData2.sql&lt;br /&gt;
&lt;br /&gt;
The documentation, which is a little messy, is on [[VC Database Rebuild]]&lt;br /&gt;
&lt;br /&gt;
Our SQL script, which builds on top of the above database (still in vcdb2) is in:&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\DataWork&lt;br /&gt;
&lt;br /&gt;
==Dataset build==&lt;br /&gt;
&lt;br /&gt;
===Decisions===&lt;br /&gt;
&lt;br /&gt;
Decisions we need to make:&lt;br /&gt;
*Will we need synthetic matches? If so what we do we do for outcomes? Can still do dyadic and left/right pair variables.&lt;br /&gt;
*Granularity of industry: To start let's use minor industry group (see below). We use a much finer grained industry definition and aggregate back up to balance out the counts somewhat later.&lt;br /&gt;
*Matching to a fund or a firm: For now, we will work with funds, though deals are sometimes transferred across funds within a firm (i.e. from Kliener fund IV to Kliener fund V), this is probably comparatively rare (check!).&lt;br /&gt;
*Dealing with the right censorship problem: We can likely address this with indicator variables to condition on, but may want to restrict estimation to dyads that don't have this issue. For now we will take portfolio companies that received their last investment before 2007, to allow funds a full 10 years to clear their portfolios. &lt;br /&gt;
*Inadequate coverage in early years: VentureXpert's coverage is notably inferior prior to 1982. We should start with portco that received their first investment in 1985 and forward.&lt;br /&gt;
*Determination of lead VC - see below&lt;br /&gt;
*How to collapse VC rounds (date, amount, etc.): We will use only seed, early, later stage investment and insist on the presence of seed/early for inclusion. We can then have date first, investment duration (to date last), total investment.&lt;br /&gt;
&lt;br /&gt;
===Objective dataset description===&lt;br /&gt;
&lt;br /&gt;
Unit of observation - a startup-fund match.  &lt;br /&gt;
&lt;br /&gt;
Constraints:&lt;br /&gt;
*PortCo name disclosed&lt;br /&gt;
*PortCo date of first investment &amp;gt;= 1/1/1985&lt;br /&gt;
*PortCo date of last investment &amp;lt;= 2007 to allow 10 yrs for the funds&lt;br /&gt;
*PortCo received at least one round of Seed or Early stage investment&lt;br /&gt;
*Matched VC is not undisclosed&lt;br /&gt;
&lt;br /&gt;
Variables:&lt;br /&gt;
&lt;br /&gt;
Startup:&lt;br /&gt;
*PortCo ID&lt;br /&gt;
*PortCo Name&lt;br /&gt;
*Longitude, latitude, &lt;br /&gt;
*State of inc., industry, year of founding, year of first investment, year of last investment&lt;br /&gt;
*SEL $invested, SEL num rounds, transactional VC indicator and $inv, investment duration SEL (yrs)&lt;br /&gt;
*Exit indicator, exit value, exit type indicator&lt;br /&gt;
*alive2016 indicator, last round pre-2012 indicator&lt;br /&gt;
*total MOOMI (Money Out Over Money In)&lt;br /&gt;
&lt;br /&gt;
Fund:&lt;br /&gt;
*fund ID&lt;br /&gt;
*fund name&lt;br /&gt;
*Number of funds investing (SEL)&lt;br /&gt;
*As averages (?) and for lead:&lt;br /&gt;
**Fund ipo count, Fund M&amp;amp;A count, Fund investment count(calc at end), fund ipo rate, fund M&amp;amp;A rate, fund exit count, fund exit rate, fund ipo $, fund M&amp;amp;A $, fund exit $, fund fraction of MOOMI.&lt;br /&gt;
*Total invested by lead, number of rounds participation by lead, stage of participation of lead, location of lead, last investment pre-2012 indicator, lead fund type indicator (corp, priv, gov, etc.), lead fund size, lead fund vintage year.&lt;br /&gt;
&lt;br /&gt;
Dyadic variables: &lt;br /&gt;
*Distance between lead and portco, &lt;br /&gt;
*industry preference match between lead and portco&lt;br /&gt;
*maybe stage-match (doesn't make a lot of sense when collapsing rounds) between lead and port co.&lt;br /&gt;
&lt;br /&gt;
===Identifying lead VCs===&lt;br /&gt;
&lt;br /&gt;
Possible methods:&lt;br /&gt;
*Best performing participant (on exit count/value or fractional MOOMI) with tie-breaker&lt;br /&gt;
*Closest participant (using great circle distance) &lt;br /&gt;
*Most frequent participant with tie-breaker&lt;br /&gt;
*Participant with greatest investment with tie-breaker&lt;br /&gt;
*Participant in earliest round that stayed in for longest with tie-breaker&lt;br /&gt;
&lt;br /&gt;
===Minor Industry===&lt;br /&gt;
&lt;br /&gt;
Across all time and without regard to SEL vs. transaction, here's the minor industry list and counts:&lt;br /&gt;
&lt;br /&gt;
         indminorgroup          | count&lt;br /&gt;
 -------------------------------+-------&lt;br /&gt;
 Industrial/Energy              |  2871&lt;br /&gt;
 Internet Specific              |  8794&lt;br /&gt;
 Biotechnology                  |  2592&lt;br /&gt;
 Semiconductors/Other Elect.    |  2402&lt;br /&gt;
 Other Products                 |  4891&lt;br /&gt;
 Computer Hardware              |  2061&lt;br /&gt;
 Computer Software and Services | 10550&lt;br /&gt;
 Communications and Media       |  3271&lt;br /&gt;
 Medical/Health                 |  4373&lt;br /&gt;
 Consumer Related               |  3161&lt;br /&gt;
&lt;br /&gt;
==Literature from David==&lt;br /&gt;
&lt;br /&gt;
Literature to &amp;quot;validate&amp;quot; our sample. I think you probably know the papers I reference below (let me know if you need any of them-some for which I am coauthor you can get from my website).&lt;br /&gt;
&lt;br /&gt;
#VCs are more likely to match with geographically proximate startups (Lerner on corporate governance, Sorenson on geography)&lt;br /&gt;
#Startups prefer to match with VCs with domain experience within their startup sector (Morten Sorensen), possibly also prefer to match by stage of VC specialization relative to their own stage of development (not sure which paper if any documents that)&lt;br /&gt;
#Startup patents signal VCs (Hsu/Ziedonis in SMJ)&lt;br /&gt;
#VCs prefer serial founders, or at least may interact differently with founders based on their prior founding experience (Hsu 2007 in Research Policy)&lt;br /&gt;
#If we have access to more individual data: VCs prefer to invest in founders with similar demographic characteristics relative to their own characteristics (Gompers et al within the past few years in JFE, Bengtsson and Hsu in JBV within the last few years). &lt;br /&gt;
&lt;br /&gt;
==Work Done in Late November by Dylan &amp;amp; Ed==&lt;br /&gt;
&lt;br /&gt;
SBIR Data taken from McNair\Projects\SBIR\Data\Aggregate SBIR\SBIR.txt. -Note! This file needed to be opened in excel to be readable, and took a very long time to open due to its large size. SBIR firm names converted to a pivot table to eliminate exact repeat entries, and then exported to a txt file, NSBIR. NSBIR then matched using The Matcher in mode 2 with the following code:&lt;br /&gt;
 &amp;quot;-file1=&amp;quot;NSBIR.txt&amp;quot; -file2=&amp;quot;NSBIR.txt&amp;quot; -mode=2&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Output then placed in:&lt;br /&gt;
 McNair\Projects\MatchingEntrepsToVC\Matching\Output&lt;br /&gt;
&lt;br /&gt;
The original pre-matched, cleaned NSBIR.txt file is moved to:&lt;br /&gt;
 McNair\Projects\MatchingEntrepsToVC\Matching\Input.&lt;br /&gt;
&lt;br /&gt;
There is a sql file to extract VC portcos (SEL backed only), with key info from vcdb2, and distinct assignee names from allpatentsprocessed here:&lt;br /&gt;
 E:\McNair\Projects\MatchingEntrepsToVC\Matching&lt;br /&gt;
&lt;br /&gt;
There are three input files:&lt;br /&gt;
*distinctNSBIR.txt - made by pivot tabling SBIR.txt from the SBIR aggregation project&lt;br /&gt;
*distinctassignees.txt - extracted as distinct from allpatentsprocessed&lt;br /&gt;
*vcbackedselcokeys.txt - extracted with key info from vcdb2. It needs pivot tabling to get unique names.&lt;br /&gt;
&lt;br /&gt;
These .txt files were made distinct, and then matched against themselves for normalization. The normalized files still need to be matched against each other. They are located in:&lt;br /&gt;
 McNair\Projects\MatchingEntrepsToVC\Matching\Normalized&lt;br /&gt;
&lt;br /&gt;
These normalized files were then matched against each other. Approximately 12,000 matches. they are located in: &lt;br /&gt;
 McNair\Projects\MatchingEntrepsToVC\Matching\Normalized &amp;amp; Matched&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22903</id>
		<title>Marcos Ki Hyung Lee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22903"/>
		<updated>2018-06-18T15:47:16Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Staff&lt;br /&gt;
|position=Research Team&lt;br /&gt;
|name=Marcos Ki Hyung Lee&lt;br /&gt;
|user_image=mypic.jpeg&lt;br /&gt;
|degree=Ph.D.&lt;br /&gt;
|major=Economics&lt;br /&gt;
|class=2022&lt;br /&gt;
|join_date=07/2018&lt;br /&gt;
|skills=Econometrics,&lt;br /&gt;
|interests=Underground urban sub-cultures,&lt;br /&gt;
|email=marcos.lee@rice.edu&lt;br /&gt;
|status=Active&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Summer 2018==&lt;br /&gt;
[[Marcos Ki Hyung Lee (Work Log)]]&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=User:Marcoslee&amp;diff=22898</id>
		<title>User:Marcoslee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=User:Marcoslee&amp;diff=22898"/>
		<updated>2018-06-18T15:40:40Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: Redirected page to Marcos Ki Hyung Lee&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Marcos Ki Hyung Lee]]&lt;br /&gt;
&lt;br /&gt;
Economics PhD Student at Rice University. Interests in Labor Economics, and Applied Microeconomics in general. &lt;br /&gt;
&lt;br /&gt;
BA and MA in Economics for the University of Sao Paulo.&lt;br /&gt;
&lt;br /&gt;
bla bla bla bla bla bla bla bla&lt;br /&gt;
&lt;br /&gt;
bla bla bla bla bla bla bla bla&lt;br /&gt;
&lt;br /&gt;
bla bla bla bla bla bla bla bla&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22872</id>
		<title>Marcos Ki Hyung Lee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22872"/>
		<updated>2018-06-18T15:32:18Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Staff&lt;br /&gt;
|position=Research Team&lt;br /&gt;
|name=Marcos Ki Hyung Lee&lt;br /&gt;
|user_image=mypic.jpeg&lt;br /&gt;
|degree=Ph.D.&lt;br /&gt;
|major=Economics&lt;br /&gt;
|class=2022&lt;br /&gt;
|join_date=07/2018&lt;br /&gt;
|skills=Econometrics,&lt;br /&gt;
|interests=Underground urban sub-cultures,&lt;br /&gt;
|email=marcos.lee@rice.edu&lt;br /&gt;
|status=Active&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
	<entry>
		<id>http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22869</id>
		<title>Marcos Ki Hyung Lee</title>
		<link rel="alternate" type="text/html" href="http://www.edegan.com/mediawiki/index.php?title=Marcos_Ki_Hyung_Lee&amp;diff=22869"/>
		<updated>2018-06-18T15:31:23Z</updated>

		<summary type="html">&lt;p&gt;Marcoslee: Created page with &amp;quot;{{McNair Staff |position=Research Team |name=Marcos Ki Hyung Lee |user_image=mypic.jpeg |degree=Ph.D. |major=Economics |class=2022 |join_date=07/2018 |skills=Econometrics, |in...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{McNair Staff&lt;br /&gt;
|position=Research Team&lt;br /&gt;
|name=Marcos Ki Hyung Lee&lt;br /&gt;
|user_image=mypic.jpeg&lt;br /&gt;
|degree=Ph.D.&lt;br /&gt;
|major=Economics&lt;br /&gt;
|class=2022&lt;br /&gt;
|join_date=07/2018&lt;br /&gt;
|skills=Econometrics,&lt;br /&gt;
|interests=Underground urban sub-cultures,&lt;br /&gt;
|email=marcos.lee@rice.edu&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Marcoslee</name></author>
		
	</entry>
</feed>