文章预览
文献来源 Inventor knowledge specialization considers the frequency of an inventor’s patents in that individual’s most commonly observed patent class relative to their total number of patents. Scoresby, R. B., Park, H. (2021).The joint effects of individual and firm level knowledge attributes on inventor mobility to entrepreneurial and established firms. Journal of Business Research, 133, 218–230. 数据来源 清洗数据 cd C : \ Download
u id_inventor_id , clear
merge 1 : 1 id using id_ipc_class , nogen
merge 1 : 1 id using id_appyear , nogen
g j = substr ( ip , 1 , 1 )
g n = 0
collapse ( count ) n , by ( inv a j )
sa _ , replace
*
u _ , clear
su a , d
loc m = r ( min )
loc n = r ( max )
forv i = ` m '/`n' {
u _ , clear
keep if a = ` i '
collapse ( sum ) n , by ( inv j )
bys inv : egen N = sum ( n )
bys inv : egen m = m
………………………………