Stata for Beginners - Merging Data files
HTML-код
- Опубликовано: 11 сен 2024
- This video would help you to merge (combine two data set based on a common key variable) two data files. This is a very common problem in data analysis and research. We have tried to make it more easy through theoretical discussion and practical application using a data in Stata.
the command is -
merge m:1 hhid using "......(path of the data file).........", generate(abc)
Depending on the data it could be 1:m or 1:1 also; "hhid" is the common variable of identification in both the files.
Link for other basic videos -
• STATA for Beginners
• How to run do file in ...
• STATA Basic Commands f...