{
  "_id": "6a1ed4f6b401979e7340e416",
  "Package": "mlumr",
  "Title": "Multilevel Unanchored Meta-Regression for Indirect Treatment\nComparisons",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Ahmad\", \"Sofi-Mahmudi\", , \"a.sofimahmudi@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6829-0823\")),\nperson(\"Conor\", \"Chandler\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1365-9002\")))",
  "Description": "Bayesian multilevel unanchored meta-regression (ML-UMR)\nfor indirect treatment comparisons using individual patient\ndata (IPD) and aggregate data (AgD). Implements shared\nprognostic factor assumption (SPFA) and relaxed SPFA models for\nbinary, continuous, and count outcomes via 'Stan'. Also\nprovides simulated treatment comparison (STC) via parametric\nG-computation and naive unadjusted benchmarks. ML-UMR is an\nadaptation of the ML-NMR methodology (Phillippo et al. 2020,\n<doi:10.1111/rssa.12579>) implemented in the 'multinma' package\n(GPL-3) to the unanchored two-trial case; the public API\ndeliberately mirrors multinma's so users can move between\nML-NMR and ML-UMR with the same workflow.",
  "License": "GPL-3",
  "URL": "https://github.com/choxos/mlumr, https://choxos.github.io/mlumr/",
  "BugReports": "https://github.com/choxos/mlumr/issues",
  "Encoding": "UTF-8",
  "Biarch": "true",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "SystemRequirements": "GNU make",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-20 13:55:28 UTC",
    "User": "root"
  },
  "Author": "Ahmad Sofi-Mahmudi [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6829-0823>), Conor Chandler [aut]\n(ORCID: <https://orcid.org/0000-0002-1365-9002>)",
  "Maintainer": "Ahmad Sofi-Mahmudi <a.sofimahmudi@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-20 08:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/mlumr",
  "RemoteRef": "HEAD",
  "RemoteSha": "5a8d1ccb0a47949e856f0c2f952361a8f45285c2",
  "MD5sum": "a39808dc217f4113e5cc99af5bc53e70",
  "_user": "cran",
  "_type": "src",
  "_file": "mlumr_0.1.0.tar.gz",
  "_fileid": "05936588f36e5341ad8224c87b53a9e90a368057a097df327fd17cc5dc20da1c",
  "_filesize": 604016,
  "_sha256": "05936588f36e5341ad8224c87b53a9e90a368057a097df327fd17cc5dc20da1c",
  "_created": "2026-05-20T13:55:28.000Z",
  "_published": "2026-06-02T13:04:54.052Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79076487935,
      "time": 601,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7112342052"
    },
    {
      "job": 79076488439,
      "time": 616,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7112348911"
    },
    {
      "job": 79076488263,
      "time": 627,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7112352694"
    },
    {
      "job": 79076488465,
      "time": 509,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7112303209"
    },
    {
      "job": 79076486813,
      "time": 932,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7112083397"
    },
    {
      "job": 79076487112,
      "time": 276,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26166581131",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/mlumr",
  "_commit": {
    "id": "5a8d1ccb0a47949e856f0c2f952361a8f45285c2",
    "author": "Ahmad Sofi-Mahmudi <a.sofimahmudi@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1779265802
  },
  "_maintainer": {
    "name": "Ahmad Sofi-Mahmudi",
    "email": "a.sofimahmudi@gmail.com",
    "login": "choxos",
    "twitter": "@asofimahmudi",
    "description": "GNU/Linux Enthusiast, Open Science Advocate",
    "uuid": 6255852,
    "orcid": "0000-0001-6829-0823"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.3.0",
      "role": "Imports"
    },
    {
      "package": "randtoolbox",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "cmdstanr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-05-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "choxos",
      "count": 1,
      "uuid": 6255852
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlumr"
  },
  "_devurl": "https://github.com/choxos/mlumr",
  "_pkgdown": "https://choxos.github.io/mlumr/",
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mlumr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-20"
    }
  ],
  "_exports": [
    "add_integration",
    "calculate_dic",
    "calculate_loo",
    "calculate_waic",
    "check_integration",
    "combine_data",
    "compare_models",
    "conditional_effects",
    "conditional_predict",
    "dbern",
    "default_prior_beta",
    "default_prior_intercept",
    "default_prior_sigma",
    "distr",
    "marginal_effects",
    "mlumr",
    "mlumr_engine",
    "naive",
    "pbern",
    "prior_cauchy",
    "prior_exponential",
    "prior_normal",
    "prior_sensitivity",
    "prior_student_t",
    "prior_summary",
    "qbern",
    "set_agd",
    "set_ipd",
    "stc",
    "unnest_integration"
  ],
  "_help": [
    {
      "page": "add_integration",
      "title": "Add numerical integration points",
      "topics": [
        "add_integration"
      ]
    },
    {
      "page": "calculate_dic",
      "title": "Calculate DIC for model comparison",
      "topics": [
        "calculate_dic"
      ]
    },
    {
      "page": "calculate_loo",
      "title": "Calculate LOO-CV for an mlumr_fit",
      "topics": [
        "calculate_loo"
      ]
    },
    {
      "page": "calculate_waic",
      "title": "Calculate WAIC for an mlumr_fit",
      "topics": [
        "calculate_waic"
      ]
    },
    {
      "page": "check_integration",
      "title": "Check integration point adequacy",
      "topics": [
        "check_integration"
      ]
    },
    {
      "page": "combine_data",
      "title": "Combine IPD and AgD for unanchored comparison",
      "topics": [
        "combine_data"
      ]
    },
    {
      "page": "compare_models",
      "title": "Compare fitted ML-UMR models",
      "topics": [
        "compare_models"
      ]
    },
    {
      "page": "conditional_effects",
      "title": "Conditional treatment effects",
      "topics": [
        "conditional_effects"
      ]
    },
    {
      "page": "conditional_predict",
      "title": "Conditional predictions",
      "topics": [
        "conditional_predict"
      ]
    },
    {
      "page": "dbern",
      "title": "Bernoulli PMF",
      "topics": [
        "dbern"
      ]
    },
    {
      "page": "default_priors",
      "title": "Default priors used by 'mlumr()'",
      "topics": [
        "default_priors",
        "default_prior_beta",
        "default_prior_intercept",
        "default_prior_sigma"
      ]
    },
    {
      "page": "distr",
      "title": "Specify a marginal distribution",
      "topics": [
        "distr"
      ]
    },
    {
      "page": "marginal_effects",
      "title": "Marginal treatment effects",
      "topics": [
        "marginal_effects"
      ]
    },
    {
      "page": "mlumr",
      "title": "Fit ML-UMR Model",
      "topics": [
        "mlumr"
      ]
    },
    {
      "page": "mlumr_engine",
      "title": "Get or Set the Stan Engine",
      "topics": [
        "mlumr_engine"
      ]
    },
    {
      "page": "naive",
      "title": "Naive unadjusted indirect comparison",
      "topics": [
        "naive"
      ]
    },
    {
      "page": "pbern",
      "title": "Bernoulli CDF",
      "topics": [
        "pbern"
      ]
    },
    {
      "page": "predict.mlumr_fit",
      "title": "Predictions from ML-UMR model",
      "topics": [
        "predict.mlumr_fit"
      ]
    },
    {
      "page": "prior_cauchy",
      "title": "Specify a Cauchy prior",
      "topics": [
        "prior_cauchy"
      ]
    },
    {
      "page": "prior_exponential",
      "title": "Specify an exponential prior",
      "topics": [
        "prior_exponential"
      ]
    },
    {
      "page": "prior_normal",
      "title": "Specify a normal prior",
      "topics": [
        "prior_normal"
      ]
    },
    {
      "page": "prior_sensitivity",
      "title": "Prior sensitivity analysis for an ML-UMR fit",
      "topics": [
        "prior_sensitivity"
      ]
    },
    {
      "page": "prior_student_t",
      "title": "Specify a Student-t prior",
      "topics": [
        "prior_student_t"
      ]
    },
    {
      "page": "prior_summary",
      "title": "Summary of priors used by a fitted ML-UMR model",
      "topics": [
        "prior_summary",
        "prior_summary.default",
        "prior_summary.mlumr_fit"
      ]
    },
    {
      "page": "qbern",
      "title": "Bernoulli quantile function",
      "topics": [
        "qbern"
      ]
    },
    {
      "page": "set_agd",
      "title": "Set up aggregate data (AgD)",
      "topics": [
        "set_agd"
      ]
    },
    {
      "page": "set_ipd",
      "title": "Set up individual patient data (IPD)",
      "topics": [
        "set_ipd"
      ]
    },
    {
      "page": "stc",
      "title": "Simulated treatment comparison via G-computation",
      "topics": [
        "stc"
      ]
    },
    {
      "page": "unnest_integration",
      "title": "Expand integration points into a long-format data frame",
      "topics": [
        "unnest_integration"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/mlumr/raw/HEAD/man/figures/logo.png",
  "_rundeps": [
    "abind",
    "ADGofTest",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "copula",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gsl",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "mvtnorm",
    "numDeriv",
    "pcaPP",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "pspline",
    "QuickJSR",
    "R6",
    "randtoolbox",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rngWELL",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "stabledist",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "model-comparison.Rmd",
      "filename": "model-comparison.html",
      "title": "Comparing ML-UMR, STC, and Naive Methods",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why compare methods?",
        "Setup: shared data preparation",
        "Running all three methods",
        "Naive estimate",
        "STC estimate",
        "ML-UMR SPFA",
        "ML-UMR Relaxed",
        "Building a comparison table",
        "Interpreting differences between methods",
        "Naive vs STC",
        "STC vs ML-UMR SPFA",
        "SPFA vs Relaxed",
        "Decision guide: which method to report?",
        "Presenting results",
        "Summary"
      ],
      "created": "2026-05-20 08:30:02",
      "modified": "2026-05-20 08:30:02",
      "commits": 1
    },
    {
      "source": "data-preparation.Rmd",
      "filename": "data-preparation.html",
      "title": "Data Preparation and Integration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Setting up IPD",
        "Continuous outcomes",
        "Count outcomes",
        "Validation",
        "Setting up AgD",
        "AgD for continuous outcomes",
        "AgD for count outcomes",
        "Covariate naming",
        "Continuous covariates",
        "Combining data",
        "Adding integration points",
        "Basic usage",
        "Distribution types",
        "Correlation handling",
        "Inspecting integration points",
        "Notes on STC and naive"
      ],
      "created": "2026-05-20 08:30:02",
      "modified": "2026-05-20 08:30:02",
      "commits": 1
    },
    {
      "source": "mlumr-models.Rmd",
      "filename": "mlumr-models.html",
      "title": "Fitting ML-UMR Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Model specification",
        "Binary outcomes (binomial)",
        "Continuous outcomes (normal)",
        "Count outcomes (Poisson)",
        "Fitting models",
        "Controlling the sampler",
        "Setting priors",
        "Inspecting results",
        "Print and summary",
        "Marginal treatment effects",
        "Absolute predictions",
        "Conditional predictions and effects",
        "Model comparison",
        "MCMC diagnostics",
        "Troubleshooting",
        "Divergent transitions",
        "Slow convergence",
        "Identifiability in Relaxed model"
      ],
      "created": "2026-05-20 08:30:02",
      "modified": "2026-05-20 08:30:02",
      "commits": 1
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to mlumr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "When to use mlumr",
        "Installation",
        "Quick start",
        "Choosing a method"
      ],
      "created": "2026-05-20 08:30:02",
      "modified": "2026-05-20 08:30:02",
      "commits": 1
    },
    {
      "source": "stc-and-naive.Rmd",
      "filename": "stc-and-naive.html",
      "title": "STC and Naive Benchmarks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Naive estimate",
        "Usage",
        "Interpreting the naive estimate",
        "Extreme rates",
        "Simulated Treatment Comparison (STC)",
        "With vs without integration points",
        "Accessing the GLM fit",
        "Delta method variance",
        "Continuous and count outcomes",
        "Comparing all methods",
        "Confidence level",
        "Key differences from ML-UMR"
      ],
      "created": "2026-05-20 08:30:02",
      "modified": "2026-05-20 08:30:02",
      "commits": 1
    },
    {
      "source": "worked-example.Rmd",
      "filename": "worked-example.html",
      "title": "Worked Example: Complete Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scenario",
        "Step 1: Simulate example data",
        "Step 2: Prepare data objects",
        "Step 3: Add integration points",
        "Step 4: Naive estimate (benchmark)",
        "Step 5: STC estimate",
        "Step 6: ML-UMR SPFA model",
        "Step 7: ML-UMR Relaxed model",
        "Step 8: Model comparison",
        "Step 9: Extract and compare results",
        "Step 10: Predicted probabilities",
        "Step 11: Conditional effects at covariate profiles",
        "Interpretation"
      ],
      "created": "2026-05-20 08:30:02",
      "modified": "2026-05-20 08:30:02",
      "commits": 1
    }
  ],
  "_score": 2.778151250383644,
  "_indexed": true,
  "_nocasepkg": "mlumr",
  "_universes": [
    "cran",
    "choxos"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T14:04:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5a8d1ccb0a47949e856f0c2f952361a8f45285c2",
      "fileid": "72febc733116e2303671cc34d30baaea52fd4c237f5263cbab852c18b7564a11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26166581131"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T14:05:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5a8d1ccb0a47949e856f0c2f952361a8f45285c2",
      "fileid": "d27cf26992a1de49801fad19c51c4a032057065f6614d39913ada7c2ae7fea7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26166581131"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T14:05:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5a8d1ccb0a47949e856f0c2f952361a8f45285c2",
      "fileid": "7e6448544e9cad4233306f49a912102d64f2c01d83207bb2cb339e7b5b053e90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26166581131"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T14:04:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5a8d1ccb0a47949e856f0c2f952361a8f45285c2",
      "fileid": "42805f7ab07beb7cb8c053ebc249833d3d27b6fada5a0fdfda91c72286eb368d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26166581131"
    }
  ]
}