Estimation Linear Regression model via Steepest Descend method Output: [list] Beta paraameters estimated
1 | betahat_SD_Cpp(beta, X, Y, tolerance, maxit)
|
beta |
[numeric] vector containing an initial guess for the beta vector |
X |
[numeric] design matrix |
Y |
[numeric] response variable vector |
tolerance |
[numeric] tolerance level, stopping criteria of the algorithm (error<tolerance: stop) |
maxit |
[numeric] maximum number of iterations, used if the stopping criteria is never matched |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.