How to Merge (combine) Data in Stata

The Data Hall
The Data Hall
3.4 هزار بار بازدید - 12 ماه پیش - When we work on data
When we work on data analysis we first need to merge data or combine data in a single file. This can be done using the merge command in Stata. There are different types of merges i.e. one to one merge, one to many merge, many to many merge, and many to one merge. Then there are different details related to the merging of data i.e. the nogenerate option, keep specific variables or using multiple key variables to merge data.

The following link contains the files used in this video
https://payhip.com/b/bHKt8

The following link contains more information on this topic:
https://thedatahall.com/how-to-merge-...

00:00 Intro to merge
0:39 One to One Merge
3:25 Master Vs Using File
7:45 Error: Not uniquely identify observations
9:50 Matching on Multiple Key Variables
11:40 Many to One Merge
14:06 One to Many Merge
15:00 Many to Many Merge
15:20 nogenerate option
16:45 Merge Specific Variables
17:30 Keep option



Website: thedatahall.com
As an Amazon Associate, I earn from qualifying purchases.
12 ماه پیش در تاریخ 1402/06/10 منتشر شده است.
3,460 بـار بازدید شده
... بیشتر