* SPECIFY DATA FILE
open data hivprevdata.xls
allocate 0 45
data(format=xls,org=obs) 1 45 hivprev literacy
table
print
* ESTIMATE THE MODEL BY OLS 
linreg(print) hivprev 1 45 resid
# constant literacy
prj fitted
table
print

    Source: geocities.com/timessquare/castle/8640

               ( geocities.com/timessquare/castle)                   ( geocities.com/timessquare)