EconPapers    
Economics at your fingertips  
 

_GSLOPE: Stata module to compute simple regression slope

Jeroen Weesie ()

Statistical Software Components from Boston College Department of Economics

Abstract: _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<=#<=k. coo is short for min(k). For accuracy in computations, the method of "provisional means" is used in double precision.

Language: Stata
Requires: Stata version 5.0
Keywords: egen; generation of variables; linear regression (search for similar items in EconPapers)
Date: 1999-03-19
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)

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: http://EconPapers.repec.org/RePEc:boc:bocode:s372501

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
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2014-04-23
Handle: RePEc:boc:bocode:s372501