Data reduction for graphical and other purposes
Nicholas Cox
UK Stata Conference 2025 from Stata Users Group
Abstract:
Reducing a dataset to another dataset containing summary or other statistics is an old problem, much addressed in Stata by oacial commands such as collapse, contract, or statsby and by various community-contributed commands. Often, an underlying principle is that a valuable command should do one thing well so that a reduction command is just one step in a sequence that includes other analyses. This presentation focuses on a bundle of new commands recently posted on SSC: cisets, momentsets, pctilesets, and lmomentsets. They have much in common, including support for obtaining results for multiple variables and for distinct groups of a single variable. Typically, the next stage is some graphical representation, such as a customized variation on existing designs. Examples of their use will be coupled with ruminations on the tradeoffs in command design for programmers and users alike, between versatility and simplicity. As in the rest of life, sometimes programmers need to step back before they can move forward in a better direction.
Date: 2025-09-04
References: Add references at CitEc
Citations:
Downloads: (external link)
http://repec.org/lsug2025/UK25_Cox.pptx
http://repec.org/lsug2025/UK25_Cox.do
http://repec.org/lsug2025/nile_precip.dta
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:lsug25:04
Access Statistics for this paper
More papers in UK Stata Conference 2025 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().