如何执行此移动性计算?
我有关于公司之间发明家的流动性的数据。对于每个发明家,旧公司和新公司都有多行,每行都呈现她/他在各自公司中获得的专利(请参阅屏幕截图)。我只对此数据集中的两行感兴趣 - 该行包含了旧公司中发明家生产的最后一项专利,而该行包含新公司中的第一份专利。我如何仅保留每个发明家的这两行并删除其余的?该示例中的发明家是38592732,他从科学联盟搬到了阿迪尔。我只想保留62和63行并删除其余的。 - 在Stata或Excel方面的任何帮助将有所帮助。多谢。
I have the data on the mobility of inventors between firms. For each inventor, there are multiple rows in the old firm and the new firm, with each row presenting the patent she/he produced in a given year in the respective firm (please see the screenshot). I am only interested in two rows in this dataset - the row containing the last patent the inventor produced in the old firm and the row containing the first patent in the new firm. How do I keep only these two rows for each inventor and delete the rest? The inventor in the example is 38592732 who moved from Science Union to Adir. I only want to keep rows 62 and 63 and delete the rest. –
Any help in Stata or Excel will be helpful. Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可重现的数据集(例如
dataEx
)将为您提供一个需要较少适应的解决方案,但是下面的示例应显示如何完成。A reproducible data set (using for example
dataex
) would have given you a solution that would have required less adaptation, but the example below should show you how it can be done.