{
  "_id": "6abe658599f7aa8c6aa563c4",
  "Package": "rmpw",
  "Version": "0.0.7",
  "Date": "2026-09-30",
  "Title": "Causal Mediation Analysis Using Weighting Approach",
  "Maintainer": "Xu Qin <xuqin@uchicago.edu>",
  "Authors@R": "c(person(given = \"Xu\",\nfamily = \"Qin\",\nrole = c(\"aut\", \"cre\"),\nemail = \"xuqin@uchicago.edu\"),\nperson(given = \"Guanglei\",\nfamily = \"Hong\",\nrole = \"aut\"),\nperson(given = \"Fan\",\nfamily = \"Yang\",\nrole = \"aut\"))",
  "Description": "We implement causal mediation analysis using the methods\nproposed by Hong (2010) and Hong, Deutsch & Hill (2015)\n<doi:10.3102/1076998615583902>. It allows the estimation and\nhypothesis testing of causal mediation effects through ratio of\nmediator probability weights (RMPW). This strategy conveniently\nrelaxes the assumption of no treatment-by-mediator interaction\nwhile greatly simplifying the outcome model specification\nwithout invoking strong distributional assumptions. We also\nimplement a sensitivity analysis by extending the RMPW method\nto assess potential bias in the presence of omitted\npretreatment or posttreatment covariates. The sensitivity\nanalysis strategy was proposed by Hong, Qin, and Yang (2018)\n<doi:10.3102/1076998617749561>.",
  "License": "GPL-2",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 13:48:37 UTC",
    "User": "root"
  },
  "Author": "Xu Qin [aut, cre], Guanglei Hong [aut], Fan Yang [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-01 13:34:06 UTC",
  "RemoteUrl": "https://github.com/cran/rmpw",
  "RemoteRef": "HEAD",
  "RemoteSha": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
  "_user": "cran",
  "_type": "src",
  "_file": "rmpw_0.0.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/1443208b666850889bdb332586d2d6416ac25d52a50ae054a6636962df3ded1b",
  "_filesize": 128289,
  "_sha256": "1443208b666850889bdb332586d2d6416ac25d52a50ae054a6636962df3ded1b",
  "_expires": "2027-01-09T13:52:03.000Z",
  "_created": "2026-10-01T13:48:37.000Z",
  "_published": "2026-10-01T13:52:05.407Z",
  "_jobs": [
    {
      "job": 110400119385,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11167755290"
    },
    {
      "job": 110400119925,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11167276084"
    },
    {
      "job": 110398701230,
      "time": 193,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11167480357"
    },
    {
      "job": 110400119501,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11166444960"
    },
    {
      "job": 110400119596,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11167315893"
    },
    {
      "job": 110400119395,
      "time": 58,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11167595499"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/36871030436",
  "_status": "success",
  "_upstream": "https://github.com/cran/rmpw",
  "_commit": {
    "id": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
    "author": "Xu Qin <xuqin@uchicago.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.7\n",
    "time": 1790861646
  },
  "_maintainer": {
    "name": "Xu Qin",
    "email": "xuqin@uchicago.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "gtools",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Depends"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.0.6",
      "date": "2025-11-17"
    },
    {
      "name": "0.0.7",
      "date": "2026-10-01"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 305,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rmpw"
  },
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/rmpw.html"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2017-02-27"
    },
    {
      "version": "0.0.2",
      "date": "2017-12-21"
    },
    {
      "version": "0.0.3",
      "date": "2018-01-04"
    },
    {
      "version": "0.0.4",
      "date": "2018-07-18"
    },
    {
      "version": "0.0.5",
      "date": "2024-03-06"
    },
    {
      "version": "0.0.6",
      "date": "2025-11-17"
    },
    {
      "version": "0.0.7",
      "date": "2026-10-01"
    }
  ],
  "_exports": [
    "rmpw",
    "sensitivity",
    "sensitivity.plot"
  ],
  "_datasets": [
    {
      "name": "Riverside",
      "title": "NEWWS Riverside data",
      "object": "Riverside",
      "file": "Riverside.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "trunc_dep12sm2",
        "emp",
        "emp_cat",
        "emp_cont",
        "treat",
        "emp_prior",
        "pqtrunc50",
        "pqtrunc51",
        "pqtrunc52",
        "pqtrunc53",
        "pqtrunc30",
        "hispanic",
        "pqtrunc49",
        "nevmar",
        "AFDC3660",
        "pqtrunc25",
        "nohsdip",
        "AFDC0_Y1"
      ],
      "rows": 694,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Riverside",
      "title": "NEWWS Riverside data",
      "topics": [
        "Riverside"
      ]
    },
    {
      "page": "rmpw",
      "title": "Causal Mediation Analysis Using Weighting Approach",
      "topics": [
        "rmpw"
      ]
    },
    {
      "page": "sensitivity",
      "title": "Sensitivity Analysis for Causal Mediation Analysis Using Weighting Approach",
      "topics": [
        "sensitivity"
      ]
    },
    {
      "page": "sensitivity.plot",
      "title": "Sensitivity Analysis Plot for Causal Mediation Analysis Using Weighting Approach",
      "topics": [
        "sensitivity.plot"
      ]
    }
  ],
  "_rundeps": [
    "boot",
    "gtools",
    "MASS"
  ],
  "_score": 1.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "rmpw",
  "_universes": [
    "cran"
  ],
  "_previous": "0.0.6",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7",
      "date": "2026-10-01T13:51:15.000Z",
      "distro": "resolute",
      "commit": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
      "fileid": "https://r2.ropensci.org/9acdf6a1838eebc77e157237572e72fdb4137432f12d73582d940b6b7430977c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36871030436"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.7",
      "date": "2026-10-01T13:51:27.000Z",
      "distro": "resolute",
      "commit": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
      "fileid": "https://r2.ropensci.org/d88b07a20ffb88686cba5eec5a522a47256ab7b46dafc37f64841032c190d439",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36871030436"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.7",
      "date": "2026-10-01T13:51:28.000Z",
      "commit": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
      "fileid": "https://r2.ropensci.org/1a4ca8a707e745e04d684198584044f830d5ba633d4481428272950775095912",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36871030436"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-01T13:50:30.000Z",
      "commit": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
      "fileid": "https://r2.ropensci.org/e6392d2c089005900aac62999b27c9ac3adc2bf808d1906bb640a0cccf20329e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36871030436"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-01T13:49:59.000Z",
      "commit": "6fc729ebbd24dbc3397ba1a94651dfca9cd2f948",
      "fileid": "https://r2.ropensci.org/107dc55b8c3dead9a9f2e1d4c53356b0c542f1175dc15b97470b6cde4d7b4118",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36871030436"
    }
  ]
}