{
  "_id": "6a60197614e95619b75d7e9a",
  "Package": "RMediation",
  "Type": "Package",
  "Title": "Mediation Analysis Confidence Intervals",
  "Version": "1.6.1",
  "Date": "2026-06-30",
  "Author": "Davood Tofighi [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8523-7776>)",
  "Maintainer": "Davood Tofighi <dtofighi@gmail.com>",
  "Authors@R": "person(\"Davood\", \"Tofighi\",\nemail = \"dtofighi@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8523-7776\"))",
  "Description": "Computes confidence intervals for nonlinear functions of\nmodel parameters (e.g., product of k coefficients) in\nsingle-level and multilevel structural equation models. Methods\ninclude the distribution of the product, Monte Carlo\nsimulation, and bootstrap methods. It also performs the\nModel-Based Constrained Optimization (MBCO) procedure for\nhypothesis testing of indirect effects. References: Tofighi,\nD., and MacKinnon, D. P. (2011). RMediation: An R package for\nmediation analysis confidence intervals. Behavior Research\nMethods, 43, 692-700. <doi:10.3758/s13428-011-0076-x>; Tofighi,\nD., and Kelley, K. (2020). Improved inference in mediation\nanalysis: Introducing the model-based constrained optimization\nprocedure. Psychological Methods, 25(4), 496-515.\n<doi:10.1037/met0000259>; Tofighi, D. (2020). Bootstrap\nModel-Based Constrained Optimization Tests of Indirect Effects.\nFrontiers in Psychology, 10, 2989.\n<doi:10.3389/fpsyg.2019.02989>.",
  "License": "GPL (>= 3) | file LICENSE",
  "URL": "https://data-wise.github.io/rmediation/,\nhttps://github.com/data-wise/rmediation",
  "BugReports": "https://github.com/data-wise/rmediation/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown, quarto",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-22 01:10:41 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-22 00:12:09 UTC",
  "RemoteUrl": "https://github.com/cran/RMediation",
  "RemoteRef": "HEAD",
  "RemoteSha": "1e1b8a1c14834278f43ca944d997838c2a8887b9",
  "_user": "cran",
  "_type": "src",
  "_file": "RMediation_1.6.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/ec3b9eaab721921673441e74ba3537536e52eef4e651408fea655ac2b2829551",
  "_filesize": 931579,
  "_sha256": "ec3b9eaab721921673441e74ba3537536e52eef4e651408fea655ac2b2829551",
  "_expires": "2026-10-30T01:14:28.000Z",
  "_created": "2026-07-22T01:10:41.000Z",
  "_published": "2026-07-22T01:14:30.745Z",
  "_jobs": [
    {
      "job": 88805849989,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8515308888"
    },
    {
      "job": 88805849946,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8515303857"
    },
    {
      "job": 88805390300,
      "time": 197,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8515254097"
    },
    {
      "job": 88805850001,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8515296831"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29882229808",
  "_status": "success",
  "_upstream": "https://github.com/cran/RMediation",
  "_commit": {
    "id": "1e1b8a1c14834278f43ca944d997838c2a8887b9",
    "author": "Davood Tofighi <dtofighi@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.6.1\n",
    "time": 1784679129
  },
  "_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"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "cubature",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "version": ">= 4.1.0",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "version": ">= 4.1.0",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "version": ">= 0.5-20",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "version": ">= 7.3",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "medfit",
      "version": ">= 0.2.0",
      "role": "Suggests"
    },
    {
      "package": "OpenMx",
      "version": ">= 2.13",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.3.0",
      "date": "2025-11-20"
    },
    {
      "name": "1.5.0",
      "date": "2026-06-20"
    },
    {
      "name": "1.6.1",
      "date": "2026-07-22"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "data-wise",
      "count": 7,
      "uuid": 1749560
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 622,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 735,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RMediation"
  },
  "_mentions": 11,
  "_devurl": "https://github.com/data-wise/rmediation",
  "_pkgdown": "https://data-wise.github.io/rmediation/",
  "_searchresults": 64,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RMediation.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/data-wise/rmediation",
  "_realowner": "data-wise",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2011-02-08"
    },
    {
      "version": "1.1",
      "date": "2011-10-10"
    },
    {
      "version": "1.1.2",
      "date": "2013-09-12"
    },
    {
      "version": "1.1.3",
      "date": "2014-03-07"
    },
    {
      "version": "1.1.4",
      "date": "2016-03-14"
    },
    {
      "version": "1.2.0",
      "date": "2022-07-09"
    },
    {
      "version": "1.2.1",
      "date": "2023-05-03"
    },
    {
      "version": "1.2.2",
      "date": "2023-05-12"
    },
    {
      "version": "1.3.0",
      "date": "2025-11-20"
    },
    {
      "version": "1.5.0",
      "date": "2026-06-20"
    }
  ],
  "_exports": [
    "cdf",
    "ci",
    "ci_mediation_data",
    "ci_serial_mediation_data",
    "dist_quantile",
    "mbco",
    "MBCOResult",
    "medci",
    "medci_prototype",
    "p_prod3",
    "pMC",
    "pprodnormal",
    "pprodnormal3",
    "ProductNormal",
    "ProductNormal2",
    "ProductNormal3",
    "qMC",
    "qprodnormal",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "memory_exp",
      "title": "Memory Experiment Data Description from MacKinnon et al., 2018",
      "object": "memory_exp",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "study",
        "repetition",
        "recall",
        "imagery",
        "x"
      ],
      "rows": 369,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cdf",
      "title": "Cumulative Distribution Function",
      "topics": [
        "cdf"
      ]
    },
    {
      "page": "ci",
      "title": "Confidence Interval",
      "topics": [
        "ci"
      ]
    },
    {
      "page": "ci_mediation_data",
      "title": "Confidence Interval for MediationData Objects",
      "topics": [
        "ci_mediation_data",
        "ci_serial_mediation_data"
      ]
    },
    {
      "page": "dist_quantile",
      "title": "Distribution Quantile Function",
      "topics": [
        "dist_quantile"
      ]
    },
    {
      "page": "mbco",
      "title": "Model-based Constrained Optimization (MBCO) Chi-squared Test",
      "topics": [
        "mbco"
      ]
    },
    {
      "page": "MBCOResult",
      "title": "MBCO Result Class",
      "topics": [
        "MBCOResult"
      ]
    },
    {
      "page": "medci",
      "title": "Confidence Interval for the Mediated Effect",
      "topics": [
        "medci"
      ]
    },
    {
      "page": "memory_exp",
      "title": "Memory Experiment Data Description from MacKinnon et al., 2018",
      "topics": [
        "memory_exp"
      ]
    },
    {
      "page": "pMC",
      "title": "Probability (percentile) for the Monte Carlo Sampling Distribution of a nonlinear function of coefficients estimates",
      "topics": [
        "pMC"
      ]
    },
    {
      "page": "pprodnormal",
      "title": "Percentile for the Distribution of Product of Two Normal Variables",
      "topics": [
        "pprodnormal"
      ]
    },
    {
      "page": "pprodnormal3",
      "title": "Cumulative Distribution Function for the Product of Three Normal Variables",
      "topics": [
        "pprodnormal3",
        "p_prod3"
      ]
    },
    {
      "page": "ProductNormal",
      "title": "ProductNormal Class",
      "topics": [
        "ProductNormal"
      ]
    },
    {
      "page": "ProductNormal2",
      "title": "Enhanced ProductNormal constructor with better validation",
      "topics": [
        "ProductNormal2"
      ]
    },
    {
      "page": "ProductNormal3",
      "title": "ProductNormal3 Class",
      "topics": [
        "ProductNormal3"
      ]
    },
    {
      "page": "qMC",
      "title": "Quantile for the Monte Carlo Sampling Distribution of a nonlinear function of coefficients estimates",
      "topics": [
        "qMC"
      ]
    },
    {
      "page": "qprodnormal",
      "title": "Quantile for the Distribution of Product of Two Normal Variables",
      "topics": [
        "qprodnormal"
      ]
    },
    {
      "page": "tidy",
      "title": "Tidy generic function",
      "topics": [
        "tidy"
      ]
    },
    {
      "page": "tidy_logLik",
      "title": "Creates a data.frame for a log-likelihood object",
      "topics": [
        "tidy.logLik"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/RMediation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/RMediation/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cubature",
    "lavaan",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "quadprog",
    "Rcpp",
    "S7"
  ],
  "_vignettes": [
    {
      "source": "methods-comparison.Rmd",
      "filename": "methods-comparison.html",
      "title": "Comparing Confidence Interval Methods in RMediation",
      "author": "RMediation Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Overview of Methods",
        "Method Comparison",
        "Performance and Accuracy Comparison",
        "When to Use Each Method",
        "Distribution of Product (DOP)",
        "Monte Carlo (MC)",
        "Asymptotic Normal",
        "Working with S7 Classes",
        "Practical Recommendations",
        "Conclusion"
      ],
      "created": "2026-06-20 04:45:13",
      "modified": "2026-07-22 00:12:09",
      "commits": 2
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with RMediation",
      "author": "RMediation Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic Usage",
        "Single Mediator Analysis",
        "Multiple Mediators",
        "Three-Variable Indirect Effects (ProductNormal3)",
        "Using S7 Classes",
        "Available Methods",
        "Integration with Structural Equation Modeling",
        "Validation and Error Handling",
        "Conclusion"
      ],
      "created": "2026-06-20 04:45:13",
      "modified": "2026-07-22 00:12:09",
      "commits": 2
    },
    {
      "source": "serial-mediation-with-medfit.Rmd",
      "filename": "serial-mediation-with-medfit.html",
      "title": "Serial Mediation with medfit",
      "author": "RMediation Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why this vignette",
        "A serial chain from a lavaan fit",
        "The same chain from lm/glm fits",
        "Graceful degradation without medfit",
        "See also"
      ],
      "created": "2026-06-20 04:45:13",
      "modified": "2026-07-22 00:12:09",
      "commits": 2
    }
  ],
  "_score": 6.538573733806856,
  "_indexed": false,
  "_nocasepkg": "rmediation",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://data-wise.r-universe.dev/RMediation",
  "_previous": "1.5.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.1",
      "date": "2026-07-22T01:13:29.000Z",
      "distro": "resolute",
      "commit": "1e1b8a1c14834278f43ca944d997838c2a8887b9",
      "fileid": "https://r2.ropensci.org/a670c785765ba8d02285d496d9c884f11e6e66eca8ce59d6afc07910a7e15517",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29882229808"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.1",
      "date": "2026-07-22T01:13:28.000Z",
      "distro": "resolute",
      "commit": "1e1b8a1c14834278f43ca944d997838c2a8887b9",
      "fileid": "https://r2.ropensci.org/1caa310e92a3be6651acb09b1af641b879e3927e733755428057bb26c1f3fc2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29882229808"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.1",
      "date": "2026-07-22T01:13:30.000Z",
      "commit": "1e1b8a1c14834278f43ca944d997838c2a8887b9",
      "fileid": "https://r2.ropensci.org/8253e980bb73ce92e25b64a7f0f23ea948804ac64363e7ac6b0f7c54a0fafcc9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29882229808"
    }
  ]
}