statable Statistics for study and research

Should precise values count more? (weighted regression, precision weights)

In brief

Should more precise values count more? Weighted regression (precision weights) gives precise values more weight. It fits when the target is a number and the values differ in precision, such as means from groups of different sizes.

How it works in Statable

  1. "New analysis", then choose the card "Can something be predicted?".
  2. Choose the target column and the predictor columns.
  3. "More options" → "Model" → "Linear with precision weights", then choose the column with the weights.
  4. A weight of 0 leaves the row out; a negative or missing weight blocks the calculation.

Not the same as the case weight

Frequency weights (case weight) count cases and change n. Precision weights say how exact a value is; they do not count cases. n stays the number of rows with a weight above 0. Both at the same time is not possible; Statable says so in a sentence.

What the table looks like

One row per case, a target column with numbers, predictor columns and a column with the weights. A weight of 0 leaves the row out; the number is shown in the result. A negative or missing weight blocks the calculation.

Reading the result

Trap: weights from the same data

The weights must come from knowledge about the measurement precision (for example from the group size or a known spread). Weights that are estimated from the residuals of the same data make the standard errors too small.

Requirements and limits

Reporting the result

weighted, R² = .70, F(1, 48) = 110.7, p < .001

Typical examples

For specialists

R (stats): lm(y ~ x, weights = w). A weight of 0 drops out, the degrees of freedom count only rows with w > 0. Checked on cars with w = 1/speed, also with two zero weights, against SPSS.

Related

Open in Statable