Learn R Programming

Limit of Detection Multiple Imputation

lodi is a R package that implements censored likelihood multiple imputation (CLMI) for single pollutant models with exposure biomarkers below their respective detection limits. lodi also contains implementations for standard methods such as single imputation with a constant and complete-case analysis, although those methods are primarily designed for comparison with clmi.

Installation

lodi requires rlang >= 0.3.0 to be installed, so you may want to install or update rlang before installing lodi.

The package can be installed from CRAN

install.packages("lodi")

Or from Github

# install.packages("devtools")
devtools::install_github("umich-cphds/lodi", build_opts = c())

The Github version may contain bug fixes not yet present on CRAN, so if you are experiencing issues, you may want to try the Github version of the package.

Example

Once lodi is installed, you can load up R and type

vignete("lodi")

to learn how to use the method.

Bugs

If you encounter a bug, please open an issue on the Issues tab on Github or send us an email.

Contact

For questions or feedback, please email Jonathan Boss at bossjona@umich.edu or Alexander Rix alexrix@umich.edu.

References

Boss J, Mukherjee B, Ferguson KK, et al. Estimating outcome-exposure associations when exposure biomarker detection limits vary across batches. Epidemiology. 2019;30(5):746-755. 10.1097/EDE.0000000000001052

Copy Link

Version

Install

install.packages('lodi')

Monthly Downloads

162

Version

0.9.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Alexander Rix

Last Published

February 7th, 2020

Functions in lodi (0.9.2)

lod_root2

Single pollutant sqrt(2) imputation.
pool.clmi

Calculate pooled estimates from clmi.out objects using Rubin's rules
toy_data

Synthetic toy data for clmi
clmi

Censored Likelihood Multiple Imputation
lod_cca

Single pollutant complete case analysis.