Efficient Fitting of Linear and Generalized Linear Models by using just base R. As an alternative to lm() and glm(), this package provides elm() and eglm(), with a significant speedup when the number of observations is larger than the number of parameters to estimate. The speed gains are obtained by reducing the NxP model matrix to a PxP matrix, and the best computational performance is obtained when R is linked against 'OpenBLAS', 'Intel MKL' or other optimized 'BLAS' library. This implementation aims at being compatible with 'broom' and 'sandwich' packages for summary statistics and clustering by providing S3 methods.
Package details |
|
---|---|
Author | Mauricio Vargas [aut, cre] (<https://orcid.org/0000-0003-1017-7574>), Alexey Kravchenko [ths], Constanza Prado [ths], Yoto Yotov [ths], Neal Fulz [rev] (independent code auditing), Rahul Saxena [ctb] (improved broom integration), The United Nations [dtc, cph, fnd] |
Maintainer | Mauricio Vargas <mavargas11@uc.cl> |
License | Apache License (>= 2) |
Version | 0.3.0 |
URL | https://github.com/pachadotdev/eflm/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.