On entry: if weighted estimates are required then
wt must contain the weights to be used in the weighted regression. Otherwise
wt need not be defined and may be set to the null pointer
NULL, i.e.,
(double *)0. Usually
will be an integral value corresponding to the number of observations associated with the
th data point, or zero if the
th data point is to be ignored. The sum of the weights therefore represents the effective total number of observations used to create the regression line. If
, then the effective number of observations is
.