estimate_missing_glmnet.Rd
estimate_missing_glmnet: a function to estimate a missingness probability using logistic regression
estimate_missing_glmnet(models, data, newdata, weights = NULL, args = NULL)
A model_specification
object
Source data
Data where predictions are required (if NULL then prediction are made in source data)
A vector of observation weights
Additional argument to glmnet
A matrix of estimated missingness probabilities