Description Usage Arguments Examples
View source: R/glm-first-order.r
This function solves GLM with a first order solution, which avoids the Hessian matrix. Here we could use either a constant step size or a an adaptive step size.
1 | glm_first_order(X, Y, mu_fun, steps, maxit = 10000, tol = 1e-20)
|
X |
data matrix |
Y |
Response vector |
mu_fun |
The inverse of link function |
steps |
the step size. |
maxit |
Default is 10000. The maximum number of iterations. |
tol |
Default is 1e-20. The minimum difference between the old beta and the update beta. |
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.