|
|
|
Registros recuperados: 63 | |
|
|
Cox, Nicholas J.. |
Three commands in official Stata, foreach, forvalues, and for, provide structures for cycling through lists of values (variable names, numbers, arbitrary text) and repeating commands using members of those lists in turn. All these commands may be used interactively, and none is restricted to use in Stata programs. They are explained and compared in some detail with a variety of examples. In addition, a self-contained exposition is given on local macros, understanding of which is needed for use of foreach and forvalues. |
Tipo: Journal Article |
Palavras-chave: Foreach; Forvalues; For; Lists; Local macros; Substitution first; Research Methods/ Statistical Methods. |
Ano: 2002 |
URL: http://purl.umn.edu/115962 |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Cox, Nicholas J.; Longton, Gary M.. |
Distinct observations are those different with respect to one or more variables, considered either individually or jointly. Distinctness is thus a key aspect of the similarity or difference of observations. It is sometimes confounded with uniqueness. Counting the number of distinct observations may be required at any point from initial data cleaning or checking to subsequent statistical analysis. We review how far existing commands in official Stata offer solutions to this issue, and we show how to answer questions about distinct observations from first principles by using the by prefix and the egen command. The new distinct command is offered as a convenience tool. |
Tipo: Article |
Palavras-chave: Distinct; By; Egen; Distinctness; Uniqueness; Data management; Research Methods/ Statistical Methods. |
Ano: 2008 |
URL: http://purl.umn.edu/122622 |
| |
Registros recuperados: 63 | |
|
|
|