{
  "_id": "6a12bde9acfb0bcc41d1cc2c",
  "Package": "rmpw",
  "Version": "0.0.6",
  "Date": "2025-11-14",
  "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",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 08:56:23 UTC",
    "User": "root"
  },
  "Author": "Xu Qin [aut, cre], Guanglei Hong [aut], Fan Yang [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-11-17 16:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/rmpw",
  "RemoteRef": "HEAD",
  "RemoteSha": "15bb63b09e37b3090ab4bda4bc7e39b9c07ae60d",
  "MD5sum": "7a5a63fb89d6105a7e9a6c19d103d271",
  "_user": "cran",
  "_type": "src",
  "_file": "rmpw_0.0.6.tar.gz",
  "_fileid": "0df1d8766ec018f56d86a9f4ab6a41e6930a6bc5ee52f1b403e7a43196d384fe",
  "_filesize": 125394,
  "_sha256": "0df1d8766ec018f56d86a9f4ab6a41e6930a6bc5ee52f1b403e7a43196d384fe",
  "_created": "2026-05-24T08:56:23.000Z",
  "_published": "2026-05-24T08:59:21.426Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77585232696,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183837434"
    },
    {
      "job": 77585232699,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183840309"
    },
    {
      "job": 77585091110,
      "time": 150,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183823651"
    },
    {
      "job": 77585232690,
      "time": 83,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183833011"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26356864735",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/rmpw",
  "_commit": {
    "id": "15bb63b09e37b3090ab4bda4bc7e39b9c07ae60d",
    "author": "Xu Qin <xuqin@uchicago.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.6\n",
    "time": 1763395802
  },
  "_maintainer": {
    "name": "Xu Qin",
    "email": "xuqin@uchicago.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "gtools",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.0.6",
      "date": "2025-11-17"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rmpw"
  },
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/rmpw.html",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_exports": [
    "rmpw",
    "sensitivity",
    "sensitivity.plot"
  ],
  "_datasets": [
    {
      "name": "Riverside",
      "title": "NEWWS Riverside data",
      "object": "Riverside",
      "file": "Riverside.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "trunc_dep12sm2",
        "emp",
        "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": [
    "gtools",
    "MASS"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "rmpw",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.6",
      "date": "2026-05-24T08:58:27.000Z",
      "distro": "noble",
      "commit": "15bb63b09e37b3090ab4bda4bc7e39b9c07ae60d",
      "fileid": "05171973438a7f1321989b9ca63ddde6f6887cada292c89c777cc56b4e7ab151",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26356864735"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.6",
      "date": "2026-05-24T08:58:55.000Z",
      "distro": "noble",
      "commit": "15bb63b09e37b3090ab4bda4bc7e39b9c07ae60d",
      "fileid": "16c239bc8719608857315799c0e98dd63b5516a2a3bd7490a559508da3ab05d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26356864735"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.6",
      "date": "2026-05-24T08:58:02.000Z",
      "commit": "15bb63b09e37b3090ab4bda4bc7e39b9c07ae60d",
      "fileid": "64148f7d24210d962cc7bd88547f6dce31fc69707db3c86654ed6f0c32e4de5e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26356864735"
    }
  ]
}