Package: smcfcs 1.9.0

Jonathan Bartlett

smcfcs: Multiple Imputation of Covariates by Substantive Model Compatible Fully Conditional Specification

Implements multiple imputation of missing covariates by Substantive Model Compatible Fully Conditional Specification. This is a modification of the popular FCS/chained equations multiple imputation approach, and allows imputation of missing covariate values from models which are compatible with the user specified substantive model.

Authors:Jonathan Bartlett [aut, cre], Ruth Keogh [aut], Edouard F. Bonneville [aut], Claus Thorn Ekstrøm [ctb]

smcfcs_1.9.0.tar.gz
smcfcs_1.9.0.tar.gz(r-4.5-noble)smcfcs_1.9.0.tar.gz(r-4.4-noble)
smcfcs_1.9.0.tgz(r-4.4-emscripten)smcfcs_1.9.0.tgz(r-4.3-emscripten)
smcfcs.pdf |smcfcs.html
smcfcs/json (API)

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

Peer review:

Bug tracker:https://github.com/jwb133/smcfcs/issues

Datasets:
  • ex_cc - Simulated case cohort data
  • ex_compet - Simulated example data with competing risks outcome and partially observed covariates
  • ex_coxquad - Simulated example data with time to event outcome and quadratic covariate effects
  • ex_dtsam - Simulated discrete time survival data set
  • ex_finegray - Simulated example data with competing risks outcome and partially observed covariates
  • ex_flexsurv - Simulated example data with time-to-event Weibull outcome and two covariates
  • ex_lininter - Simulated example data with continuous outcome and interaction between two partially observed covariates
  • ex_linquad - Simulated example data with continuous outcome and quadratic covariate effects
  • ex_logisticquad - Simulated example data with binary outcome and quadratic covariate effects
  • ex_ncc - Simulated nested case-control data
  • ex_poisson - Simulated example data with count outcome, modelled using Poisson regression

5.78 score 1 packages 62 scripts 2.0k downloads 8 mentions 7 exports 13 dependencies

Last updated 14 days agofrom:10e4ca4889. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-linuxOKNov 08 2024

Exports:smcfcssmcfcs.casecohortsmcfcs.dtsamsmcfcs.finegraysmcfcs.flexsurvsmcfcs.nestedccsmcfcs.parallel

Dependencies:abindbackportsbrglm2checkmateenrichwithlatticeMASSMatrixnnetnumDerivrlangsurvivalVGAM

smcfcs

Rendered fromsmcfcs-vignette.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-06-05
Started: 2015-05-13

smcfcs for covariate measurement error correction

Rendered fromsmcfcs_coverror-vignette.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-06-05
Started: 2019-03-30

Readme and manuals

Help Manual

Help pageTopics
Simulated case cohort dataex_cc
Simulated example data with competing risks outcome and partially observed covariatesex_compet
Simulated example data with time to event outcome and quadratic covariate effectsex_coxquad
Simulated discrete time survival data setex_dtsam
Simulated example data with competing risks outcome and partially observed covariatesex_finegray
Simulated example data with time-to-event Weibull outcome and two covariatesex_flexsurv
Simulated example data with continuous outcome and interaction between two partially observed covariatesex_lininter
Simulated example data with continuous outcome and quadratic covariate effectsex_linquad
Simulated example data with binary outcome and quadratic covariate effectsex_logisticquad
Simulated nested case-control dataex_ncc
Simulated example data with count outcome, modelled using Poisson regressionex_poisson
Assess convergence of a smcfcs objectplot.smcfcs
Substantive model compatible fully conditional specification imputation of covariates.smcfcs
Substantive model compatible fully conditional specification imputation of covariates for case cohort studiessmcfcs.casecohort
Substantive model compatible fully conditional specification imputation of covariates for discrete time survival analysissmcfcs.dtsam
Substantive model compatible fully conditional specification imputation of covariates for a Fine-Gray modelsmcfcs.finegray
Substantive model compatible fully conditional specification imputation of covariates and event times using flexible parametric survival modelssmcfcs.flexsurv
Substantive model compatible fully conditional specification imputation of covariates for nested case control studiessmcfcs.nestedcc
Parallel substantive model compatible imputationsmcfcs.parallel