weightedSumOfSquares

Gets the weighted sum of squares for observations observed.

Return

A double representing the weighted sum of squares