NOTE: This page has been delinked. It is no longer being maintained,
and information on this page may be out of date.
Because this page has been delinked, we cannot not answer questions regarding this page.

The first examples use the file CSDATA.

use http://www.ats.ucla.edu/stat/stata/examples/mm/webdata/csdata, clear

Figure 11.4, page 722 shows a regression predicting gpa
from hsmhss and hse. We can get these
results in Stata using the regress command. Note that the dependent
variable (gpa) comes first, followed by the predictors (hsmhss and hse). In Stata, the intercept is labeled _cons
(for constant) and appears at the end of the list of variables, in contrast to SAS where
the constant appears first. If you would like to see an example where the output of the regress
command is explained,
see Annotated Output.