The RSREG Procedure

WEIGHT Statement

WEIGHT variable ;

When a WEIGHT statement is specified, a weighted residual sum of squares

\[  \sum _ i w_ i (y_ i - \hat{y}_ i)^2  \]

is minimized, where $w_ i$ is the value of the variable specified in the WEIGHT statement, $y_ i$ is the observed value of the response variable, and $\hat{y}_ i$ is the predicted value of the response variable.

The observation is used in the analysis only if the value of the WEIGHT statement variable is greater than zero. The WEIGHT statement has no effect on degrees of freedom or number of observations. If the weights for the observations are proportional to the reciprocals of the error variances, then the weighted least squares estimates are best linear unbiased estimators (BLUE).