misaem
is a package to perform linear regression and logistic regression with missing data, under MCAR (Missing completely at random) and MAR (Missing at random) mechanisms. The covariates are assumed to be continuous variables. The methodology implemented is based on maximization of the observed likelihood using EM-types of algorithms. The package includes:
Now you can install the package misaem from CRAN.
{r}
install.packages("misaem")
Basically,
miss.glm
is the main function performing logistic regression with missing values.miss.lm
is the main function performing linear regression with missing values.For more details, You can find the vignette, which illustrate the basic and further usage of misaem package:
{r}
library(misaem)
vignette('misaem')
Logistic Regression with Missing Covariates -- Parameter Estimation, Model Selection and Prediction (2020, Jiang W., Josse J., Lavielle M., TraumaBase Group), Computational Statistics & Data Analysis.
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.