Dear stata users,
I am using - geonear - command to generate firm-level clusters with respect to reference university within 1 mile.
However, firms are included in several clusters that are near universities.
What I would like to do is to make firms included in only one cluster which is nearest to the given reference and in same sector (naics6).
For more information, my master dataset is firm-level panel data merged with patent data and another one is university patent-level data.
In more detail, below is the previous question that I posted containing the example of my datasets (both firm-level data in #12 and university patent-level data in #27 which is identical below).
https://www.statalist.org/forums/for...analysis/page2
Could someone please help me with this issue ?
Thank you very much in advance !
Best,
AC
I am using - geonear - command to generate firm-level clusters with respect to reference university within 1 mile.
However, firms are included in several clusters that are near universities.
What I would like to do is to make firms included in only one cluster which is nearest to the given reference and in same sector (naics6).
For more information, my master dataset is firm-level panel data merged with patent data and another one is university patent-level data.
In more detail, below is the previous question that I posted containing the example of my datasets (both firm-level data in #12 and university patent-level data in #27 which is identical below).
https://www.statalist.org/forums/for...analysis/page2
Originally posted by Anne-Claire Jo
View Post
Could someone please help me with this issue ?
Thank you very much in advance !
Best,
AC
Comment