Skip to content

regress

Fit an ordinary, weighted, or generalized least-squares regression.

When to use

How do I model a continuous outcome with linear predictors?

Syntax

regress y x1 x2 [, robust cluster(var) noconstant wls(var) gls(var)]

Examples

regress cost age bmi

See also