Stata - How to append datasets

preview_player
Показать описание
Welcome to my classroom!
This video is part of my Stata series. A series where I help you learn how to use Stata. In this video, we look at how to append two datasets using the append command in Stata.

Note: What I show here is my take on the topic. I would be happy to receive comments!

Useful links:
Рекомендации по теме
Комментарии
Автор

Thanks! What about appending 2 or more datasets (longitutional data) where all other variables are the same in a questionaire but are spelled sligtly different? e.g. for 2023 = feeling23 and for 2022=feeling22. Is there a quick way to match about 200 variables

juliushinrichsen
Автор

Thanks! However, all other variables now have the same values in the year after? Was that due to the data sets having the same information or do you need other STATA commands to prevent this from happening?

boas
Автор

How do we go about it if we want to add in additional years? Do we have to clear the year prior?

alyssahgonzalez