Dear reader,
I am very new to stata, and this is my first post!
My master files consists of 1500 companies from the Russell 3000 index. The dataset that should be matched consists of all the companies that have been involved in an alliance between 2015 - 2020 (more firms than in the master file)
I only want to match the companies that are in the master file, how can i do this?
master file
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input str46 firm_name
"firm_name"
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
* Example generated by -dataex-. For more info, type help dataex
clear
input str30 firm_name float n
"01 Sys" 1
"1 Ltd" 1
"1&1 Ionos SE" 1
"1-800-Flowers.com Inc" 2
"10-4 Systems Inc" 1
"1000watt LLC" 1
"100tv.com" 1
"10art-ni Corp" 1
"10zig Technology Inc" 2
"123ID Inc" 2
"128 Technology Inc" 1
"170 Systems Inc" 1
"1776" 1
"180bytwo LLC" 1
"1901 Group LLC" 1
"1933 Industries Inc" 1
"1EDISource Inc" 1
"1LINK (Guarantee) Ltd" 1
"1TouchSoftware Solutions Inc" 1
"1Verge Info Tech (Beijing) Co" 1
"1WorldSync Holdings Inc" 1
"1nce GmbH" 1
"1oT OU" 1
"1seo.Com" 1
"1st Group Ltd" 1
"1stpoint Communications LLC" 1
"1world Online Inc" 1
"20-20 Technologies Inc" 1
"2020 Advisors LLC" 1
"2021.ai ApS" 2
"21LADY Co Ltd" 1
"21Vianet Group Inc" 3
"21st Century Fox Inc" 1
"21st Century Technologies Ltd" 2
"24/7 Customer" 1
"24/7 Customer Inc" 1
"24/7 Real Media Inc" 2
"24by7sec Inc" 1
"2618249 Ontario Corp" 6
"2B Wireless Inc" 1
"2C Media" 1
"2CRSI SA" 2
"2Hz Inc" 1
"2bPrecise LLC" 1
"2bcreative entertainment" 1
"2ergo Group PLC" 1
"360buy Jingdong Mall" 1
"360factors Inc" 1
"3CInteractive Corp" 1
"3Com Corp" 1
I am very new to stata, and this is my first post!
My master files consists of 1500 companies from the Russell 3000 index. The dataset that should be matched consists of all the companies that have been involved in an alliance between 2015 - 2020 (more firms than in the master file)
I only want to match the companies that are in the master file, how can i do this?
master file
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input str46 firm_name
"firm_name"
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3D Systems Corp."
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
"3M Corporation"
* Example generated by -dataex-. For more info, type help dataex
clear
input str30 firm_name float n
"01 Sys" 1
"1 Ltd" 1
"1&1 Ionos SE" 1
"1-800-Flowers.com Inc" 2
"10-4 Systems Inc" 1
"1000watt LLC" 1
"100tv.com" 1
"10art-ni Corp" 1
"10zig Technology Inc" 2
"123ID Inc" 2
"128 Technology Inc" 1
"170 Systems Inc" 1
"1776" 1
"180bytwo LLC" 1
"1901 Group LLC" 1
"1933 Industries Inc" 1
"1EDISource Inc" 1
"1LINK (Guarantee) Ltd" 1
"1TouchSoftware Solutions Inc" 1
"1Verge Info Tech (Beijing) Co" 1
"1WorldSync Holdings Inc" 1
"1nce GmbH" 1
"1oT OU" 1
"1seo.Com" 1
"1st Group Ltd" 1
"1stpoint Communications LLC" 1
"1world Online Inc" 1
"20-20 Technologies Inc" 1
"2020 Advisors LLC" 1
"2021.ai ApS" 2
"21LADY Co Ltd" 1
"21Vianet Group Inc" 3
"21st Century Fox Inc" 1
"21st Century Technologies Ltd" 2
"24/7 Customer" 1
"24/7 Customer Inc" 1
"24/7 Real Media Inc" 2
"24by7sec Inc" 1
"2618249 Ontario Corp" 6
"2B Wireless Inc" 1
"2C Media" 1
"2CRSI SA" 2
"2Hz Inc" 1
"2bPrecise LLC" 1
"2bcreative entertainment" 1
"2ergo Group PLC" 1
"360buy Jingdong Mall" 1
"360factors Inc" 1
"3CInteractive Corp" 1
"3Com Corp" 1
Comment