Fitting Linear and Generalized Linear Models in "Divide and Recombine" Approach to Large Data Sets

To overcome the memory limitations for fitting linear (LM) and Generalized Linear Models (GLMs) to large data sets, this package implements the Divide and Recombine (D&R) strategy. It basically divides the entire large data set into suitable subsets manageable in size and then fits model to each subset. Finally, results from each subset are aggregated to obtain the final estimate. This package also supports fitting GLMs to data sets that cannot fit into memory and provides methods for fitting GLMs under linear regression, binomial regression, Poisson regression, and multinomial logistic regression settings. Respective models are fitted using different D&R strategies as described by: Xi, Lin, and Chen (2009) , Xi, Lin and Chen (2006) , Zuo and Li (2018) , Karim, M.R., Islam, M.A. (2019) .


drglm

CRANstatus Codecov testcoverage R-CMD-check

The package ‘drglm’ can be used to fit Linear and Generalized Linear Models to large as well as out of the memory data sets using “Divide and Recombine (D&R)” strategy. This is the first package in R that supports fitting Multinomial logistic regression models to large data sets in D&R method.

Installation

You can install the development version of drglm from GitHub with:

# install.packages("devtools")
devtools::install_github("NayemMH/drglm")

Example

For practical examples and coding, users are refereed to check the vignettes of the ‘drglm’ paper for better understandings.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("drglm")

1.1 by Md. Mahadi Hassan Nayem, 2 years ago


https://nayemmh.github.io/drglm/


Browse source code at https://github.com/cran/drglm


Authors: Md. Mahadi Hassan Nayem [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports nnet, speedglm, stats

Suggests knitr, rmarkdown, testthat


See at CRAN