Package: inlamemi 1.1.0

inlamemi: Missing Data and Measurement Error Modelling in INLA

Facilitates fitting measurement error and missing data imputation models using integrated nested Laplace approximations, according to the method described in Skarstein, Martino and Muff (2023) <doi:10.1002/bimj.202300078>. See Skarstein and Muff (2024) <doi:10.48550/arXiv.2406.08172> for details on using the package.

Authors:Emma Skarstein [cre, aut, cph], Stefanie Muff [aut]

inlamemi_1.1.0.tar.gz
inlamemi_1.1.0.zip(r-4.7-any)inlamemi_1.1.0.zip(r-4.6-any)inlamemi_1.1.0.zip(r-4.5-any)
inlamemi_1.1.0.tgz(r-4.6-any)inlamemi_1.1.0.tgz(r-4.5-any)
inlamemi_1.1.0.tar.gz(r-4.7-any)inlamemi_1.1.0.tar.gz(r-4.6-any)
inlamemi_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
inlamemi/json (API)

# Install 'inlamemi' in R:
install.packages('inlamemi', repos = c('https://emmaskarstein.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/emmaskarstein/inlamemi/issues

Pkgdown/docs site:https://emmaskarstein.github.io

Datasets:
  • framingham - Framingham heart study data
  • mar_data - Simulated data with observation missing at random
  • nhanes_survival - Survival data with repeated systolic blood pressure measurements
  • simple_data - Simple simulated data
  • two_error_data - Simulated data with two covariates with classical measurement error

On CRAN:

Conda:

5.12 score 2 stars 19 scripts 353 downloads 12 exports 25 dependencies

Last updated from:018be39fbf. Checks:8 OK, 1 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK169
source / vignettesOK261
linux-releaseOK220
macos-releaseOK125
macos-oldrelERROR175
windows-develOK112
windows-releaseOK119
windows-oldrelOK98
wasm-releaseOK135

Exports:extract_variables_from_formulafit_inlamemiget_coef_impget_coef_misget_coef_moiget_imputedmake_inlamemi_control.familymake_inlamemi_familiesmake_inlamemi_formulamake_inlamemi_scaling_vectormake_inlamemi_stacksshow_data_structure

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr

How to avoid using inlamemi
A short explanation of inla.stack() for hierarchical modelling | Classical and Berkson measurement error and missingness | A model for missing data, missing not at random

Last update: 2024-10-31
Started: 2024-07-05

Influence of systolic blood pressure on coronary heart disease
First example: A logistic regression model with repeated measurements | Second example: Heteroscedastic measurement error and interaction between error variable and error free variable

Last update: 2024-10-31
Started: 2024-03-06

Modifying the default plot

Last update: 2024-10-31
Started: 2024-05-31

Multiple variables with measurement error and missingness

Last update: 2024-10-31
Started: 2024-03-06

Simulated examples
Simple example with missingness and two types of measurement error | Generating the data | Fitting the model | Missing data only | Model without imputation | Model with imputation | Random effect in the main model | Interaction effect with error variable | Logistic regression with classical error and missing data | Poisson regression with classical error and missing data

Last update: 2024-10-31
Started: 2024-03-06

Survival model with repeated systolic blood pressure measurements

Last update: 2024-10-31
Started: 2024-07-05

How are the models structured?
Defining the model: formula + structured data stacks | Structure for a classical measurement error model | $$\underbrace | Structure for Berkson and classical measurement error model | $$\underbrace | Accessing the stacks from the model object | $$\underbrace

Last update: 2024-07-05
Started: 2024-03-06