update meta data

This commit is contained in:
Ingy döt Net 2013-04-11 12:07:39 -07:00
parent f3a896c724
commit 90e15ed6ce
3307 changed files with 1674 additions and 7 deletions

View file

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