Optimizing sum of squared series

37 Views Asked by At

Suppose I have a matrix $X$ where each column is a particular random series. I would like to find a weight vector $w^{T}$ so that $\sum_{i} (w^{T}x_{i})^{2}$ is maximal where $x_{i}$ is the $i$th column of $X$. How can I solve a problem like this? The coefficients of the vector should sum to 1.