{
  "_id": "6a17f34eacfb0bcc41da7eaf",
  "Package": "unvs.med",
  "Title": "A Universal Approach for Causal Mediation Analysis",
  "Version": "1.1.0",
  "Date": "2026-01-27",
  "Authors@R": "c(person(given = \"Tianbao\", family = \"Zhou\", role = c(\"aut\", \"cre\"),\nemail = \"michaelzhou@buaa.edu.cn\"),\nperson(\"Xinghao\", \"Li\", role=\"aut\", email=\"lixinghao@bjfu.edu.cn\"),\nperson(\"Lin\", \"Liu*\", role=\"aut\", email=\"liulin@pku.edu.cn\"))",
  "Description": "This program realizes a universal estimation approach that\naccommodates multi-category variables and effect scales, making\nup for the deficiencies of the existing approaches when dealing\nwith non-binary exposures and complex models. The estimation\nvia bootstrapping can simultaneously provide results of causal\nmediation on risk difference (RD), odds ratio (OR) and risk\nratio (RR) scales with tests of the effects' difference. The\nestimation is also applicable to many other settings, e.g.,\nmoderated mediation, inconsistent covariates, panel data, etc.\nThe high flexibility and compatibility make it possible to\napply for any type of model, greatly meeting the needs of\ncurrent empirical researches.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.2",
  "Config/build/clean-install": "true",
  "Config/check/use_internal_timestamps": "true",
  "Packaged": {
    "Date": "2026-05-28 07:45:39 UTC",
    "User": "root"
  },
  "Author": "Tianbao Zhou [aut, cre], Xinghao Li [aut], Lin Liu* [aut]",
  "Maintainer": "Tianbao Zhou <michaelzhou@buaa.edu.cn>",
  "Repository": "https://michaelzhou2000.r-universe.dev",
  "Date/Publication": "2026-01-27 09:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/unvs.med",
  "RemoteRef": "HEAD",
  "RemoteSha": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
  "MD5sum": "3138540530eb51ff709509dad0fdf048",
  "_user": "michaelzhou2000",
  "_type": "src",
  "_file": "unvs.med_1.1.0.tar.gz",
  "_fileid": "146be746974ccc3fa4d5ae9e4499b86a2baf7332c624640fbe83d5c389c8f3a0",
  "_filesize": 194821,
  "_sha256": "146be746974ccc3fa4d5ae9e4499b86a2baf7332c624640fbe83d5c389c8f3a0",
  "_created": "2026-05-28T07:45:39.000Z",
  "_published": "2026-05-28T07:48:30.331Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78246396639,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7260437274"
    },
    {
      "job": 78246396663,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260445632"
    },
    {
      "job": 78246396597,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7260438757"
    },
    {
      "job": 78246396657,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260433924"
    },
    {
      "job": 78245980777,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260401782"
    },
    {
      "job": 78246396645,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260433774"
    },
    {
      "job": 78246396726,
      "time": 120,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7260440241"
    },
    {
      "job": 78246396690,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7260425553"
    },
    {
      "job": 78246396676,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260429158"
    }
  ],
  "_buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/unvs.med",
  "_commit": {
    "id": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
    "author": "Tianbao Zhou <michaelzhou@buaa.edu.cn>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1769505602
  },
  "_maintainer": {
    "name": "Tianbao Zhou",
    "email": "michaelzhou@buaa.edu.cn",
    "login": "michaelzhou2000",
    "description": "",
    "uuid": 213566758
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Depends"
    },
    {
      "package": "snowfall",
      "role": "Depends"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "ordinal",
      "role": "Suggests"
    },
    {
      "package": "pglm",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-06-04"
    },
    {
      "name": "1.1.0",
      "date": "2026-01-27"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "michaelzhou2000",
      "count": 2,
      "uuid": 213566758
    }
  ],
  "_userbio": {
    "uuid": 213566758,
    "type": "user",
    "name": "MichaelZhou2000"
  },
  "_downloads": {
    "count": 140,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/unvs.med"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_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/unvs.med.html",
    "manual.pdf"
  ],
  "_realowner": "michaelzhou2000",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-06-04"
    },
    {
      "version": "1.1.0",
      "date": "2026-01-27"
    }
  ],
  "_exports": [
    "BootEstimation_for",
    "BootEstimation_MT",
    "cond_cov",
    "confirmingX",
    "FormalEstmed",
    "ident_M_type",
    "ident_Y_type",
    "potentialoutcome_facX",
    "potentialoutcome_numX",
    "SingleEstimation",
    "Statistics",
    "um.test1",
    "um.test2"
  ],
  "_datasets": [
    {
      "name": "testdata",
      "title": "Test Dataset for Causal Mediation Analysis",
      "object": "testdata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exp",
        "exp2",
        "exp3",
        "med",
        "out",
        "out2",
        "C1",
        "C2",
        "C3"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BootEstimation_for",
      "title": "Bootstrapping Estimation for Causal Mediation Effects via Ordinary \"for\" Loop",
      "topics": [
        "BootEstimation_for"
      ]
    },
    {
      "page": "BootEstimation_MT",
      "title": "Bootstrapping Estimation for Causal Mediation Effects via Multi-threading Process",
      "topics": [
        "BootEstimation_MT"
      ]
    },
    {
      "page": "cond_cov",
      "title": "Modifications of Data and Models for Moderated Mediation",
      "topics": [
        "cond_cov"
      ]
    },
    {
      "page": "confirmingX",
      "title": "Confirmation of the Exposure",
      "topics": [
        "confirmingX"
      ]
    },
    {
      "page": "FormalEstmed",
      "title": "Formal Estimation for Causal Mediation Effects (The Main Function)",
      "topics": [
        "FormalEstmed"
      ]
    },
    {
      "page": "ident_M_type",
      "title": "Identification of Mediator's type",
      "topics": [
        "ident_M_type"
      ]
    },
    {
      "page": "ident_Y_type",
      "title": "Identification of Outcome's type",
      "topics": [
        "ident_Y_type"
      ]
    },
    {
      "page": "plot.unvs.med",
      "title": "Visualization of Mediation Effects",
      "topics": [
        "plot.unvs.med"
      ]
    },
    {
      "page": "potentialoutcome_facX",
      "title": "Estimation of Potential Outcomes Based on the Universal Approach (for factor Exposure)",
      "topics": [
        "potentialoutcome_facX"
      ]
    },
    {
      "page": "potentialoutcome_numX",
      "title": "Estimation of Potential Outcomes Based on the Universal Approach (for Numeric Exposure)",
      "topics": [
        "potentialoutcome_numX"
      ]
    },
    {
      "page": "SingleEstimation",
      "title": "Single-time Estimation for Causal Mediation Effects",
      "topics": [
        "SingleEstimation"
      ]
    },
    {
      "page": "Statistics",
      "title": "Statistics of Estimated Value of Causal Mediation Effects",
      "topics": [
        "Statistics"
      ]
    },
    {
      "page": "summary.unvs.med",
      "title": "Summary of Formal Estimation for Causal Mediation Effects",
      "topics": [
        "summary.unvs.med"
      ]
    },
    {
      "page": "testdata",
      "title": "Test Dataset for Causal Mediation Analysis",
      "topics": [
        "testdata"
      ]
    },
    {
      "page": "um.test1",
      "title": "Test of Mediation Effects Within One Single Object",
      "topics": [
        "um.test1"
      ]
    },
    {
      "page": "um.test2",
      "title": "Test of Mediation Effects Between Two Objects",
      "topics": [
        "um.test2"
      ]
    }
  ],
  "_readme": "https://github.com/cran/unvs.med/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "snow",
    "snowfall"
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "unvs.med",
  "_universes": [
    "michaelzhou2000"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:35.000Z",
      "distro": "noble",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "04a121ff032901eae40176ca86855626f69f7682ec2ead8bc9dfc83bd8fbd451",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:59.000Z",
      "distro": "noble",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "29dbc2e846599ca32ad3d31933c453151283f8621c17bbf54ea3f607cc8e878b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:44.000Z",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "a24d85993c84f01ef641f67a615146271e2c0dc19f85adb1977487444add31d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:28.000Z",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "f6f709c085d0bd77e0b6f2cb1627b3915132eff9a62f4f4df457ee9fd8bea452",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:37.000Z",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "327503d45be1d74de775c9ca620d7a27aac5288c28086b4cfecbc1ae320f5a72",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:38.000Z",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "5c4c3783026d87e45fc1b99a90adc438b239e934e3a578fb70339e9bff08db6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-28T07:46:54.000Z",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "1c18968aee83d735779bb11c43433809dd58db16603d422a80ba25a04bd782e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-28T07:47:05.000Z",
      "commit": "a761e05610afb9538f1b9a311e20fb7c1b582b1d",
      "fileid": "611c4ed9f7112e80666f4332757c0e67bc22a9e8ac61df806f749d3bdcc33c12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelzhou2000/actions/runs/26561667169"
    }
  ]
}