Weight Variable
Use this field to specify the optional variable that indicates the relative weights for a weighted least squares fit.
Weight Variables
If the weight value is proportional to the reciprocal of the variance for each observation, then the weighted estimates are the best linear unbiased estimates (BLUE). Values of the weight variable must be nonnegative. If an observation’s weight is zero, the observation is deleted from the analysis. If a weight is negative or missing, it is set to zero (0), and the observation is excluded from the analysis.
If you specify a Weight Variable, it overrides whatever specification you make for Prior Probabilities / Prevalences. If you have both weights and prior probabilities, multiply them together to form a new weight variable and specify it here.
To Specify a Weight Variable:
8 | Specify the Primary Input SAS Data Set. |
All of the variables in the specified input data set are displayed in the Available Variables field.
8 | Examine the list of available variables. |
8 | Highlight a variable. |
8 | Click to add the highlighted variable to the Weight Variable field. |