File:Geometric interpretation of least squares (three observations).png

Original file (4,160 × 3,318 pixels, file size: 756 KB, MIME type: image/png)

Summary

Description
English: This diagram illustrates the geometric interpretation of least squares for fitting a line y = β₁ + β₂x to three data points. The data vector y in ℝ³ is projected onto the column space of the design matrix X = [1 x], producing the fitted values ŷ = Xβ. The residual vector y − ŷ is orthogonal to col(X). The projected vector y∥ shown in the diagram corresponds to the fitted values ŷ, and y⊥ = y − ŷ is the residual vector. Each axis represents the values at the three data points (y₁, y₂, y₃), so each point in ℝ³ corresponds to a vector of data values. The projection onto col(X) corresponds to selecting the line whose predicted values best approximate the data in the least squares sense.
Date
Source Own work
Author Eteri byazrova (GraphMath)

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Least squares as projection of y onto col(X) for three observations; ŷ = Xβ gives fitted values and y − ŷ is the residual.

24 March 2026

773,666 byte

3,318 pixel

4,160 pixel

image/png

eb2c49314764d7ca515bfc2174663dfe864fb535

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:59, 24 March 2026Thumbnail for version as of 16:59, 24 March 20264,160 × 3,318 (756 KB)Eteri byazrovaUploaded own work with UploadWizard

The following page uses this file:

Metadata