Many problems in data management center on relating values to values in other observations, either within a dataset as a whole or within groups such as panels. This column reviews some basic Stata techniques helpful for such tasks, including the use of subscripts, summarize, by:, sum(), cond(), and egen. Several techniques exploit the fact that logical expressions yield 1 when true and 0 when false. Dividing by zero to yield missings is revealed as a surprisingly valuable device. Copyright 2011 by StataCorp LP.data management, panels, subscripting, summarize, by, sum(), cond(), egen, logical expressions
A standard task in data management is producing a list of variable names showing which variables hav...
Tables in some form or another are part and parcel of data management and analysis. The main general...
datacheck is a simple utility for carrying out data checks and reporting on problems or errors in a ...
any problems in data management center on relating values to values in other observations, either wi...
Counting panels, and more generally groups, is sometimes possible in Stata through a reduction comma...
Data for people in a family, firms in a sector, or members of any kind of group are often analyzed u...
Many problems in Stata call for selection of observations according to true or false conditions, ind...
Three user-written commands are reviewed as illustrations of different approaches to tabulation prob...
Stata’s main data model treats observations in rows and variables in columns quite differently, but ...
Wanting to present Stata output in a different way is a very common desire that lies behind many sub...
This talk illustrates how results from various Stata commands can be processed efficiently for inclu...
Table-like graphs can be interesting, useful, and even mildly innovative. This column outlines some ...
The by varlist: construct is reviewed, showing how it can be used to tackle a variety of problems wi...
The statsby command collects statistics from a command yielding r-class or e-class results across gr...
This tutorial will show how results from various Stata commands can be processed efficiently for inc...
A standard task in data management is producing a list of variable names showing which variables hav...
Tables in some form or another are part and parcel of data management and analysis. The main general...
datacheck is a simple utility for carrying out data checks and reporting on problems or errors in a ...
any problems in data management center on relating values to values in other observations, either wi...
Counting panels, and more generally groups, is sometimes possible in Stata through a reduction comma...
Data for people in a family, firms in a sector, or members of any kind of group are often analyzed u...
Many problems in Stata call for selection of observations according to true or false conditions, ind...
Three user-written commands are reviewed as illustrations of different approaches to tabulation prob...
Stata’s main data model treats observations in rows and variables in columns quite differently, but ...
Wanting to present Stata output in a different way is a very common desire that lies behind many sub...
This talk illustrates how results from various Stata commands can be processed efficiently for inclu...
Table-like graphs can be interesting, useful, and even mildly innovative. This column outlines some ...
The by varlist: construct is reviewed, showing how it can be used to tackle a variety of problems wi...
The statsby command collects statistics from a command yielding r-class or e-class results across gr...
This tutorial will show how results from various Stata commands can be processed efficiently for inc...
A standard task in data management is producing a list of variable names showing which variables hav...
Tables in some form or another are part and parcel of data management and analysis. The main general...
datacheck is a simple utility for carrying out data checks and reporting on problems or errors in a ...