;Task: Given a set of data vectors in the following format: y = \{ y_1, y_2, ..., y_n \}\, X_i = \{ x_{i1}, x_{i2}, ..., x_{in} \}, i \in 1..k\, Compute the vector \beta = \{ \beta_1, \beta_2, ..., \beta_k \} using [[wp:Ordinary least squares|ordinary least squares]] regression using the following equation: y_j = \Sigma_i \beta_i \cdot x_{ij} , j \in 1..n You can assume y is given to you as a vector (a one-dimensional array), and X is given to you as a two-dimensional array (i.e. matrix).