{
  "_id": "6a2bf27c3efcd9bda42d05ae",
  "Package": "missingmed",
  "Type": "Package",
  "Title": "Mediation Analysis with Multiple Imputation for Missing Data",
  "Version": "0.2.0",
  "Date": "2026-06-11",
  "Authors@R": "person(\"Davood\", \"Tofighi\",\nemail = \"dtofighi@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment= c(ORCID= \"0000-0001-8523-7776\")\n)",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "data-wise/medfit",
    "RMediation=data-wise/rmediation"
  ],
  "Additional_repositories": "https://data-wise.r-universe.dev",
  "Description": "Provides S4 classes and methods for conducting mediation\nanalysis with multiply imputed datasets. Integrates with the\n'mice' package for multiple imputation and supports structural\nequation modeling (SEM) using either 'lavaan' or 'OpenMx'.\nImplements Rubin's rules for pooling parameter estimates and\nstandard errors across imputations. Designed to work seamlessly\nwith 'RMediation' for computing confidence intervals of\nindirect effects in the presence of missing data.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"rd\",\"collate\",\"namespace\"))",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/Data-Wise/missingmed,\nhttps://data-wise.github.io/missingmed/",
  "BugReports": "https://github.com/Data-Wise/missingmed/issues",
  "Repository": "https://data-wise.r-universe.dev",
  "Date/Publication": "2026-06-12 10:15:55 UTC",
  "RemoteUrl": "https://github.com/Data-Wise/missingmed",
  "RemoteRef": "dev",
  "RemoteSha": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-12 11:45:58 UTC",
    "User": "root"
  },
  "Author": "Davood Tofighi [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8523-7776>)",
  "Maintainer": "Davood Tofighi <dtofighi@gmail.com>",
  "MD5sum": "d86934aea9203ef80ed0049fc98d4954",
  "_user": "data-wise",
  "_type": "src",
  "_file": "missingmed_0.2.0.tar.gz",
  "_fileid": "df2598b5711b435a0593c0bb8e92c6457ee316cb21cd48662e68155caddccc49",
  "_filesize": 348256,
  "_sha256": "df2598b5711b435a0593c0bb8e92c6457ee316cb21cd48662e68155caddccc49",
  "_created": "2026-06-12T11:45:58.000Z",
  "_published": "2026-06-12T11:50:19.992Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81020864994,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590693286"
    },
    {
      "job": 81020864992,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590697685"
    },
    {
      "job": 81020865002,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590672107"
    },
    {
      "job": 81020864982,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590675987"
    },
    {
      "job": 81020199456,
      "time": 252,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590627365"
    },
    {
      "job": 81020864973,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590679130"
    },
    {
      "job": 81020864985,
      "time": 165,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590684551"
    },
    {
      "job": 81020864974,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590678476"
    },
    {
      "job": 81020864984,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590675169"
    }
  ],
  "_buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/Data-Wise/missingmed",
  "_commit": {
    "id": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
    "author": "Test User <test@example.com>",
    "committer": "Test User <test@example.com>",
    "message": "docs(status): note CLAUDE.md hierarchy audit (clean) + global fix\n\n- Local + global CLAUDE.md audited: 0 errors/warnings, all v0.2.0\n  claims verified against codebase.\n- Fixed stale \"craft only\" claim in global ~/.claude/CLAUDE.md\n  (multi-branch dev pattern now names craft + missingmed).\n\nCo-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>\n",
    "time": 1781259355
  },
  "_maintainer": {
    "name": "Davood Tofighi",
    "email": "dtofighi@gmail.com",
    "login": "data-wise",
    "description": "Data science, R, Python, Statistics, biostatistics, Psychology, and Engineering!",
    "uuid": 1749560,
    "orcid": "0000-0001-8523-7776"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "S7",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "medfit",
      "version": ">= 0.3.1",
      "role": "Imports"
    },
    {
      "package": "RMediation",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "mice",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "version": ">= 0.6-0",
      "role": "Imports"
    },
    {
      "package": "OpenMx",
      "version": ">= 2.13",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "broom",
      "version": ">= 0.7.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    }
  ],
  "_owner": "data-wise",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 4
    },
    {
      "week": "2026-24",
      "n": 15
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-06-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "data-wise",
      "count": 10,
      "uuid": 1749560
    }
  ],
  "_userbio": {
    "uuid": 1749560,
    "type": "user",
    "name": "Davood Tofighi",
    "description": "Data science, R, Python, Statistics, biostatistics, Psychology, and Engineering!"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/missingmed"
  },
  "_devurl": "https://github.com/data-wise/missingmed",
  "_pkgdown": "https://data-wise.github.io/missingmed/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/missingmed.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "fit_model",
    "infer",
    "is_fit",
    "is_lav_syntax",
    "is_pd",
    "is_valid_lav_syntax",
    "lav_mice",
    "MDMediationData",
    "MDMediationFit",
    "MDMediationResult",
    "mx_mice",
    "n_imp",
    "n_imputations",
    "per_imputation_list",
    "pool",
    "pool_sem",
    "run",
    "run_sem",
    "SemResults",
    "set_md_mediation",
    "set_sem",
    "show",
    "summary",
    "tidy"
  ],
  "_help": [
    {
      "page": "fit_model",
      "title": "Fit a Structural Equation Model",
      "topics": [
        "fit_model"
      ]
    },
    {
      "page": "infer",
      "title": "Inference on the indirect effect under multiple imputation",
      "topics": [
        "infer"
      ]
    },
    {
      "page": "is_fit",
      "title": "Determine If a SEM Model Has Been Fitted",
      "topics": [
        "ANY-method",
        "is_fit",
        "is_fit,ANY-method",
        "is_fit,lavaan-method",
        "is_fit,MxModel-method"
      ]
    },
    {
      "page": "is_lav_syntax",
      "title": "Function to check if lavaan model syntax is valid",
      "topics": [
        "is_lavaan",
        "is_lav_syntax"
      ]
    },
    {
      "page": "is_pd",
      "title": "Checks if a matrix object is positive definite",
      "topics": [
        "is_pd",
        "is_pd,matrix-method"
      ]
    },
    {
      "page": "is_valid_lav_syntax",
      "title": "Function to check if lavaan model syntax is valid",
      "topics": [
        "is_valid_lav_syntax",
        "valid_lav_syntax"
      ]
    },
    {
      "page": "lav_mice",
      "title": "Fit SEM Model to Each Dataset in a MIDS Object Without Pooling",
      "topics": [
        "lav_mice"
      ]
    },
    {
      "page": "MDMediationData",
      "title": "MDMediationData: imputed data + mediation specification (S7)",
      "topics": [
        "MDMediationData"
      ]
    },
    {
      "page": "MDMediationFit",
      "title": "MDMediationFit: per-imputation mediation fits (S7)",
      "topics": [
        "MDMediationFit"
      ]
    },
    {
      "page": "MDMediationResult",
      "title": "MDMediationResult: pooled mediation result (S7)",
      "topics": [
        "MDMediationResult"
      ]
    },
    {
      "page": "mx_mice",
      "title": "Fit OpenMx model to multiply imputed datasets",
      "topics": [
        "mx_mice"
      ]
    },
    {
      "page": "n_imp",
      "title": "Get Number of Imputations from a mids Object",
      "topics": [
        "n_imp",
        "n_imp,mids-method"
      ]
    },
    {
      "page": "n_imputations",
      "title": "Number of imputations",
      "topics": [
        "n_imputations"
      ]
    },
    {
      "page": "per_imputation_list",
      "title": "Access the per-imputation mediation fits (for MBCO)",
      "topics": [
        "per_imputation_list"
      ]
    },
    {
      "page": "pool",
      "title": "Pool per-imputation mediation fits with Rubin's rules",
      "topics": [
        "pool"
      ]
    },
    {
      "page": "pool_sem",
      "title": "Pool SEM Analysis Results",
      "topics": [
        "pool_sem",
        "pool_sem,SemResults-method"
      ]
    },
    {
      "page": "PooledSEMResults-class",
      "title": "Pooled SEM Analysis Results Class",
      "topics": [
        "PooledSEMResults",
        "PooledSEMResults-class"
      ]
    },
    {
      "page": "run",
      "title": "Fit the mediation model across imputations",
      "topics": [
        "run"
      ]
    },
    {
      "page": "run_sem",
      "title": "Run a SEM model",
      "topics": [
        "run_sem",
        "run_sem,SemImputedData-method"
      ]
    },
    {
      "page": "SemImputedData",
      "title": "SemImputedData Class",
      "topics": [
        "SemImputedData",
        "SemImputedData-class"
      ]
    },
    {
      "page": "SemResults",
      "title": "SemResults Class",
      "topics": [
        "SemResults",
        "SemResults-class"
      ]
    },
    {
      "page": "set_md_mediation",
      "title": "Set up a mediation analysis with missing data (MI or IPW)",
      "topics": [
        "set_md_mediation"
      ]
    },
    {
      "page": "set_sem",
      "title": "Set up an SEM model with multiply imputed data.",
      "topics": [
        "set_sem",
        "set_sem,mids-method"
      ]
    },
    {
      "page": "show-SemImputedData-method",
      "title": "Show SemImputedData",
      "topics": [
        "show,SemImputedData-method"
      ]
    },
    {
      "page": "summary-SemImputedData-method",
      "title": "Summary Method for SemImputedData Objects",
      "topics": [
        "summary,SemImputedData-method"
      ]
    },
    {
      "page": "tidy_logLik",
      "title": "Creates a data.frame for a log-likelihood object",
      "topics": [
        "tidy.logLik"
      ]
    },
    {
      "page": "tidy_MxModel",
      "title": "Tidy an MxModel Object",
      "topics": [
        "tidy.MxModel"
      ]
    }
  ],
  "_pkglogo": "https://github.com/Data-Wise/missingmed/raw/dev/man/figures/logo.png",
  "_readme": "https://github.com/Data-Wise/missingmed/raw/dev/README.md",
  "_rundeps": [
    "backports",
    "BH",
    "bit",
    "bit64",
    "boot",
    "broom",
    "checkmate",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "digest",
    "dplyr",
    "forcats",
    "foreach",
    "generics",
    "glmnet",
    "glue",
    "haven",
    "hms",
    "iterators",
    "jomo",
    "lattice",
    "lavaan",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "medfit",
    "mice",
    "minqa",
    "mitml",
    "mnormt",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "OpenMx",
    "ordinal",
    "pan",
    "pbivnorm",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "quadprog",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "RMediation",
    "rpart",
    "rpf",
    "S7",
    "shape",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "missingmed.Rmd",
      "filename": "missingmed.html",
      "title": "Getting started with missingmed",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A worked example",
        "1. Specify the mediation model",
        "2. Fit each imputation",
        "3. Pool with Rubin's rules",
        "4. Inference on the indirect effect",
        "Migrating from the S4 API"
      ],
      "created": "2026-06-12 03:23:20",
      "modified": "2026-06-12 03:23:20",
      "commits": 1
    },
    {
      "source": "mbco-mi.Rmd",
      "filename": "mbco-mi.html",
      "title": "MBCO under multiple imputation (D4-stacked)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why MBCO does not commute with Rubin's rules",
        "In practice",
        "References"
      ],
      "created": "2026-06-12 03:23:20",
      "modified": "2026-06-12 03:23:20",
      "commits": 1
    },
    {
      "source": "technical.Rmd",
      "filename": "technical.html",
      "title": "Technical reference: design, contracts, and methodology",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Architecture (S7, four verbs, three classes)",
        "2. Ecosystem contracts",
        "2.1 medfit::MediationData (the fitting contract)",
        "2.2 RMediation (the inference contract)",
        "2.3 Dependency direction (no cycle)",
        "3. The MI estimator and Rubin's rules",
        "4. MBCO under MI: D4-stacking (and why it is hosted here)",
        "4.1 Why MBCO does not commute with Rubin's rules",
        "4.2 D4 combination",
        "4.3 Hosting decision",
        "5. The IPW estimator",
        "5.1 Pipeline",
        "5.2 Weight estimation",
        "5.3 Variance: sandwich vs model",
        "6. Cross-package engineering decisions",
        "7. Design-choice summary",
        "8. References"
      ],
      "created": "2026-06-12 03:23:20",
      "modified": "2026-06-12 03:23:20",
      "commits": 1
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "missingmed",
  "_universes": [
    "data-wise"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-12T11:48:52.000Z",
      "distro": "noble",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "1a1319016e9fe18d29eef82f44e8cb55b8e7522c61dce6d26f2f723be1c89aff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-12T11:49:02.000Z",
      "distro": "noble",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "c6222c190d3e65bfc0fb2f0e60fac908e14b054636c9b675447661fe766c1cb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-12T11:48:07.000Z",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "ee2fffa327e72190ab01be61a7621cc2e372f694fd14020d979e42cf761d5f0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-12T11:47:54.000Z",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "7f9dc498a8310a3cd96dc3f00f7d89cd2f4fd66322bcb884ba99d35fd195dc88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-12T11:49:03.000Z",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "b435ee429507ca3316c062434858919dbefe709fcc892ef750a0703d46a0f6f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-12T11:48:16.000Z",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "1f9720ade96bb7d3e02b630f0959ddb1cfe7b8d80d4270964cf4afe3d70e68a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-12T11:47:59.000Z",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "a6a99a6549dd23dfb40d7c2c518f34eaa9c6a37ebb57647a3305b9173a630988",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-12T11:47:48.000Z",
      "commit": "3569e7ecdaae504b36fc2ba7ca3581e33e01bbd7",
      "fileid": "a2376982337b7c25c85761cca8cd18657a312401d9e47257fb45938069f8a956",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/27413452989"
    }
  ]
}