_GSLOPE: Stata module to compute simple regression slope
Jeroen Weesie ()
Statistical Software Components from Boston College Department of Economics
_gslope is an extension to generate (egen) function. egen result = slope(y1 x2 y2 x2 ... yk xk) [if expr] [in range] [, coo min(#) ] returns the slopes of a row-wise ols-regression of y on x (with at most k observations). min(#) specifies that only cases with at least # non-missing (y,x) pairs should be included, 2
Requires: Stata version 5.0
Keywords: egen; generation of variables; linear regression (search for similar items in EconPapers)
References: Add references at CitEc
Citations Track citations by RSS feed
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/_/_gslope.ado program code (text/plain)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: http://EconPapers.repec.org/RePEc:boc:bocode:s372501
Ordering information: This software item can be ordered from
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.
Series data maintained by Christopher F Baum ().