Back to Search
Start Over
A sparser, speedier reshape.
- Source :
-
Stata Journal . 2016, Vol. 16 Issue 3, p632-649. 18p. - Publication Year :
- 2016
-
Abstract
- A new command, sreshape, supports sparse and speedy reshaping of data. Often reshaped data are "sparse" in the sense of containing many missing values that are dropped after reshaping. sreshape automates the process of reshaping and dropping such missing information to avoid potential errors and, for both sparse and nonsparse data, yields speed improvements. Using large test datasets, sreshape achieves identical results to reshape 8 to 31 times faster in wide-to-long reshapes and 2 to 13 times faster in long-to-wide reshapes. Further suggested improvements may allow StataCorp to increase these speed gains in the built-in version. [ABSTRACT FROM AUTHOR]
- Subjects :
- *MISSING data (Statistics)
*DATA management
Subjects
Details
- Language :
- English
- ISSN :
- 1536867X
- Volume :
- 16
- Issue :
- 3
- Database :
- Academic Search Index
- Journal :
- Stata Journal
- Publication Type :
- Academic Journal
- Accession number :
- 119718966
- Full Text :
- https://doi.org/10.1177/1536867x1601600305