Skip to contents

Fit inlamemi model

fit_inlamemi()
Fit model for measurement error and missing data in INLA

Datasets

framingham
Framingham heart study data
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
mar_data
Simulated data with observation missing at random (MAR)

Summary, plot, etc.

summary(<inlamemi>) print(<summary.inlamemi>)
Summary method for inlamemi
plot(<inlamemi>)
Plot model summary
show_data_structure()
Visualize the model data structure as matrices

Under the hood functions

Functions called by the model fitting function and the summary/print functions. In some cases, they may be useful to call directly.

extract_random_effects()
Extract random effects from formula
extract_variables_from_formula()
Extract and group variables from formulas
make_inlamemi_control.family()
Make "control.family" argument for passing to the "inla" function
make_inlamemi_families()
Make vector of likelihood families
make_inlamemi_formula()
Make formula for measurement error and missing data model
make_inlamemi_scaling_vector()
Construct scaling vector to scale the precision of correctly observed observations
make_inlamemi_stacks()
Make data stacks for joint model specification in INLA
inla_survival_families()
List the survival likelihoods in INLA
simplify_inlamemi_model_summary()
Simplify the "raw" model summary for printing and plotting