You can have as many observations as your computer’s memory will allow, provided you don’t go too far above 2 billion cases with Stata/SE and 1 trillion with Stata/MP. There’s a limit of 2,047 variables in Stata/IC, 32,767 in Stata/SE, and 120,000 in Stata/MP. Unlike packages that read one observation at a time, Stata keeps all data in memory, which is one reason why it is so fast. Stata datasets are rectangular arrays with n observations on m variables. A nice feature of the manager, however, is that it generates the Stata commands needed to accomplish the changes, so it can be used as a learning tool and, as long as you are logging the session, leaves a record behind. While the manager is certainly convenient, I still prefer writing all commands in a do file to ensure research reproducibility. Stata 11 introduced a variables manager that allows editing variable names, labels, types, formats, and notes, as well as value labels, using an intuitive graphical user interface available under Data| Variables Manager in the menu system. In this section I describe Stata data files, discuss how to read raw data into Stata in free and fixed formats, how to create new variables, how to document a dataset labeling the variables and their values, and how to manage Stata system files. Introduction Data Management Graphics Programming 2 Data Management
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |