![]() ![]() "Horizontal" combination - This is the kind of combinations in which you want to add variables, and not observations. ![]() The command in Stata we will use is append. As long as the variables in the files are the same and the only thing you need to do is to add observations, this is vertical combination. Another possibility is that the data is separated according to different leagues, groups, etc. For instance, if you are working on a sports statistics project and you have data for players performance in four separate files, one for each year between 20. "Vertical" combination - You want to do this when you want to add observations from one file to another file.There are actually two main types of combinations: In this post I will try to elaborate a bit on how to make it work. ![]() Another case is when you have one dataset which is divided into multiple files. For example, if you want to analyze international growth, you might find economic indicators in a dataset of the World Bank, political indicators in think tanks such as Freedom House, and climate data in another dataset. In many cases, the data needed for the statistical analyses come from different sources. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |