Hello Statalist members,
my research is about venture capital (VC) firms and their investments in entrepreneurial or start-up companies. my data is panel data.
I need to create a variable to measure the size of a VC firm in a certain year (variable: VC size in year x) using values from the previous funds they raise over the years (variable: fund size, variable fund year).
I am trying to create this variable "VC size in year x = sum of all fund sizes in previous years up to year x."
However, the data is unbalanced and not consistent. For example, some VC firms raised only 1 fund so they have only a 1 year observation for VC size in year x. Moreover, some VC firms have multiple funds in the same year.
Is there a code that helps me to create this variable?
This is how my data looks now
This is what I think the data should look like before the analysis:
Can I create this variable using state codes or commands?
I really appreciate your guidance.
my research is about venture capital (VC) firms and their investments in entrepreneurial or start-up companies. my data is panel data.
I need to create a variable to measure the size of a VC firm in a certain year (variable: VC size in year x) using values from the previous funds they raise over the years (variable: fund size, variable fund year).
I am trying to create this variable "VC size in year x = sum of all fund sizes in previous years up to year x."
However, the data is unbalanced and not consistent. For example, some VC firms raised only 1 fund so they have only a 1 year observation for VC size in year x. Moreover, some VC firms have multiple funds in the same year.
Is there a code that helps me to create this variable?
This is how my data looks now
Firm Name | Fund Year |
Fund Size (Mil) |
VC A | 1995 | 60.0 |
VC A | 1999 | 150.0 |
VC A | 2013 | 30.0 |
VC A | 2016 | 49.0 |
VC B | 2021 | 60.0 |
VC C | 2019 | 17.6 |
VC D | 2000 | 15.3 |
VC D | 2011 | 15.0 |
VC D | 2014 | 22.2 |
VC D | 2014 | 85.0 |
VC D | 2015 | 33.2 |
This is what I think the data should look like before the analysis:
Firm Name | Fund Year |
Fund Size (Mil) |
year x | VC size in a year x |
VC A | 1995 | 60.0 | 1995 | 60.00 |
VC A | 1999 | 150.0 | 1999 | 210.00 |
VC A | 2013 | 30.0 | 2013 | 240.00 |
VC A | 2016 | 49.0 | 2016 | 289.00 |
VC B | 2021 | 60.0 | 2021 | 60.00 |
VC C | 2019 | 17.6 | 2019 | 17.60 |
VC D | 2000 | 15.3 | 2000 | 15.30 |
VC D | 2011 | 15.0 | 2011 | 30.30 |
VC D | 2014 | 22.2 | 2014 | 137.50 |
VC D | 2014 | 85.0 | 2014 | 137.50 |
VC D | 2015 | 33.2 | 2015 | 155.40 |
I really appreciate your guidance.
Comment