Registro completo |
Provedor de dados: |
AgEcon
|
País: |
United States
|
Título: |
Speaking Stata: Distinct observations
|
Autores: |
Cox, Nicholas J.
Longton, Gary M.
|
Data: |
2012-04-13
|
Ano: |
2008
|
Palavras-chave: |
Distinct
By
Egen
Distinctness
Uniqueness
Data management
Research Methods/ Statistical Methods
|
Resumo: |
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
|
Idioma: |
Inglês
|
Identificador: |
dm0042
http://purl.umn.edu/122622
|
Relação: |
Stata Journal>Volume 08, Number 4, 4th Quarter 2008
|
Formato: |
12
|