Description Usage Arguments Details Examples
View source: R/LinearRegression.R
Notice that this is done by solving the linear system: (X'X) beta = X'Y
1 | betah(X, Y)
|
X |
Design matrix |
Y |
Response vector |
Rather than using a direct method, ie.
beta = (X'X)^(-1)X'Y
We shall instead use a package known as 'pcig' that solves a pre-conditioned conjugate gradient formulation, and is more numerically stable whenever the matrix approaches singularity.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.