\(\DeclarePairedDelimiterX{\Set}[2]{\{}{\}}{#1 \nonscript\;\delimsize\vert\nonscript\; #2}\) \( \DeclarePairedDelimiter{\set}{\{}{\}}\) \( \DeclarePairedDelimiter{\parens}{\left(}{\right)}\) \(\DeclarePairedDelimiterX{\innerproduct}[1]{\langle}{\rangle}{#1}\) \(\newcommand{\ip}[1]{\innerproduct{#1}}\) \(\newcommand{\bmat}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\barray}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\mat}[1]{\begin{matrix}#1\end{matrix}}\) \(\newcommand{\pmat}[1]{\begin{pmatrix}#1\end{pmatrix}}\) \(\newcommand{\mathword}[1]{\mathop{\textup{#1}}}\)
Needs:
Weighted Least Squares Linear Regressors
Needed by:
None.
Links:
Sheet PDF
Graph PDF

Norm Weighted Least Squares Linear Regressors

Why

What is the best linear predictor if we choose according to a particular norm.

Definition

Suppose we have a paired dataset of $n$ records with inputs in $\R ^d$ and outputs in $\R $. A norm weighted least squares linear predictor for a norm $g: \R ^n \to \R $ is a linear transformation $f: \R ^d \to \R $ (the field is $\R $) which minimizes

\[ g(y - Ax). \]

Weight matrix

Let $\norm{\cdot }_{W}$ be the weighted norm for some positive semidefinite weight matrix $W$. We want to find $x$ to minimize

\[ \norm{y - AX}_{W}. \]

This problem is referred to by many authors as weighted least squares or the weighted least squares problem.

Diagonal weight matrix

A special case of norm weighted least squares with a weighted norm is the usual weighted least squares problem (see Weighted Least Squares Linear Predictors). Consider weighted least squares with weights $w \in \R ^n$, $w \geq 0$. Define $W \in \R ^{n \times n}$ so that $W_{ii} = w_i$ and $W_{ij} = 0$ when $i \neq j$. So, in particular, $W$ is a diagonal matrix and

\[ \norm{y - Ax}_{W} = \sum_{i = 1}^{n} w_i(y_i - \transpose{x}a_i)^2. \]

Solution

There exists a unique weighted least squares linear predictor and its parameters are given by

\[ \inv{(\transpose{A}WA)}\transpose{A}Wy. \]

Copyright © 2023 The Bourbaki Authors — All rights reserved — Version 13a6779cc About Show the old page view