TPVAR: Stata module to generate turning-point variable for graphics labelling
Nicholas Cox
Statistical Software Components from Boston College Department of Economics
Abstract:
tpvar generates a variable for use in labelling data points on a scatter plot with appropriate text that appears near point symbols. Given the current sort order, tpvar identifies observations in which the value of varname is either above both previous and following values or below both previous and following values. These are local maxima and minima, or turning points. A new variable newvar is generated for these turning points, which takes values of varname + above * range of varname and varname - below * range of varname for maxima and minima respectively. These values of newvar will often be good places to put text, just above and just below point symbols for varname.
Language: Stata
Keywords: graphics; adding text; scatter plots (search for similar items in EconPapers)
Date: 1998-06-09
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/t/tpvar.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tpvar.hlp help file (text/plain)
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:bocode:s345803
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().